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

crj
net.minecraft.world.entity.vehicle.MinecartHopper
net.minecraft.class_1700
net.minecraft.entity.vehicle.HopperMinecartEntity
net.minecraft.src.C_1215_
net.minecraft.world.entity.vehicle.EntityMinecartHopper

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public BlockState
w()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_6390_()
public int
z()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
m_7144_()
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
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)
m_6025_(int p_38597_, int p_38598_, int p_38599_, boolean arg3)
public boolean
D()
isEnabled()
method_7572()
isEnabled()
m_38617_()
public void
s(boolean arg0)
setEnabled(boolean arg0)
method_7570(boolean arg0)
setEnabled(boolean enabled)
m_38613_(boolean arg0)
public double
G()
getLevelX()
method_11266()
getHopperX()
m_6343_()
public double
H()
getLevelY()
method_11264()
getHopperY()
m_6358_()
public double
I()
getLevelZ()
method_11265()
getHopperZ()
m_6446_()
public boolean
J()
isGridAligned()
method_57081()
canBlockFromAbove()
m_320496_()
public void
h()
tick()
method_5773()
tick()
m_8119_()
protected double
a(ji arg0, dyb 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)
m_354682_(C_4675_ p_362892_, C_2100_ p_366793_, double arg2)
private void
P()
tryConsumeItems()
method_61600()
tickHopper()
m_355017_()
public boolean
K()
suckInItems()
method_7574()
canOperate()
m_38592_()
protected Item
u()
getDropItem()
method_7557()
asItem()
m_219965_()
public ItemStack
dI()
getPickResult()
method_31480()
getPickBlockStack()
m_142340_()
protected void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public AbstractContainerMenu
a(int arg0, cox arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
m_7402_(int p_38602_, C_1140_ arg1)