Class BoxPreviewData

java.lang.Object
com.ldtteam.structurize.client.rendertask.tasks.BoxPreviewData

public class BoxPreviewData extends Object
Preview data for box contexts.
  • Constructor Details

    • BoxPreviewData

      public BoxPreviewData(@NotNull @NotNull net.minecraft.core.BlockPos pos1, @NotNull @NotNull net.minecraft.core.BlockPos pos2, @NotNull @NotNull Optional<net.minecraft.core.BlockPos> anchor)
      Create a new box.
      Parameters:
      pos1 - the first pos.
      pos2 - the second pos.
      anchor - the anchor of the box.
  • Method Details

    • getPos1

      public net.minecraft.core.BlockPos getPos1()
    • getPos2

      public net.minecraft.core.BlockPos getPos2()
    • getAnchor

      public Optional<net.minecraft.core.BlockPos> getAnchor()
    • setAnchor

      public void setAnchor(Optional<net.minecraft.core.BlockPos> anchor)