Package net.minecraft.structure
Class StructureTemplate.Palette
java.lang.Object
net.minecraft.structure.StructureTemplate.Palette
- All Implemented Interfaces:
Iterable<BlockState>
- Enclosing class:
StructureTemplate
- Mappings:
Namespace Name named net/minecraft/structure/StructureTemplate$Paletteintermediary net/minecraft/class_3499$class_3500official fhk$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockStateprivate intprivate final IdList<BlockState> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId(BlockState state) getState(int id) iterator()voidset(BlockState state, int id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
AIR
- Mappings:
Namespace Name Mixin selector named AIRLnet/minecraft/structure/StructureTemplate$Palette;AIR:Lnet/minecraft/block/BlockState;intermediary field_15590Lnet/minecraft/class_3499$class_3500;field_15590:Lnet/minecraft/class_2680;official aLfhk$c;a:Lemh;
-
ids
- Mappings:
Namespace Name Mixin selector named idsLnet/minecraft/structure/StructureTemplate$Palette;ids:Lnet/minecraft/util/collection/IdList;intermediary field_15591Lnet/minecraft/class_3499$class_3500;field_15591:Lnet/minecraft/class_2361;official bLfhk$c;b:Ljp;
-
currentIndex
private int currentIndex- Mappings:
Namespace Name Mixin selector named currentIndexLnet/minecraft/structure/StructureTemplate$Palette;currentIndex:Iintermediary field_15592Lnet/minecraft/class_3499$class_3500;field_15592:Iofficial cLfhk$c;c:I
-
-
Constructor Details
-
Palette
Palette()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/structure/StructureTemplate$Palette;getId(Lnet/minecraft/block/BlockState;)Iintermediary method_15187Lnet/minecraft/class_3499$class_3500;method_15187(Lnet/minecraft/class_2680;)Iofficial aLfhk$c;a(Lemh;)I
-
getState
- Mappings:
Namespace Name Mixin selector named getStateLnet/minecraft/structure/StructureTemplate$Palette;getState(I)Lnet/minecraft/block/BlockState;intermediary method_15185Lnet/minecraft/class_3499$class_3500;method_15185(I)Lnet/minecraft/class_2680;official aLfhk$c;a(I)Lemh;
-
iterator
- Specified by:
iteratorin interfaceIterable<BlockState>
-
set
- Mappings:
Namespace Name Mixin selector named setLnet/minecraft/structure/StructureTemplate$Palette;set(Lnet/minecraft/block/BlockState;I)Vintermediary method_15186Lnet/minecraft/class_3499$class_3500;method_15186(Lnet/minecraft/class_2680;I)Vofficial aLfhk$c;a(Lemh;I)V
-