net.minecraft.world.entity.vehicle

public class MinecartSpawner

extends AbstractMinecart

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bwe
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
h()
getDropItem()
method_42670()
getItem()
m_213728_()
private Runnable
a(cgx arg0)
createTicker(Level arg0)
method_31553(class_1937 arg0)
getTicker(World world)
m_150334_(C_1596_ arg0)
public AbstractMinecart$Type
r()
getMinecartType()
method_7518()
getMinecartType()
m_6064_()
public BlockState
t()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_6390_()
protected void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
public BaseSpawner
y()
getSpawner()
method_35216()
getLogic()
m_150340_()
public boolean
cF()
onlyOpCanSetNbt()
method_5833()
entityDataRequiresOperator()
m_6127_()