#Making a Simple Custom Plant?
10 messages · Page 1 of 1 (latest)
I believe points 1 and 3 are handled via block-tag, I think "minecraft:replaceable_plants".
So you could write a server script like this:
ServerEvents.tags("block", (event) => {
event.add("minecraft:replaceable_plants", "kubejs:jungle_grass");
});
Not sure about placeing restrictions, might be a tag aswell 🤔
Oh, sorry, didn't notice the 1.20 tag, might be different syntax, I#ve only done stuff in 1.19
I mean it's a custom block, so you could also just add the tag on block creation, so just add .tagBlock("minecraft:replaceable_plants")
to your event.create
If the tag is indeed the right way that is 😅
You kinda tried something similar with .tagBlock("replaceable") but tags always have namespaces
Hmm, I wonder what that tag is for then 🤔
I'm pretty sure that tagging is the right solution, but I can't find any other minecraft block tags that sound like they fit, sorry 🫤
you are using basic block, not the plant
event.create("mycrop", "crop")
😮
Ticket closed!