public class EntityMinecartHopper extends EntityMinecartContainer implements IHopper
Entity.EnumEntitySizecanBePushed, canUseRail, defaultDragAir, defaultMaxSpeedAirLateral, defaultMaxSpeedAirVertical, dragAir, maxSpeedAirLateral, maxSpeedAirVerticaladdedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, 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() |
Block |
func_145817_o() |
boolean |
func_96112_aD() |
boolean |
getBlocked() |
int |
getDefaultDisplayTileOffset() |
int |
getMinecartType() |
int |
getSizeInventory() |
World |
getWorldObj() |
double |
getXPos() |
double |
getYPos() |
double |
getZPos() |
boolean |
interactFirst(EntityPlayer par1EntityPlayer) |
void |
killMinecart(DamageSource par1DamageSource) |
void |
onActivatorRailPass(int par1,
int par2,
int par3,
boolean par4) |
void |
onUpdate() |
protected void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setBlocked(boolean par1) |
void |
setTransferTicker(int par1) |
protected void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
applyDrag, closeInventory, decrStackSize, getInventoryName, getInventoryStackLimit, getStackInSlot, getStackInSlotOnClosing, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setDead, setInventorySlotContents, travelToDimensionapplyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canBeRidden, canTriggerWalking, canUseRail, createMinecart, entityInit, func_145819_k, func_145820_n, func_145821_a, func_70489_a, func_70495_a, func_94088_b, func_95999_t, getBoundingBox, getCartItem, getCollisionBox, getCollisionHandler, getCommandSenderName, getCurrentCartSpeedCapOnRail, getDamage, getDefaultDisplayTileData, getDisplayTileData, getDisplayTileOffset, getDragAir, getMaxCartSpeedOnRail, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getRollingAmplitude, getRollingDirection, getShadowSize, getSlopeAdjustment, hasCustomInventoryName, hasDisplayTile, isPoweredCart, moveMinecartOnRail, performHurtAnimation, setCanUseRail, setCollisionHandler, setCurrentCartSpeedCapOnRail, setDamage, setDisplayTileData, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setMinecartName, setPositionAndRotation2, setRollingAmplitude, setRollingDirection, setVelocity, shouldDoRailFunctionsaddEntityCrashInfo, addToPlayerScore, addVelocity, canAttackWithItem, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBrightness, getBrightnessForRender, getCollisionBorderSize, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalclone, finalize, getClass, notify, notifyAll, wait, wait, waitcloseInventory, decrStackSize, getInventoryName, getInventoryStackLimit, getStackInSlot, getStackInSlotOnClosing, hasCustomInventoryName, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setInventorySlotContentspublic EntityMinecartHopper(World par1World)
public EntityMinecartHopper(World par1World, double par2, double par4, double par6)
public int getMinecartType()
getMinecartType in class EntityMinecartpublic Block func_145817_o()
func_145817_o in class EntityMinecartpublic int getDefaultDisplayTileOffset()
getDefaultDisplayTileOffset in class EntityMinecartpublic int getSizeInventory()
getSizeInventory in interface IInventorypublic boolean interactFirst(EntityPlayer par1EntityPlayer)
interactFirst 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 IHopperpublic void onUpdate()
onUpdate in class EntityMinecartpublic boolean func_96112_aD()
public void killMinecart(DamageSource par1DamageSource)
killMinecart in class EntityMinecartContainerprotected void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityMinecartContainerprotected void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityMinecartContainerpublic void setTransferTicker(int par1)
public boolean canTransfer()