public class EntityMinecartHopper extends EntityMinecartContainer implements IHopper
EntityMinecart.EnumMinecartType
canBePushed, canUseRail, defaultDragAir, defaultMaxSpeedAirLateral, defaultMaxSpeedAirVertical, dragAir, maxSpeedAirLateral, maxSpeedAirVertical
addedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, 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
Constructor and Description |
---|
EntityMinecartHopper(World worldIn) |
EntityMinecartHopper(World worldIn,
double p_i1721_2_,
double p_i1721_4_,
double p_i1721_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransfer() |
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
boolean |
func_96112_aD() |
boolean |
getBlocked() |
IBlockState |
getDefaultDisplayTile() |
int |
getDefaultDisplayTileOffset() |
java.lang.String |
getGuiID() |
EntityMinecart.EnumMinecartType |
getMinecartType() |
int |
getSizeInventory() |
World |
getWorld() |
double |
getXPos() |
double |
getYPos() |
double |
getZPos() |
boolean |
interactFirst(EntityPlayer playerIn) |
void |
killMinecart(DamageSource p_94095_1_) |
void |
onActivatorRailPass(int p_96095_1_,
int p_96095_2_,
int p_96095_3_,
boolean p_96095_4_) |
void |
onUpdate() |
protected void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
setBlocked(boolean p_96110_1_) |
void |
setTransferTicker(int p_98042_1_) |
protected void |
writeEntityToNBT(NBTTagCompound tagCompound) |
applyDrag, clear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getLockCode, getName, getStackInSlot, getStackInSlotOnClosing, isItemValidForSlot, isLocked, isUseableByPlayer, markDirty, openInventory, setDead, setField, setInventorySlotContents, setLockCode, travelToDimension
applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canBeRidden, canTriggerWalking, canUseRail, entityInit, func_174898_m, func_174899_a, func_180426_a, func_180458_a, func_180460_a, func_70489_a, func_70495_a, getBoundingBox, getCartItem, getCollisionBox, getCollisionHandler, getCurrentCartSpeedCapOnRail, getCustomNameTag, getDamage, getDisplayName, getDisplayTile, getDisplayTileOffset, getDragAir, getMaxCartSpeedOnRail, getMaxSpeed, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getRollingAmplitude, getRollingDirection, getSlopeAdjustment, hasCustomName, hasDisplayTile, isPoweredCart, moveDerailedMinecart, moveMinecartOnRail, performHurtAnimation, setCanUseRail, setCollisionHandler, setCurrentCartSpeedCapOnRail, setCustomNameTag, setDamage, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setPosition, setRollingAmplitude, setRollingDirection, setVelocity, shouldDoRailFunctions
addChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, canAttackWithItem, canRenderOnFire, canRiderInteract, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174827_a, func_174834_g, func_180427_aV, func_180433_a, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCommandSenderEntity, getDataWatcher, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getEyeHeight, getFlag, getHorizontalFacing, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleHealthUpdate, handleWaterMovement, hashCode, hitByEntity, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, replaceItemInInventory, resetEntityId, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCommandStat, setCurrentItemOrArmor, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPositionAndRotation, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getStackInSlot, getStackInSlotOnClosing, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setField, setInventorySlotContents
getDisplayName, getName, hasCustomName
public EntityMinecartHopper(World worldIn)
public EntityMinecartHopper(World worldIn, double p_i1721_2_, double p_i1721_4_, double p_i1721_6_)
public EntityMinecart.EnumMinecartType getMinecartType()
getMinecartType
in class EntityMinecart
public IBlockState getDefaultDisplayTile()
getDefaultDisplayTile
in class EntityMinecart
public int getDefaultDisplayTileOffset()
getDefaultDisplayTileOffset
in class EntityMinecart
public int getSizeInventory()
getSizeInventory
in interface IInventory
public boolean interactFirst(EntityPlayer playerIn)
interactFirst
in class EntityMinecartContainer
public void onActivatorRailPass(int p_96095_1_, int p_96095_2_, int p_96095_3_, boolean p_96095_4_)
onActivatorRailPass
in class EntityMinecart
public boolean getBlocked()
public void setBlocked(boolean p_96110_1_)
public void onUpdate()
onUpdate
in class EntityMinecart
public boolean func_96112_aD()
public void killMinecart(DamageSource p_94095_1_)
killMinecart
in class EntityMinecartContainer
protected void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT
in class EntityMinecartContainer
protected void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT
in class EntityMinecartContainer
public void setTransferTicker(int p_98042_1_)
public boolean canTransfer()
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject