net.minecraft.world.level.block.entity

public class CommandBlockEntity

extends BlockEntity

dqr
net.minecraft.world.level.block.entity.CommandBlockEntity
net.minecraft.class_2593
net.minecraft.block.entity.CommandBlockBlockEntity
net.minecraft.src.C_1998_
net.minecraft.world.level.block.entity.TileEntityCommand

Field summary

Modifier and TypeField
private boolean
a
powered
field_11919
powered
f_59123_
private boolean
b
auto
field_11918
auto
f_59124_
private boolean
c
conditionMet
field_11917
conditionMet
f_59125_
private final BaseCommandBlock
d
commandBlock
field_11920
commandExecutor
f_59127_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_183515_(C_4917_ p_327824_, C_213466_$C_254607_ arg1)
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_318667_(C_4917_ p_334209_, C_213466_$C_254607_ arg1)
public boolean
q()
onlyOpCanSetNbt()
method_11011()
copyItemDataRequiresOperator()
m_6326_()
public BaseCommandBlock
b()
getCommandBlock()
method_11040()
getCommandExecutor()
m_59141_()
public void
a(boolean arg0)
setPowered(boolean arg0)
method_11038(boolean arg0)
setPowered(boolean powered)
m_59135_(boolean arg0)
public boolean
c()
isPowered()
method_11043()
isPowered()
m_59142_()
public boolean
d()
isAutomatic()
method_11042()
isAuto()
m_59143_()
public void
b(boolean arg0)
setAutomatic(boolean arg0)
method_11041(boolean arg0)
setAuto(boolean auto)
m_59137_(boolean arg0)
public void
f()
onModeSwitch()
method_23359()
updateCommandBlock()
m_59144_()
private void
v()
scheduleTick()
method_23360()
scheduleAutoTick()
m_59152_()
public boolean
j()
wasConditionMet()
method_11044()
isConditionMet()
m_59145_()
public boolean
k()
markConditionMet()
method_11045()
updateConditionMet()
m_59146_()
public CommandBlockEntity$Mode
l()
getMode()
method_11039()
getCommandBlockType()
m_59148_()
public boolean
u()
isConditional()
method_11046()
isConditionalCommandBlock()
m_59151_()
protected void
a(dqh$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(km$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(ub arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
m_318942_(C_4917_ arg0)