#Making a Simple Custom Plant?

10 messages · Page 1 of 1 (latest)

tame peakBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

carmine wasp
#

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 🤔

carmine wasp
#

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 🫤

regal nimbus
carmine wasp
#

😮

tame peakBOT
#

Ticket closed!