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 - ta
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Boxprivate final booleanprivate static final intprivate static final intprivate floatprivate final BlockPos.Mutableprivate final BlockPosprivate final Collection<GameTestState> private intprivate final intFields inherited from interface net.minecraft.test.TestRunContext.TestStructureSpawnerNOOP, REUSE
- 
Constructor SummaryConstructorsConstructorDescriptionTestStructurePlacer(BlockPos origin, int testsPerRow, boolean clearBeforeBatch) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidonBatch(ServerWorld world) spawnStructure(GameTestState oldState) 
- 
Field Details- 
MARGIN_Xprivate 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- Lta;c:I
 
- 
MARGIN_Zprivate 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- Lta;d:I
 
- 
testsPerRowprivate 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- Lta;e:I
 
- 
testsInCurrentRowprivate 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- Lta;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- Lta;g:Lfaw;
 
- 
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- Lta;h:Lji$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- Lta;i:Lji;
 
- 
clearBeforeBatchprivate 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- Lta;j:Z
 
- 
maxXprivate 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- Lta;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- Lta;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>- Lta;<init>(Lji;IZ)V
 
 
- 
- 
Method Details- 
onBatch- Specified by:
- onBatchin interface- TestRunContext.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- Lso$c;a(Lard;)V
 
- 
spawnStructure- Specified by:
- spawnStructurein interface- TestRunContext.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- Lso$c;spawnStructure(Lsl;)Ljava/util/Optional;
 
 
-