net.minecraft.world.entity.vehicle

public class MinecartSpawner

extends AbstractMinecart

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder

cpe
net.minecraft.world.entity.vehicle.MinecartSpawner
net.minecraft.class_1699
net.minecraft.entity.vehicle.SpawnerMinecartEntity
net.minecraft.src.C_1216_
net.minecraft.world.entity.vehicle.EntityMinecartMobSpawner

Field summary

Modifier and TypeField
private final BaseSpawner
c
spawner
field_7746
logic
f_38621_
private final Runnable
d
ticker
field_27012
ticker
f_150333_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Item
ak_()
getDropItem()
method_7557()
asItem()
m_38369_()
private Runnable
b(dcw arg0)
createTicker(Level arg0)
method_31553(class_1937 arg0)
getTicker(World world)
m_150334_(C_1596_ arg0)
public AbstractMinecart$Type
v()
getMinecartType()
method_7518()
getMinecartType()
m_6064_()
public BlockState
x()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_6390_()
protected void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
l()
tick()
method_5773()
tick()
m_8119_()
public BaseSpawner
B()
getSpawner()
method_35216()
getLogic()
m_150340_()
public boolean
cP()
onlyOpCanSetNbt()
method_5833()
entityDataRequiresOperator()
m_6127_()