public class EntityMinecartHopper extends EntityMinecartContainer implements Hopper
defaultDragAir, defaultMaxSpeedAirLateral, defaultMaxSpeedAirVerticaladdedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_98038_p, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityMinecartHopper(World par1World) |
EntityMinecartHopper(World par1World,
double par2,
double par4,
double par6) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTransfer()
Returns whether the hopper cart can currently transfer an item.
|
boolean |
func_130002_c(EntityPlayer par1EntityPlayer) |
boolean |
func_96112_aD() |
boolean |
getBlocked()
Get whether this hopper minecart is being blocked by an activator rail.
|
Block |
getDefaultDisplayTile() |
int |
getDefaultDisplayTileOffset() |
int |
getMinecartType() |
int |
getSizeInventory()
Returns the number of slots in the inventory.
|
World |
getWorldObj()
Returns the worldObj for this tileEntity.
|
double |
getXPos()
Gets the world X position for this hopper entity.
|
double |
getYPos()
Gets the world Y position for this hopper entity.
|
double |
getZPos()
Gets the world Z position for this hopper entity.
|
void |
killMinecart(DamageSource par1DamageSource) |
void |
onActivatorRailPass(int par1,
int par2,
int par3,
boolean par4)
Called every tick the minecart is on an activator rail.
|
void |
onUpdate()
Called to update the entity's position/logic.
|
void |
setBlocked(boolean par1)
Set whether this hopper minecart is being blocked by an activator rail.
|
void |
setTransferTicker(int par1)
Sets the transfer ticker, used to determine the delay between transfers.
|
closeChest, decrStackSize, getInventoryStackLimit, getInvName, getStackInSlot, getStackInSlotOnClosing, isStackValidForSlot, isUseableByPlayer, onInventoryChanged, openChest, setDead, setInventorySlotContents, travelToDimensionapplyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canBeRidden, canUseRail, createMinecart, func_70489_a, func_70495_a, func_95999_t, func_96094_a, getBoundingBox, getCartItem, getCollisionBox, getCollisionHandler, getCurrentCartSpeedCapOnRail, getDamage, getDefaultDisplayTileData, getDisplayTile, getDisplayTileData, getDisplayTileOffset, getDragAir, getEntityName, getMaxCartSpeedOnRail, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getRollingAmplitude, getRollingDirection, getShadowSize, getSlopeAdjustment, hasDisplayTile, isInvNameLocalized, isPoweredCart, moveMinecartOnRail, performHurtAnimation, setCanUseRail, setCollisionHandler, setCurrentCartSpeedCapOnRail, setDamage, setDisplayTile, setDisplayTileData, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setPositionAndRotation2, setRollingAmplitude, setRollingDirection, setVelocity, shouldDoRailFunctionsaddEntityID, addNotRiddenEntityID, addToPlayerScore, addVelocity, canAttackWithItem, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_110123_P, func_110124_au, func_82143_as, func_82146_a, func_82149_j, func_85029_a, func_85031_j, func_96091_a, func_96092_aw, func_98034_c, getAir, getBrightness, getBrightnessForRender, getCollisionBorderSize, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getExtendedProperties, getEyeHeight, getLastActiveItems, getLookVec, getMaxInPortalTime, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getTeleportDirection, getTranslatedEntityName, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, playSound, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setCurrentItemOrArmor, setEating, setFire, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setRotationYawHead, setSneaking, setSprinting, setWorld, shouldRenderInPass, shouldRiderSit, toString, updateRidden, updateRiderPosition, writeToNBTcloseChest, decrStackSize, getInventoryStackLimit, getInvName, getStackInSlot, getStackInSlotOnClosing, isInvNameLocalized, isStackValidForSlot, isUseableByPlayer, onInventoryChanged, openChest, setInventorySlotContentspublic EntityMinecartHopper(World par1World)
public EntityMinecartHopper(World par1World, double par2, double par4, double par6)
public int getMinecartType()
getMinecartType in class EntityMinecartpublic Block getDefaultDisplayTile()
getDefaultDisplayTile in class EntityMinecartpublic int getDefaultDisplayTileOffset()
getDefaultDisplayTileOffset in class EntityMinecartpublic int getSizeInventory()
getSizeInventory in interface IInventorypublic boolean func_130002_c(EntityPlayer par1EntityPlayer)
func_130002_c in class EntityMinecartContainerpublic void onActivatorRailPass(int par1,
int par2,
int par3,
boolean par4)
onActivatorRailPass in class EntityMinecartpublic boolean getBlocked()
public void setBlocked(boolean par1)
public World getWorldObj()
getWorldObj in interface Hopperpublic double getXPos()
public double getYPos()
public double getZPos()
public void onUpdate()
onUpdate in class EntityMinecartpublic boolean func_96112_aD()
public void killMinecart(DamageSource par1DamageSource)
killMinecart in class EntityMinecartContainerpublic void setTransferTicker(int par1)
public boolean canTransfer()