I am trying to create an itemstack but i am confused about how to say that the wool is pink wool.
The problem also, is that i don’t specifically know if it’s going to be planks, wool, glass, stone etc…
I am trying to create an itemstack but i am confused about how to say that the wool is pink wool.
The problem also, is that i don’t specifically know if it’s going to be planks, wool, glass, stone etc…
Have you tried this?
ItemStack is = ItemStack.of(ItemTypes.WOOL, 1);
is.offer(Keys.DYE_COLOR, DyeColors.LIME);
He’s saying that he wants it done regardless of the value.
ItemStack stack = ItemStack.builder().fromBlockState(state).build();