net.minecraft.world.entity.vehicle

public class MinecartHopper

extends AbstractMinecartContainer implements Hopper

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Container, Clearable, MenuProvider, MenuConstructor, Hopper

bmb
net.minecraft.world.entity.vehicle.MinecartHopper
net.minecraft.class_1700
net.minecraft.unmapped.C_jloefuwq
net.minecraft.entity.vehicle.HopperMinecartEntity
net.minecraft.src.C_1215_
net.minecraft.world.entity.vehicle.EntityMinecartHopper

Field summary

Modifier and TypeField
public static final int
c
MOVE_ITEM_SPEED
field_30702
f_ynecqvxw
MAX_TRANSFER_COOLDOWN
f_150332_
private boolean
f
enabled
field_7749
f_nbzcuwxz
enabled
f_38580_
private int
ao
cooldownTime
field_7748
f_jvajqzml
transferCooldown
f_38581_
private final BlockPos
ap
lastPosition
field_7750
f_shjtulzj
currentBlockPos
f_38582_

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartHopper> p_38585_, Level arg1)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public AbstractMinecart$Type
p()
getMinecartType()
method_7518()
m_pfnhnfdm()
getMinecartType()
m_6064_()
getMinecartType()
public BlockState
r()
getDefaultDisplayBlockState()
method_7517()
m_staqlmtx()
getDefaultContainedBlock()
m_6390_()
public int
t()
getDefaultDisplayOffset()
method_7526()
m_vptdbzfe()
getDefaultBlockOffset()
m_7144_()
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
m_6643_()
getSize()
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)
m_cnkjmfhl(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
w()
isEnabled()
method_7572()
m_azpkicgc()
isEnabled()
m_38617_()
isEnabled()
public void
p(boolean arg0)
setEnabled(boolean arg0)
method_7570(boolean arg0)
m_mvpbhvqj(boolean arg0)
setEnabled(boolean enabled)
m_38613_(boolean arg0)
setEnabled(boolean arg0)
public double
x()
getLevelX()
method_11266()
m_pjssfdux()
getHopperX()
m_6343_()
public double
z()
getLevelY()
method_11264()
m_gymptxwt()
getHopperY()
m_6358_()
public double
A()
getLevelZ()
method_11265()
m_jckyrqkq()
getHopperZ()
m_6446_()
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
tick()
public boolean
B()
suckInItems()
method_7574()
m_xispepby()
canOperate()
m_38592_()
public void
a(asq arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
m_hztbtrvs(C_sbxfkpyv arg0)
dropItems(DamageSource arg0)
m_7617_(C_489_ arg0)
protected void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
protected void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
n(int arg0)
setCooldown(int arg0)
method_7571(int arg0)
m_ruvkqovw(int arg0)
setTransferCooldown(int cooldown)
m_38610_(int arg0)
setCooldown(int arg0)
public boolean
C()
isOnCooldown()
method_7573()
m_oknqtfvw()
isCoolingDown()
m_38593_()
public AbstractContainerMenu
a(int arg0, bkd arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
m_vljvfgol(int arg0, C_sxzqocrm arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
m_7402_(int p_38602_, C_1140_ arg1)