net.minecraft.world.entity.vehicle

public class MinecartHopper

extends AbstractMinecartContainer implements Hopper

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, ContainerEntity, Container, Clearable, MenuProvider, MenuConstructor, Hopper

csi
net.minecraft.world.entity.vehicle.MinecartHopper
net.minecraft.class_1700
net.minecraft.entity.vehicle.HopperMinecartEntity
net.minecraft.world.entity.vehicle.EntityMinecartHopper

Field summary

Modifier and TypeField
private boolean
c
enabled
field_7749
enabled
private boolean
d
consumedItemThisFrame
field_52523
hopperTicked

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartHopper> arg0, Level arg1)

Method summary

Modifier and TypeMethod
public BlockState
w()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
public int
z()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
public int
b()
getContainerSize()
method_5439()
size()
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)
public boolean
F()
isEnabled()
method_7572()
isEnabled()
public void
s(boolean arg0)
setEnabled(boolean arg0)
method_7570(boolean arg0)
setEnabled(boolean enabled)
public double
G()
getLevelX()
method_11266()
getHopperX()
public double
H()
getLevelY()
method_11264()
getHopperY()
public double
I()
getLevelZ()
method_11265()
getHopperZ()
public boolean
J()
isGridAligned()
method_57081()
canBlockFromAbove()
public void
h()
tick()
method_5773()
tick()
protected double
a(jh arg0, dyy arg1, double arg2)
makeStepAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
method_61564(class_2338 arg0, class_2768 arg1, double arg2)
moveAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
private void
P()
tryConsumeItems()
method_61600()
tickHopper()
public boolean
K()
suckInItems()
method_7574()
canOperate()
protected Item
u()
getDropItem()
method_7557()
asItem()
public ItemStack
dJ()
getPickResult()
method_31480()
getPickBlockStack()
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public AbstractContainerMenu
a(int arg0, cpw arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int arg0, PlayerInventory arg1)