net.minecraft.world.entity.vehicle

public class MinecartCommandBlock

extends AbstractMinecart

All mapped superinterfaces:

Nameable, CommandSource

azz
net.minecraft.world.entity.vehicle.MinecartCommandBlock
net.minecraft.class_1697
net.minecraft.entity.vehicle.CommandBlockMinecartEntity
net.minecraft.entity.item.minecart.MinecartCommandBlockEntity
net.minecraft.server.v1_15_R1.EntityMinecartCommandBlock

Field summary

Modifier and TypeField
private static final EntityDataAccessor<String>
b
DATA_ID_COMMAND_NAME
field_7743
COMMAND
field_184273_a
COMMAND
private static final EntityDataAccessor<Component>
c
DATA_ID_LAST_OUTPUT
field_7741
LAST_OUTPUT
field_184274_b
private final BaseCommandBlock
d
commandBlock
field_7744
commandExecutor
field_145824_a
private int
e
lastActivated
field_7742
lastExecuted
field_145823_b

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
protected void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public AbstractMinecart$Type
o()
getMinecartType()
method_7518()
getMinecartType()
func_184264_v()
getMinecartType()
public BlockState
q()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
func_180457_u()
public BaseCommandBlock
v()
getCommandBlock()
method_7567()
getCommandExecutor()
func_145822_e()
getCommandBlock()
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)
onActivatorRail(int arg0, int arg1, int arg2, boolean arg3)
func_96095_a(int arg0, int arg1, int arg2, boolean arg3)
public boolean
b(ayg arg0, ajh arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
func_184230_a(PlayerEntity arg0, Hand arg1)
public void
a(sb<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public boolean
cb()
onlyOpCanSetNbt()
method_5833()
entityDataRequiresOperator()
func_184213_bq()