net.minecraft.world.entity.vehicle

public class MinecartHopper

extends AbstractMinecartContainer implements Hopper

All mapped superinterfaces:

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

bhq
net.minecraft.world.entity.vehicle.MinecartHopper
net.minecraft.class_1700
net.minecraft.entity.vehicle.HopperMinecartEntity
net.minecraft.entity.item.minecart.HopperMinecartEntity
net.minecraft.server.v1_16_R2.EntityMinecartHopper

Field summary

Modifier and TypeField
private boolean
d
enabled
field_7749
enabled
field_96113_a
private int
e
cooldownTime
field_7748
transferCooldown
field_98044_b
private final BlockPos
f
lastPosition
field_7750
currentBlockPos
field_174900_c

Constructor summary

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

Method summary

Modifier and TypeMethod
public AbstractMinecart$Type
o()
getMinecartType()
method_7518()
getMinecartType()
func_184264_v()
getMinecartType()
public BlockState
q()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
func_180457_u()
public int
s()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
func_94085_r()
public int
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
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)
onActivatorRail(int arg0, int arg1, int arg2, boolean arg3)
func_96095_a(int arg0, int arg1, int arg2, boolean arg3)
public boolean
u()
isEnabled()
method_7572()
isEnabled()
func_96111_ay()
isEnabled()
public void
o(boolean arg0)
setEnabled(boolean arg0)
method_7570(boolean arg0)
setEnabled(boolean enabled)
func_96110_f(boolean arg0)
setEnabled(boolean arg0)
public Level
v()
getLevel()
method_10997()
getWorld()
func_145831_w()
getWorld()
public double
x()
getLevelX()
method_11266()
getHopperX()
func_96107_aA()
public double
z()
getLevelY()
method_11264()
getHopperY()
func_96109_aB()
public double
A()
getLevelZ()
method_11265()
getHopperZ()
func_96108_aC()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
B()
suckInItems()
method_7574()
canOperate()
func_96112_aD()
public void
a(aph arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource arg0)
func_94095_a(DamageSource arg0)
protected void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
protected void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
m(int arg0)
setCooldown(int arg0)
method_7571(int arg0)
setTransferCooldown(int cooldown)
func_98042_n(int arg0)
setCooldown(int arg0)
public boolean
C()
isOnCooldown()
method_7573()
isCoolingDown()
func_98043_aE()
public AbstractContainerMenu
a(int arg0, bfs arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
func_213968_a(int arg0, PlayerInventory arg1)