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$Palette
intermediary net/minecraft/class_3499$class_3500
official enn$b
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BlockState
private int
private final IdList
<BlockState> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getId
(BlockState state) getState
(int id) iterator()
void
set
(BlockState state, int id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
AIR
- Mappings:
Namespace Name Mixin selector named AIR
Lnet/minecraft/structure/StructureTemplate$Palette;AIR:Lnet/minecraft/block/BlockState;
intermediary field_15590
Lnet/minecraft/class_3499$class_3500;field_15590:Lnet/minecraft/class_2680;
official a
Lenn$b;a:Ldta;
-
ids
- Mappings:
Namespace Name Mixin selector named ids
Lnet/minecraft/structure/StructureTemplate$Palette;ids:Lnet/minecraft/util/collection/IdList;
intermediary field_15591
Lnet/minecraft/class_3499$class_3500;field_15591:Lnet/minecraft/class_2361;
official b
Lenn$b;b:Ljs;
-
currentIndex
private int currentIndex- Mappings:
Namespace Name Mixin selector named currentIndex
Lnet/minecraft/structure/StructureTemplate$Palette;currentIndex:I
intermediary field_15592
Lnet/minecraft/class_3499$class_3500;field_15592:I
official c
Lenn$b;c:I
-
-
Constructor Details
-
Palette
Palette()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/structure/StructureTemplate$Palette;getId(Lnet/minecraft/block/BlockState;)I
intermediary method_15187
Lnet/minecraft/class_3499$class_3500;method_15187(Lnet/minecraft/class_2680;)I
official a
Lenn$b;a(Ldta;)I
-
getState
- Mappings:
Namespace Name Mixin selector named getState
Lnet/minecraft/structure/StructureTemplate$Palette;getState(I)Lnet/minecraft/block/BlockState;
intermediary method_15185
Lnet/minecraft/class_3499$class_3500;method_15185(I)Lnet/minecraft/class_2680;
official a
Lenn$b;a(I)Ldta;
-
iterator
- Specified by:
iterator
in interfaceIterable<BlockState>
-
set
- Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/structure/StructureTemplate$Palette;set(Lnet/minecraft/block/BlockState;I)V
intermediary method_15186
Lnet/minecraft/class_3499$class_3500;method_15186(Lnet/minecraft/class_2680;I)V
official a
Lenn$b;a(Ldta;I)V
-