Class WoodType


  • public class WoodType
    extends java.lang.Object
    • Field Detail

      • VALUES

        private static final java.util.Set<WoodType> VALUES
      • 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
      • CRIMSON

        public static final WoodType CRIMSON
      • WARPED

        public static final WoodType WARPED
      • name

        private final java.lang.String name
    • Constructor Detail

      • WoodType

        protected WoodType​(java.lang.String p_i225775_1_)
    • Method Detail

      • values

        public static java.util.stream.Stream<WoodType> values()
      • name

        public java.lang.String name()
      • create

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