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 ud
  • 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 Lud;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 Lud;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 Lud;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 Lud;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 Lud;g:Levo;
    • 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 Lud;h:Liz$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 Lud;i:Liz;
  • 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> Lud;<init>(Liz;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 Ltr$c;spawnStructure(Lto;)Ljava/util/Optional;