net.minecraft.world.level.block.entity

public class CommandBlockEntity

extends BlockEntity

dvh
net.minecraft.world.level.block.entity.CommandBlockEntity
net.minecraft.class_2593
net.minecraft.block.entity.CommandBlockBlockEntity
net.minecraft.world.level.block.entity.TileEntityCommand

Field summary

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

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public boolean
p()
onlyOpCanSetNbt()
method_11011()
copyItemDataRequiresOperator()
public BaseCommandBlock
b()
getCommandBlock()
method_11040()
getCommandExecutor()
public void
a(boolean arg0)
setPowered(boolean arg0)
method_11038(boolean arg0)
setPowered(boolean powered)
public boolean
c()
isPowered()
method_11043()
isPowered()
public boolean
d()
isAutomatic()
method_11042()
isAuto()
public void
b(boolean arg0)
setAutomatic(boolean arg0)
method_11041(boolean arg0)
setAuto(boolean auto)
public void
f()
onModeSwitch()
method_23359()
updateCommandBlock()
private void
v()
scheduleTick()
method_23360()
scheduleAutoTick()
public boolean
j()
wasConditionMet()
method_11044()
isConditionMet()
public boolean
k()
markConditionMet()
method_11045()
updateConditionMet()
public CommandBlockEntity$Mode
t()
getMode()
method_11039()
getCommandBlockType()
public boolean
u()
isConditional()
method_11046()
isConditionalCommandBlock()
protected void
a(dux$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kq$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(ux arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)