Package net.minecraft.test
Class TestStructurePlacer
java.lang.Object
net.minecraft.test.TestStructurePlacer
- All Implemented Interfaces:
TestRunContext.TestStructureSpawner
- Mappings:
Namespace Name named net/minecraft/test/TestStructurePlacer
intermediary net/minecraft/class_9120
official tm
-
Field Summary
Modifier and TypeFieldDescriptionprivate Box
private final boolean
private static final int
private static final int
private float
private final BlockPos.Mutable
private final BlockPos
private final Collection
<GameTestState> private int
private final int
Fields inherited from interface net.minecraft.test.TestRunContext.TestStructureSpawner
NOOP, REUSE
-
Constructor Summary
ConstructorDescriptionTestStructurePlacer
(BlockPos origin, int testsPerRow, boolean clearBeforeBatch) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBatch
(ServerWorld world) spawnStructure
(GameTestState oldState)
-
Field Details
-
MARGIN_X
private static final int MARGIN_X- See Also:
- Mappings:
Namespace Name Mixin selector named MARGIN_X
Lnet/minecraft/test/TestStructurePlacer;MARGIN_X:I
intermediary field_48497
Lnet/minecraft/class_9120;field_48497:I
official c
Ltm;c:I
-
MARGIN_Z
private static final int MARGIN_Z- See Also:
- Mappings:
Namespace Name Mixin selector named MARGIN_Z
Lnet/minecraft/test/TestStructurePlacer;MARGIN_Z:I
intermediary field_48498
Lnet/minecraft/class_9120;field_48498:I
official d
Ltm;d:I
-
testsPerRow
private final int testsPerRow- Mappings:
Namespace Name Mixin selector named testsPerRow
Lnet/minecraft/test/TestStructurePlacer;testsPerRow:I
intermediary field_48499
Lnet/minecraft/class_9120;field_48499:I
official e
Ltm;e:I
-
testsInCurrentRow
private int testsInCurrentRow- Mappings:
Namespace Name Mixin selector named testsInCurrentRow
Lnet/minecraft/test/TestStructurePlacer;testsInCurrentRow:I
intermediary field_48500
Lnet/minecraft/class_9120;field_48500:I
official f
Ltm;f:I
-
box
- Mappings:
Namespace Name Mixin selector named box
Lnet/minecraft/test/TestStructurePlacer;box:Lnet/minecraft/util/math/Box;
intermediary field_48501
Lnet/minecraft/class_9120;field_48501:Lnet/minecraft/class_238;
official g
Ltm;g:Lewx;
-
mutablePos
- Mappings:
Namespace Name Mixin selector named mutablePos
Lnet/minecraft/test/TestStructurePlacer;mutablePos:Lnet/minecraft/util/math/BlockPos$Mutable;
intermediary field_48502
Lnet/minecraft/class_9120;field_48502:Lnet/minecraft/class_2338$class_2339;
official h
Ltm;h:Ljd$a;
-
origin
- Mappings:
Namespace Name Mixin selector named origin
Lnet/minecraft/test/TestStructurePlacer;origin:Lnet/minecraft/util/math/BlockPos;
intermediary field_48503
Lnet/minecraft/class_9120;field_48503:Lnet/minecraft/class_2338;
official i
Ltm;i:Ljd;
-
clearBeforeBatch
private final boolean clearBeforeBatch- Mappings:
Namespace Name Mixin selector named clearBeforeBatch
Lnet/minecraft/test/TestStructurePlacer;clearBeforeBatch:Z
intermediary field_52281
Lnet/minecraft/class_9120;field_52281:Z
official j
Ltm;j:Z
-
maxX
private float maxX- Mappings:
Namespace Name Mixin selector named maxX
Lnet/minecraft/test/TestStructurePlacer;maxX:F
intermediary field_52282
Lnet/minecraft/class_9120;field_52282:F
official k
Ltm;k:F
-
statesToClear
- Mappings:
Namespace Name Mixin selector named statesToClear
Lnet/minecraft/test/TestStructurePlacer;statesToClear:Ljava/util/Collection;
intermediary field_52283
Lnet/minecraft/class_9120;field_52283:Ljava/util/Collection;
official l
Ltm;l:Ljava/util/Collection;
-
-
Constructor Details
-
TestStructurePlacer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/test/TestStructurePlacer;<init>(Lnet/minecraft/util/math/BlockPos;IZ)V
intermediary <init>
Lnet/minecraft/class_9120;<init>(Lnet/minecraft/class_2338;IZ)V
official <init>
Ltm;<init>(Ljd;IZ)V
-
-
Method Details
-
onBatch
- Specified by:
onBatch
in interfaceTestRunContext.TestStructureSpawner
- Mappings:
Namespace Name Mixin selector named onBatch
Lnet/minecraft/test/TestRunContext$TestStructureSpawner;onBatch(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_61098
Lnet/minecraft/class_4520$class_9117;method_61098(Lnet/minecraft/class_3218;)V
official a
Lta$c;a(Laqu;)V
-
spawnStructure
- Specified by:
spawnStructure
in interfaceTestRunContext.TestStructureSpawner
- Mappings:
Namespace Name Mixin selector named spawnStructure
Lnet/minecraft/test/TestRunContext$TestStructureSpawner;spawnStructure(Lnet/minecraft/test/GameTestState;)Ljava/util/Optional;
intermediary spawnStructure
Lnet/minecraft/class_4520$class_9117;spawnStructure(Lnet/minecraft/class_4517;)Ljava/util/Optional;
official spawnStructure
Lta$c;spawnStructure(Lsx;)Ljava/util/Optional;
-