public abstract class EntityMinecartContainer extends EntityMinecart implements IInventory
Entity.EnumEntitySize
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, 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 |
---|
EntityMinecartContainer(World p_i1716_1_) |
EntityMinecartContainer(World p_i1717_1_,
double p_i1717_2_,
double p_i1717_4_,
double p_i1717_6_) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyDrag() |
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
ItemStack |
getStackInSlot(int p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
boolean |
interactFirst(EntityPlayer p_130002_1_) |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
killMinecart(DamageSource p_94095_1_) |
void |
markDirty() |
void |
openInventory() |
protected void |
readEntityFromNBT(NBTTagCompound p_70037_1_) |
void |
setDead() |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
void |
travelToDimension(int p_71027_1_) |
protected void |
writeEntityToNBT(NBTTagCompound p_70014_1_) |
applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canTriggerWalking, createMinecart, entityInit, func_145817_o, func_145819_k, func_145820_n, func_145821_a, func_70489_a, func_70495_a, func_94088_b, func_95999_t, getBoundingBox, getCollisionBox, getCommandSenderName, getDamage, getDefaultDisplayTileData, getDefaultDisplayTileOffset, getDisplayTileData, getDisplayTileOffset, getMinecartType, getMountedYOffset, getRollingAmplitude, getRollingDirection, getShadowSize, hasCustomInventoryName, hasDisplayTile, onActivatorRailPass, onUpdate, performHurtAnimation, setDamage, setDisplayTileData, setDisplayTileOffset, setHasDisplayTile, setMinecartName, setPositionAndRotation2, setRollingAmplitude, setRollingDirection, setVelocity
addEntityCrashInfo, addToPlayerScore, addVelocity, canAttackWithItem, canRenderOnFire, 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, getEntityId, getEntityString, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getParts, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, isBurning, 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, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldSetPosAfterLoading, toString, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getSizeInventory, hasCustomInventoryName
public EntityMinecartContainer(World p_i1716_1_)
public EntityMinecartContainer(World p_i1717_1_, double p_i1717_2_, double p_i1717_4_, double p_i1717_6_)
public void killMinecart(DamageSource p_94095_1_)
killMinecart
in class EntityMinecart
public ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize
in interface IInventory
public ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing
in interface IInventory
public void setInventorySlotContents(int p_70299_1_, ItemStack p_70299_2_)
setInventorySlotContents
in interface IInventory
public void markDirty()
markDirty
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer
in interface IInventory
public void openInventory()
openInventory
in interface IInventory
public void closeInventory()
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_)
isItemValidForSlot
in interface IInventory
public java.lang.String getInventoryName()
getInventoryName
in interface IInventory
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public void travelToDimension(int p_71027_1_)
travelToDimension
in class Entity
public void setDead()
setDead
in class EntityMinecart
protected void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class EntityMinecart
protected void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class EntityMinecart
public boolean interactFirst(EntityPlayer p_130002_1_)
interactFirst
in class Entity
protected void applyDrag()
applyDrag
in class EntityMinecart