net.minecraft.world.level.block.entity

public class CommandBlockEntity

extends BlockEntity

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

Field summary

Modifier and TypeField
private static final boolean
a
DEFAULT_POWERED
field_57772
DEFAULT_POWERED
f_381380_
private static final boolean
b
DEFAULT_CONDITION_MET
field_57773
DEFAULT_AUTO
f_380259_
private static final boolean
c
DEFAULT_AUTOMATIC
field_57774
DEFAULT_CONDITION_MET
f_381083_
private boolean
d
powered
field_11919
powered
f_59123_
private boolean
e
auto
field_11918
auto
f_59124_
private boolean
f
conditionMet
field_11917
conditionMet
f_59125_
private final BaseCommandBlock
g
commandBlock
field_11920
commandExecutor
f_59127_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
a(fdc arg0)
saveAdditional(ValueOutput arg0)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
m_183515_(C_398537_ arg0)
protected void
a(fda arg0)
loadAdditional(ValueInput arg0)
method_11014(class_11368 arg0)
readData(ReadView arg0)
m_318667_(C_398549_ arg0)
public BaseCommandBlock
a()
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
w()
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
u()
getMode()
method_11039()
getCommandBlockType()
m_59148_()
public boolean
v()
isConditional()
method_11046()
isConditionalCommandBlock()
m_59151_()
protected void
a(kl arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_57568(class_9473 arg0)
readComponents(ComponentsAccess arg0)
m_318741_(C_379187_ arg0)
protected void
a(kn$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
b(fdc arg0)
removeComponentsFromTag(ValueOutput arg0)
method_57569(class_11372 arg0)
removeFromCopiedStackData(WriteView arg0)
m_318942_(C_398537_ arg0)