net.minecraft.world.level.block.entity

public class TestBlockEntity

extends BlockEntity

dyh
net.minecraft.world.level.block.entity.TestBlockEntity
net.minecraft.class_10637
net.minecraft.block.entity.TestBlockEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_55998
LOGGER
private TestBlockMode
b
mode
field_55999
mode
private String
c
message
field_56000
message
private boolean
d
powered
field_56001
powered
private boolean
e
triggered
field_56002
triggered

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public void
b(tx arg0, jg$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public void
a(tx arg0, jg$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
private void
u()
updateBlockState()
method_66729()
update()
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_66718()
toUpdatePacket()
public CompoundTag
a(jg$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public boolean
c()
isPowered()
method_66722()
isPowered()
public void
a(boolean arg0)
setPowered(boolean arg0)
method_66721(boolean arg0)
setPowered(boolean powered)
public TestBlockMode
d()
getMode()
method_66723()
getMode()
public void
a(eaz arg0)
setMode(TestBlockMode arg0)
method_66719(class_10641 arg0)
setMode(TestBlockMode mode)
private Block
v()
getBlockType()
method_66730()
getBlock()
public void
f()
reset()
method_66724()
reset()
public void
j()
trigger()
method_66725()
trigger()
public void
k()
log()
method_66726()
logMessage()
public boolean
s()
hasTriggered()
method_66727()
hasTriggered()
public String
t()
getMessage()
method_66728()
getMessage()
public void
a(String arg0)
setMessage(String arg0)
method_66720(String arg0)
setMessage(String message)