Class Template.BasicPalette

  • All Implemented Interfaces:
    java.lang.Iterable<BlockState>
    Enclosing class:
    Template

    static class Template.BasicPalette
    extends java.lang.Object
    implements java.lang.Iterable<BlockState>
    • Constructor Detail

      • BasicPalette

        private BasicPalette()
    • Method Detail

      • idFor

        public int idFor​(BlockState p_189954_1_)
      • stateFor

        @Nullable
        public BlockState stateFor​(int p_189955_1_)
      • iterator

        public java.util.Iterator<BlockState> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<BlockState>
      • addMapping

        public void addMapping​(BlockState p_189956_1_,
                               int p_189956_2_)