net.minecraft.world.entity.vehicle

public class MinecartSpawner

extends AbstractMinecart

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

cao
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
i()
getDropItem()
method_42670()
getItem()
m_213728_()
private Runnable
a(cmi arg0)
createTicker(Level arg0)
method_31553(class_1937 arg0)
getTicker(World world)
m_150334_(C_1596_ arg0)
public AbstractMinecart$Type
s()
getMinecartType()
method_7518()
getMinecartType()
m_6064_()
public BlockState
v()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_6390_()
protected void
a(re arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(re 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
z()
getSpawner()
method_35216()
getLogic()
m_150340_()
public boolean
cJ()
onlyOpCanSetNbt()
method_5833()
entityDataRequiresOperator()
m_6127_()