public abstract class EntityMinecartContainer extends EntityMinecart implements ILockableContainer
EntityMinecart.EnumMinecartTypecanBePushed, canUseRail, defaultDragAir, defaultMaxSpeedAirLateral, defaultMaxSpeedAirVertical, dragAir, maxSpeedAirLateral, maxSpeedAirVerticaladdedToChunk, 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 |
|---|
EntityMinecartContainer(World worldIn) |
EntityMinecartContainer(World worldIn,
double p_i1717_2_,
double p_i1717_4_,
double p_i1717_6_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyDrag() |
void |
clear() |
void |
closeInventory(EntityPlayer player) |
ItemStack |
decrStackSize(int index,
int count) |
int |
getField(int id) |
int |
getFieldCount() |
int |
getInventoryStackLimit() |
LockCode |
getLockCode() |
java.lang.String |
getName() |
ItemStack |
getStackInSlot(int index) |
ItemStack |
getStackInSlotOnClosing(int index) |
boolean |
interactFirst(EntityPlayer playerIn) |
boolean |
isItemValidForSlot(int index,
ItemStack stack) |
boolean |
isLocked() |
boolean |
isUseableByPlayer(EntityPlayer player) |
void |
killMinecart(DamageSource p_94095_1_) |
void |
markDirty() |
void |
openInventory(EntityPlayer player) |
protected void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
setDead() |
void |
setField(int id,
int value) |
void |
setInventorySlotContents(int index,
ItemStack stack) |
void |
setLockCode(LockCode code) |
void |
travelToDimension(int dimensionId) |
protected void |
writeEntityToNBT(NBTTagCompound tagCompound) |
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, getDefaultDisplayTile, getDefaultDisplayTileOffset, getDisplayName, getDisplayTile, getDisplayTileOffset, getDragAir, getMaxCartSpeedOnRail, getMaxSpeed, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMinecartType, getMountedYOffset, getRollingAmplitude, getRollingDirection, getSlopeAdjustment, hasCustomName, hasDisplayTile, isPoweredCart, moveDerailedMinecart, moveMinecartOnRail, onActivatorRailPass, onUpdate, performHurtAnimation, setCanUseRail, setCollisionHandler, setCurrentCartSpeedCapOnRail, setCustomNameTag, setDamage, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setPosition, setRollingAmplitude, setRollingDirection, setVelocity, shouldDoRailFunctionsaddChatMessage, 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, writeToNBTOptionalclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSizeInventorycreateContainer, getGuiIDgetDisplayName, hasCustomNamepublic EntityMinecartContainer(World worldIn)
public EntityMinecartContainer(World worldIn, double p_i1717_2_, double p_i1717_4_, double p_i1717_6_)
public void killMinecart(DamageSource p_94095_1_)
killMinecart in class EntityMinecartpublic ItemStack getStackInSlot(int index)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int index, int count)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int index)
getStackInSlotOnClosing in interface IInventorypublic void setInventorySlotContents(int index,
ItemStack stack)
setInventorySlotContents in interface IInventorypublic void markDirty()
markDirty in interface IInventorypublic boolean isUseableByPlayer(EntityPlayer player)
isUseableByPlayer in interface IInventorypublic void openInventory(EntityPlayer player)
openInventory in interface IInventorypublic void closeInventory(EntityPlayer player)
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int index,
ItemStack stack)
isItemValidForSlot in interface IInventorypublic java.lang.String getName()
getName in interface ICommandSendergetName in interface IWorldNameablegetName in class EntityMinecartpublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic void travelToDimension(int dimensionId)
travelToDimension in class Entitypublic void setDead()
setDead in class EntityMinecartprotected void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class EntityMinecartprotected void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class EntityMinecartpublic boolean interactFirst(EntityPlayer playerIn)
interactFirst in class Entityprotected void applyDrag()
applyDrag in class EntityMinecartpublic int getField(int id)
getField in interface IInventorypublic void setField(int id,
int value)
setField in interface IInventorypublic int getFieldCount()
getFieldCount in interface IInventorypublic boolean isLocked()
isLocked in interface ILockableContainerpublic void setLockCode(LockCode code)
setLockCode in interface ILockableContainerpublic LockCode getLockCode()
getLockCode in interface ILockableContainerpublic void clear()
clear in interface IInventory