Class TestInstanceData
java.lang.Object
com.github.retrooper.packetevents.protocol.world.TestInstanceData
Added with 1.21.5
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTestInstanceData
(@Nullable ResourceLocation test, Vector3i size, StructureRotation rotation, boolean ignoreEntities, TestInstanceData.Status status, @Nullable net.kyori.adventure.text.Component errorMessage) -
Method Summary
Modifier and TypeMethodDescription@Nullable net.kyori.adventure.text.Component
getSize()
@Nullable ResourceLocation
getTest()
boolean
static TestInstanceData
read
(PacketWrapper<?> wrapper) void
setErrorMessage
(@Nullable net.kyori.adventure.text.Component errorMessage) void
setIgnoreEntities
(boolean ignoreEntities) void
setRotation
(StructureRotation rotation) void
void
setStatus
(TestInstanceData.Status status) void
setTest
(@Nullable ResourceLocation test) static void
write
(PacketWrapper<?> wrapper, TestInstanceData data)
-
Constructor Details
-
TestInstanceData
public TestInstanceData(@Nullable @Nullable ResourceLocation test, Vector3i size, StructureRotation rotation, boolean ignoreEntities, TestInstanceData.Status status, @Nullable @Nullable net.kyori.adventure.text.Component errorMessage)
-
-
Method Details
-
read
-
write
-
getTest
-
setTest
-
getSize
-
setSize
-
getRotation
-
setRotation
-
isIgnoreEntities
public boolean isIgnoreEntities() -
setIgnoreEntities
public void setIgnoreEntities(boolean ignoreEntities) -
getStatus
-
setStatus
-
getErrorMessage
@Nullable public @Nullable net.kyori.adventure.text.Component getErrorMessage() -
setErrorMessage
public void setErrorMessage(@Nullable @Nullable net.kyori.adventure.text.Component errorMessage)
-