类 Structure.Palette

  • 所有已实现的接口:
    Iterable<BlockState>
    封闭类:
    Structure

    static class Structure.Palette
    extends Object
    implements Iterable<BlockState>
    Mappings:
    Namespace Name
    official dbu$b
    intermediary net/minecraft/class_3499$class_3500
    named net/minecraft/structure/Structure$Palette
    • 字段详细资料

      • AIR

        public static final BlockState AIR
        Mappings:
        Namespace Name Mixin selector
        official a Ldbu$b;a:Lcjr;
        intermediary field_15590 Lnet/minecraft/class_3499$class_3500;field_15590:Lnet/minecraft/class_2680;
        named AIR Lnet/minecraft/structure/Structure$Palette;AIR:Lnet/minecraft/block/BlockState;
      • ids

        private final IdList<BlockState> ids
        Mappings:
        Namespace Name Mixin selector
        official b Ldbu$b;b:Lgl;
        intermediary field_15591 Lnet/minecraft/class_3499$class_3500;field_15591:Lnet/minecraft/class_2361;
        named ids Lnet/minecraft/structure/Structure$Palette;ids:Lnet/minecraft/util/collection/IdList;
      • currentIndex

        private int currentIndex
        Mappings:
        Namespace Name Mixin selector
        official c Ldbu$b;c:I
        intermediary field_15592 Lnet/minecraft/class_3499$class_3500;field_15592:I
        named currentIndex Lnet/minecraft/structure/Structure$Palette;currentIndex:I
    • 构造器详细资料

      • Palette

        private Palette()
    • 方法详细资料

      • getId

        public int getId​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official a Ldbu$b;a(Lcjr;)I
        intermediary method_15187 Lnet/minecraft/class_3499$class_3500;method_15187(Lnet/minecraft/class_2680;)I
        named getId Lnet/minecraft/structure/Structure$Palette;getId(Lnet/minecraft/block/BlockState;)I
      • getState

        @Nullable
        public @Nullable BlockState getState​(int id)
        Mappings:
        Namespace Name Mixin selector
        official a Ldbu$b;a(I)Lcjr;
        intermediary method_15185 Lnet/minecraft/class_3499$class_3500;method_15185(I)Lnet/minecraft/class_2680;
        named getState Lnet/minecraft/structure/Structure$Palette;getState(I)Lnet/minecraft/block/BlockState;
      • iterator

        public Iterator<BlockState> iterator()
        指定者:
        iterator 在接口中 Iterable<BlockState>
        Mappings:
        Namespace Name Mixin selector
        official iterator Ldbu$b;iterator()Ljava/util/Iterator;
        intermediary iterator Lnet/minecraft/class_3499$class_3500;iterator()Ljava/util/Iterator;
        named iterator Lnet/minecraft/structure/Structure$Palette;iterator()Ljava/util/Iterator;
      • set

        public void set​(BlockState state,
                        int id)
        Mappings:
        Namespace Name Mixin selector
        official a Ldbu$b;a(Lcjr;I)V
        intermediary method_15186 Lnet/minecraft/class_3499$class_3500;method_15186(Lnet/minecraft/class_2680;I)V
        named set Lnet/minecraft/structure/Structure$Palette;set(Lnet/minecraft/block/BlockState;I)V