net.minecraft.world.entity.vehicle

public class MinecartHopper

extends AbstractMinecartContainer implements Hopper

All mapped superinterfaces:

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

ayb
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_14_R1.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
M_()
getContainerSize()
method_5439()
getInvSize()
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
v()
isEnabled()
method_7572()
isEnabled()
func_96111_ay()
isEnabled()
public void
n(boolean arg0)
setEnabled(boolean arg0)
method_7570(boolean arg0)
setEnabled(boolean enabled)
func_96110_f(boolean arg0)
setEnabled(boolean arg0)
public Level
w()
getLevel()
method_10997()
getWorld()
func_145831_w()
getWorld()
public double
z()
getLevelX()
method_11266()
getHopperX()
func_96107_aA()
public double
A()
getLevelY()
method_11264()
getHopperY()
func_96109_aB()
public double
B()
getLevelZ()
method_11265()
getHopperZ()
func_96108_aC()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
C()
suckInItems()
method_7574()
canOperate()
func_96112_aD()
public void
a(ahx arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource arg0)
func_94095_a(DamageSource arg0)
protected void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
protected void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT 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
D()
isOnCooldown()
method_7573()
isCoolingDown()
func_98043_aE()
public AbstractContainerMenu
a(int arg0, awf arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getContainer(int arg0, PlayerInventory arg1)
func_213968_a(int arg0, PlayerInventory arg1)