ayfri / kore Goto Github PK
View Code? Open in Web Editor NEWA Kotlin library to generate Datapacks for Minecraft Java.
Home Page: https://kore.ayfri.com
License: GNU General Public License v3.0
A Kotlin library to generate Datapacks for Minecraft Java.
Home Page: https://kore.ayfri.com
License: GNU General Public License v3.0
As a Kore enjoyer I'd like to send a cookie/pizza/coffee/diamond to our maintainers as a gesture of gratitude.
Could you add one of those to the project?
You should create/write an contribution guideline.
This is a big feature that might be added one time, but not prioritized as very complex to create.
Simple documentation being added on all methods/classes/properties/typealiases.
Serializers might not be documented if only meant to be used once.
dust_plume
particle type.execute if function
and return run
commands.As there is the asString()
method, serialization is not really needed now.
type
optional enum property.showEntity
method of HoverEvent
also accepts an array of Int
as id parameter.source
property to nbt
chat component.No changes are required.
Using Nexus.
Find a new name, create an icon related to the name and rewrite the parts of the README where the name DatapackDSL
is mentioned.
Adding some functions that will be included in the generated datapack when used to manipulate strings (concatenation/splicing/looping etc).
scoreboard
subcommands changes.This will help a lot of people to understand the concepts of the library and how to use it.
Being able to define any content inside a specific line, only simple text components.
tick
command.Being able to define a list of item stacks inside any container at any slot.
Maybe also adding a way to define a behavior when clicking on the item.
For now, it is only available for tags.
This requires every generator to have a block parameter in the builder function.
No changes are required.
For example move fun Recipes.smoking
to Smoking
file containing the class with the same name.
This is needed because the particle
command arguments can have different usage depending on the particle type you put.
Certain types of particles can even have different states.
This is considered as high priority as it means that the current DSL methods are not totally valid
Source : Fandom
This function wasn't working because Minecraft didn't recognize the archive as a valid file.
Add unit tests for :
I propose to add issue template to this project
We can have this template:
In the exemple code in README.md, the pack
block is outside the datapack. After trying it, I seen that it shouldn't be here.
The pack
block should be in the datapck
Try the code in the exemple and see IDE errors
No response
For example : ItemStack, BlockState, Entity etc.
Using JOML for matrix/quaternions/angles manipulation.
I'm not currently using a coding style where this is an issue, I'll change everything to improve code standards and optimize a bit.
I'm not a fan of having un-prefixed types like just Block
, BlockOrTag
etc, it could lead to bad imports or misunderstanding of the library, maybe just adding the word Argument
is a good idea.
I will work on this when I'm decided.
Tasklist :
execute if function
and return run
functions until they return.For example, DensityFunctions are currently created with the following code:
densityFunction("my_density_function", abs(2.0))
It will be refactored as this:
densityFunction("my_density_function") {
abs(2.0)
}
Maybe investigate if it should throw an error if multiple functions for setting the type are used.
This will allow namespaces to be use simpler as every parameter of the Generator are usable from the lambda.
1.0.0
DSL
I tried to use setEnchantments
item modifier with its builder, but when i tried to add an enchantment to it I noticed that I cant do it. I looked at the source code and seen that in second parameter of function there is a Map
instead of MutableMap
and because of that it's impossible to add any enchantments.
setEnchantments
item modifier to itNo response
Add support for :
Pack.mcmeta
changes (multi-versionning)From this article.
The API will let you create all JSON-related features from Minecraft
Typed tags are just a more strict way to create tags, where the folder of the tag file can only be from the list of tags Minecraft uses.
Add a bunch of useful libraries used by people as external downloadable dependencies.
Feel free to comment with libraries you would want to be added.
tick step
subcommand.return fail
subcommand.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.