net.minecraft.world.entity.vehicle

public class MinecartCommandBlock

extends AbstractMinecart

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder

cpd
net.minecraft.world.entity.vehicle.MinecartCommandBlock
net.minecraft.class_1697
net.minecraft.unmapped.C_stzuxnvt
net.minecraft.entity.vehicle.CommandBlockMinecartEntity
net.minecraft.entity.vehicle.CommandBlockMinecartEntity
net.minecraft.src.C_1212_
net.minecraft.world.entity.vehicle.EntityMinecartCommandBlock

Field summary

Modifier and TypeField
static final EntityDataAccessor<String>
c
DATA_ID_COMMAND_NAME
field_7743
f_lbdneacd
COMMAND
COMMAND
f_38503_
static final EntityDataAccessor<Component>
d
DATA_ID_LAST_OUTPUT
field_7741
f_rfupnlaj
LAST_OUTPUT
LAST_OUTPUT
f_38504_
private final BaseCommandBlock
e
commandBlock
field_7744
f_ueowvfnw
commandExecutor
commandExecutor
f_38505_
private static final int
i
ACTIVATION_DELAY
field_30701
f_wiubuihg
EXECUTE_TICK_COOLDOWN
ACTIVATION_DELAY
f_150284_
private int
j
lastActivated
field_7742
f_xhaevsfn
lastExecuted
lastExecuted
f_38506_

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartCommandBlock> p_38510_, Level world)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected Item
ag_()
getDropItem()
method_7557()
m_wotxlatt()
asItem()
asItem()
m_38369_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public AbstractMinecart$Type
v()
getMinecartType()
method_7518()
m_pfnhnfdm()
getMinecartType()
getMinecartType()
m_6064_()
public BlockState
x()
getDefaultDisplayBlockState()
method_7517()
m_staqlmtx()
getDefaultContainedBlock()
getDefaultContainedBlock()
m_6390_()
public BaseCommandBlock
B()
getCommandBlock()
method_7567()
m_alcigjnp()
getCommandExecutor()
getCommandExecutor()
m_38534_()
public void
a(int arg0, int arg1, int arg2, boolean arg3)
activateMinecart(int arg0, int arg1, int arg2, boolean arg3)
method_7506(int arg0, int arg1, int arg2, boolean arg3)
m_cnkjmfhl(int arg0, int arg1, int arg2, boolean arg3)
onActivatorRail(int arg0, int arg1, int arg2, boolean arg3)
onActivatorRail(int arg0, int arg1, int arg2, boolean arg3)
m_6025_(int p_38518_, int p_38519_, int p_38520_, boolean arg3)
public InteractionResult
a(cmz arg0, bqv arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_38523_, C_470_ arg1)
public void
a(akk<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
cP()
onlyOpCanSetNbt()
method_5833()
m_qesgssdn()
entityDataRequiresOperator()
entityDataRequiresOperator()
m_6127_()