#Get all wood types and wool colours.

17 messages · Page 1 of 1 (latest)

sturdy rover
#

I need to adapt quite a few recipes that have variant for each wood and also for each wool (think furniture and beds).

I have created a list of woods and the colours manually, but would prefer some way to access them dynamically. Especially if woods get added later on.

sharp plumeBOT
#

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

quasi wind
#

use tags like #minecraft:log

#

replace log in recipe with tag

#

also #forge:wool

#

and use /kubejs hand

sturdy rover
# quasi wind replace log in recipe with tag

I'm not sure I follow. The recipes are variant specific. So the oak table only works when using oak planks, the acacia table recipe only with acacia planks etc. Same with the sleeping bags from comforts. They are dyed so the recipe needs 3 wool of the same colour (same as with vanilla beds).

If I use tags how do I make sure that this mapping of wood variant -> table variant or wool colour -> sleeping bag colour works?

quasi wind
#

well, these recipes now is your fear

#

crafts with variants is not good idea

quaint slate
#

It's Just some more work

quasi wind
quaint slate
#

You can use Ingredient.of("#tag").itemIds to get all items Ina Tag and can then use String Manipulation to get the Wood type or wool color

sturdy rover
abstract aurora
#
'#minecraft:planks'
'#minecraft:wool'
#

oh