#create a new block that inherits properties from another block

17 messages · Page 1 of 1 (latest)

grand horizon
#

as the title says, id like to make a block that is the same as another block in every way except the few differences i explicitly define. is that possible in kubejs? preferably i wouldnt have to write a lot of boilerplate for each new block i make.

digital geyserBOT
#

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

wheat hamlet
#

not on 1.18

#

in 1.19 you can, but the things you can define differently to the base block are limited

grand horizon
#

damn

grand horizon
#

is there a way to print all the stats of a block in my hand? the material, hardness, display name, tags, require tool, and all the other stats it may or may not have defined?

wheat hamlet
#

not really

#

cause a lot of that is programtically determined and can change depending on context (ie player, blocks around it)

grand horizon
#

wtf

#

what about a block im looking at?

wheat hamlet
#

not really either

grand horizon
#

like on right click with a stick or smth?

wheat hamlet
#

you could possibly script it

#

grab that information from the various places you get that information

#

it would be a bunch of using mcs code tho, so not the easiest to make

grand horizon
#

ugh