Interface DecorationMaterial


public interface DecorationMaterial
Provides some context about the block being decorated.
  • Field Details

    • GENERIC

      static final DecorationMaterial GENERIC
      A material without any special properties.
    • WOOD

      static final DecorationMaterial WOOD
      A material for wood blocks that adds a BlockSetType and a WoodType.
    • NETHER_WOOD

      static final DecorationMaterial NETHER_WOOD
      A material for nether wood blocks that adds a BlockSetType and a WoodType.
    • STONE

      static final DecorationMaterial STONE
      A material for stone blocks that adds a BlockSetType.
    • IRON

      static final DecorationMaterial IRON
      A material for metal blocks that adds a BlockSetType.
    • COPPER

      static final DecorationMaterial COPPER
      A material for copper blocks that adds a BlockSetType.
  • Method Details

    • isWood

      boolean isWood()
      Gets whether the block is a wood block.
    • isStone

      boolean isStone()
      Gets whether the block is a stone block.
    • isMetal

      boolean isMetal()
      Gets whether the block is a metal block.
    • init

      DecorationMaterial.MaterialProperties init(net.minecraft.resources.ResourceLocation id)
      Initialises some material properties.
      Parameters:
      id - The id of the DecoratedBlock.