net.minecraft.world.level.block.entity

public record TestInstanceBlockEntity$Data

dyi$a
net.minecraft.world.level.block.entity.TestInstanceBlockEntity$Data
net.minecraft.class_10638$class_10639
net.minecraft.block.entity.TestInstanceBlockEntity$Data

Field summary

Modifier and TypeField
private final Optional<ResourceKey<GameTestInstance>>
c
test
comp_3526
test
private final Vec3i
d
size
comp_3527
size
private final Rotation
e
rotation
comp_3528
rotation
private final boolean
f
ignoreEntities
comp_3529
ignoreEntities
private final TestInstanceBlockEntity$Status
g
status
comp_3530
status
private final Optional<Component>
h
errorMessage
comp_3531
errorMessage
public static final com.mojang.serialization.Codec<TestInstanceBlockEntity$Data>
a
CODEC
field_56012
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, TestInstanceBlockEntity$Data>
b
STREAM_CODEC
field_56013
PACKET_CODEC

Constructor summary

ModifierConstructor
public (Optional<ResourceKey<GameTestInstance>> arg0, Vec3i arg1, Rotation arg2, boolean arg3, TestInstanceBlockEntity$Status arg4, Optional<Component> arg5)

Method summary

Modifier and TypeMethod
public TestInstanceBlockEntity$Data
a(jz arg0)
withSize(Vec3i arg0)
method_66775(class_2382 arg0)
withSize(Vec3i size)
public TestInstanceBlockEntity$Data
a(dyi$b arg0)
withStatus(TestInstanceBlockEntity$Status arg0)
method_66774(class_10638$class_10640 arg0)
withStatus(TestInstanceBlockEntity$Status status)
public TestInstanceBlockEntity$Data
a(ww arg0)
withError(Component arg0)
method_66776(class_2561 arg0)
withErrorMessage(Text errorMessage)
public Optional<ResourceKey<GameTestInstance>>
a()
test()
comp_3526()
test()
public Vec3i
b()
size()
comp_3527()
size()
public Rotation
c()
rotation()
comp_3528()
rotation()
public boolean
d()
ignoreEntities()
comp_3529()
ignoreEntities()
public TestInstanceBlockEntity$Status
e()
status()
comp_3530()
status()
public Optional<Component>
f()
errorMessage()
comp_3531()
errorMessage()