public abstract class EntityMinecartContainer extends EntityMinecart implements IInventory
defaultDragAir, defaultMaxSpeedAirLateral, defaultMaxSpeedAirVerticaladdedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dimension, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_82151_R, 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, skinUrl, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description | 
|---|
EntityMinecartContainer(World par1World)  | 
EntityMinecartContainer(World par1World,
                                              double par2,
                                              double par4,
                                              double par6)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
closeChest()  | 
ItemStack | 
decrStackSize(int par1,
                          int par2)
Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a
 new stack. 
 | 
boolean | 
func_94041_b(int par1,
                        ItemStack par2ItemStack)  | 
void | 
func_94095_a(DamageSource par1DamageSource)  | 
int | 
getInventoryStackLimit()
Returns the maximum stack size for a inventory slot. 
 | 
String | 
getInvName()
Returns the name of the inventory. 
 | 
ItemStack | 
getStackInSlot(int par1)
Returns the stack in slot i 
 | 
ItemStack | 
getStackInSlotOnClosing(int par1)
When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem -
 like when you close a workbench GUI. 
 | 
boolean | 
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. 
 | 
boolean | 
isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container 
 | 
void | 
onInventoryChanged()
Called when an the contents of an Inventory change, usually 
 | 
void | 
openChest()  | 
void | 
setDead()
Will get destroyed next tick. 
 | 
void | 
setInventorySlotContents(int par1,
                                                ItemStack par2ItemStack)
Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections). 
 | 
void | 
travelToDimension(int par1)
Teleports the entity to another dimension. 
 | 
applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canBeRidden, canUseRail, func_70489_a, func_70495_a, func_94042_c, func_94085_r, func_94086_l, func_94087_l, func_94089_m, func_94090_a, func_94092_k, func_94093_n, func_94094_j, func_94096_e, func_94097_p, func_94098_o, func_94099_q, func_94100_s, func_95999_t, func_96094_a, func_96095_a, getBoundingBox, getCartItem, getCollisionBox, getCollisionHandler, getCurrentCartSpeedCapOnRail, getDamage, getDragAir, getEntityName, getMaxCartSpeedOnRail, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getRollingAmplitude, getRollingDirection, getShadowSize, getSlopeAdjustment, isPoweredCart, moveMinecartOnRail, onUpdate, performHurtAnimation, setCanUseRail, setCollisionHandler, setCurrentCartSpeedCapOnRail, setDamage, setDragAir, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setPositionAndRotation2, setRollingAmplitude, setRollingDirection, setVelocity, shouldDoRailFunctionsaddEntityID, addToPlayerScore, addVelocity, canAttackWithItem, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_82143_as, func_82146_a, func_82148_at, func_82149_j, func_85029_a, func_85031_j, func_96090_ax, func_96091_a, func_96092_aw, func_98034_c, func_98035_c, getAir, getBrightness, getBrightnessForRender, getCollisionBorderSize, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEyeHeight, getHasActivePotion, getLastActiveItems, getLookVec, getMaxInPortalTime, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getTexture, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, playSound, readFromNBT, resetEntityId, setAir, setAngles, setCurrentItemOrArmor, setEating, setFire, setHasActivePotion, setInPortal, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setRotationYawHead, setSneaking, setSprinting, setWorld, shouldRenderInPass, shouldRiderSit, toString, unmountEntity, updateCloak, updateRidden, updateRiderPosition, writeToNBTfunc_94042_c, getSizeInventorypublic EntityMinecartContainer(World par1World)
public EntityMinecartContainer(World par1World, double par2, double par4, double par6)
public void func_94095_a(DamageSource par1DamageSource)
func_94095_a in class EntityMinecartpublic ItemStack getStackInSlot(int par1)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int par1, int par2)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int par1)
getStackInSlotOnClosing in interface IInventorypublic void setInventorySlotContents(int par1, ItemStack par2ItemStack)
setInventorySlotContents in interface IInventorypublic void onInventoryChanged()
onInventoryChanged in interface IInventorypublic boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
isUseableByPlayer in interface IInventorypublic void openChest()
openChest in interface IInventorypublic void closeChest()
closeChest in interface IInventorypublic boolean func_94041_b(int par1, ItemStack par2ItemStack)
func_94041_b in interface IInventorypublic String getInvName()
getInvName in interface IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic void travelToDimension(int par1)
travelToDimension in class Entitypublic void setDead()
setDead in class EntityMinecartpublic boolean interact(EntityPlayer par1EntityPlayer)