Class TestStructurePlacer

java.lang.Object
net.minecraft.test.TestStructurePlacer
All Implemented Interfaces:
TestRunContext.TestStructureSpawner

public class TestStructurePlacer extends Object implements TestRunContext.TestStructureSpawner
Mappings:
Namespace Name
named net/minecraft/test/TestStructurePlacer
intermediary net/minecraft/class_9120
official tl
  • 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 Ltl;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 Ltl;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 Ltl;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 Ltl;f:I
    • box

      private Box 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 Ltl;g:Lewr;
    • mutablePos

      private final BlockPos.Mutable 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 Ltl;h:Ljd$a;
    • origin

      private final BlockPos 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 Ltl;i:Ljd;
  • Constructor Details

    • TestStructurePlacer

      public TestStructurePlacer(BlockPos origin, int testsPerRow)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/test/TestStructurePlacer;<init>(Lnet/minecraft/util/math/BlockPos;I)V
      intermediary <init> Lnet/minecraft/class_9120;<init>(Lnet/minecraft/class_2338;I)V
      official <init> Ltl;<init>(Ljd;I)V
  • Method Details

    • spawnStructure

      public Optional<GameTestState> spawnStructure(GameTestState oldState)
      Specified by:
      spawnStructure in 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 Lsz$c;spawnStructure(Lsw;)Ljava/util/Optional;