Class BoxPreviewData
java.lang.Object
com.ldtteam.structurize.storage.rendering.types.BoxPreviewData
Preview data for box contexts.
-
Constructor Summary
ConstructorsConstructorDescriptionBoxPreviewData(@NotNull net.minecraft.core.BlockPos pos1, @NotNull net.minecraft.core.BlockPos pos2, @NotNull Optional<net.minecraft.core.BlockPos> anchor) Create a new box. -
Method Summary
-
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
-
setAnchor
-