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

Field summary

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

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)
protected void
a(fda arg0)
loadAdditional(ValueInput arg0)
method_11014(class_11368 arg0)
readData(ReadView arg0)
public BaseCommandBlock
a()
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
w()
scheduleTick()
method_23360()
scheduleAutoTick()
public boolean
j()
wasConditionMet()
method_11044()
isConditionMet()
public boolean
k()
markConditionMet()
method_11045()
updateConditionMet()
public CommandBlockEntity$Mode
u()
getMode()
method_11039()
getCommandBlockType()
public boolean
v()
isConditional()
method_11046()
isConditionalCommandBlock()
protected void
a(kl arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_57568(class_9473 arg0)
readComponents(ComponentsAccess arg0)
protected void
a(kn$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
b(fdc arg0)
removeComponentsFromTag(ValueOutput arg0)
method_57569(class_11372 arg0)
removeFromCopiedStackData(WriteView arg0)