Class WoodType


public class WoodType extends Object
  • Field Details

    • VALUES

      private static final Set<WoodType> VALUES
    • OAK

      public static final WoodType OAK
    • SPRUCE

      public static final WoodType SPRUCE
    • BIRCH

      public static final WoodType BIRCH
    • ACACIA

      public static final WoodType ACACIA
    • JUNGLE

      public static final WoodType JUNGLE
    • DARK_OAK

      public static final WoodType DARK_OAK

      public static final WoodType CRIMSON
    • WARPED

      public static final WoodType WARPED
    • name

      private final String name
  • Constructor Details

    • WoodType

      protected WoodType(String p_i225775_1_)
  • Method Details

    • register

      public static WoodType register(WoodType p_227047_0_)
    • values

      public static Stream<WoodType> values()
    • name

      public String name()
    • create

      public static WoodType create(String name)
      Use this to create a new WoodType. Make sure to register its rendering by enqueuing Atlases.addWoodType(...) during client setup..