net.minecraft.entity.vehicle

public class SpawnerMinecartEntity

extends AbstractMinecartEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible

net.minecraft.world.entity.vehicle.minecart.MinecartSpawner
net.minecraft.class_1699
net.minecraft.entity.vehicle.SpawnerMinecartEntity

Field summary

Modifier and TypeField
private final MobSpawnerLogic
spawner
field_7746
logic
private final Runnable
ticker
field_27012
ticker

Constructor summary

ModifierConstructor
public (EntityType<? extends SpawnerMinecartEntity> type, World level)

Method summary

Modifier and TypeMethod
protected Item
getDropItem()
method_7557()
asItem()
public ItemStack
getPickResult()
method_31480()
getPickBlockStack()
private Runnable
createTicker(Level level)
method_31553(class_1937 arg0)
getTicker(World world)
public BlockState
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public void
handleEntityEvent(byte id)
method_5711(byte arg0)
handleStatus(byte arg0)
public void
tick()
method_5773()
tick()
public MobSpawnerLogic
getSpawner()
method_35216()
getLogic()
private void
lambda$createTicker$1(Level arg0)
method_31554(class_1937 arg0)
method_31554(World arg0)
private void
lambda$createTicker$0(Level arg0)
method_31555(class_1937 arg0)
method_31555(World arg0)