public abstract class EntityMinecart extends Entity
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 |
---|
EntityMinecart(World p_i1712_1_) |
EntityMinecart(World p_i1713_1_,
double p_i1713_2_,
double p_i1713_4_,
double p_i1713_6_) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyDrag() |
void |
applyEntityCollision(Entity p_70108_1_) |
boolean |
attackEntityFrom(DamageSource p_70097_1_,
float p_70097_2_) |
boolean |
canBeCollidedWith() |
boolean |
canBePushed() |
protected boolean |
canTriggerWalking() |
static EntityMinecart |
createMinecart(World p_94090_0_,
double p_94090_1_,
double p_94090_3_,
double p_94090_5_,
int p_94090_7_) |
protected void |
entityInit() |
Block |
func_145817_o() |
void |
func_145819_k(int p_145819_1_) |
Block |
func_145820_n() |
protected void |
func_145821_a(int p_145821_1_,
int p_145821_2_,
int p_145821_3_,
double p_145821_4_,
double p_145821_6_,
Block p_145821_8_,
int p_145821_9_) |
Vec3 |
func_70489_a(double p_70489_1_,
double p_70489_3_,
double p_70489_5_) |
Vec3 |
func_70495_a(double p_70495_1_,
double p_70495_3_,
double p_70495_5_,
double p_70495_7_) |
protected void |
func_94088_b(double p_94088_1_) |
java.lang.String |
func_95999_t() |
AxisAlignedBB |
getBoundingBox() |
AxisAlignedBB |
getCollisionBox(Entity p_70114_1_) |
java.lang.String |
getCommandSenderName() |
float |
getDamage() |
int |
getDefaultDisplayTileData() |
int |
getDefaultDisplayTileOffset() |
int |
getDisplayTileData() |
int |
getDisplayTileOffset() |
abstract int |
getMinecartType() |
double |
getMountedYOffset() |
int |
getRollingAmplitude() |
int |
getRollingDirection() |
float |
getShadowSize() |
boolean |
hasCustomInventoryName() |
boolean |
hasDisplayTile() |
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() |
void |
performHurtAnimation() |
protected void |
readEntityFromNBT(NBTTagCompound p_70037_1_) |
void |
setDamage(float p_70492_1_) |
void |
setDead() |
void |
setDisplayTileData(int p_94092_1_) |
void |
setDisplayTileOffset(int p_94086_1_) |
void |
setHasDisplayTile(boolean p_94096_1_) |
void |
setMinecartName(java.lang.String p_96094_1_) |
void |
setPositionAndRotation2(double p_70056_1_,
double p_70056_3_,
double p_70056_5_,
float p_70056_7_,
float p_70056_8_,
int p_70056_9_) |
void |
setRollingAmplitude(int p_70497_1_) |
void |
setRollingDirection(int p_70494_1_) |
void |
setVelocity(double p_70016_1_,
double p_70016_3_,
double p_70016_5_) |
protected void |
writeEntityToNBT(NBTTagCompound p_70014_1_) |
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, interactFirst, 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, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntityMinecart(World p_i1712_1_)
public EntityMinecart(World p_i1713_1_, double p_i1713_2_, double p_i1713_4_, double p_i1713_6_)
public static EntityMinecart createMinecart(World p_94090_0_, double p_94090_1_, double p_94090_3_, double p_94090_5_, int p_94090_7_)
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public AxisAlignedBB getCollisionBox(Entity p_70114_1_)
getCollisionBox
in class Entity
public AxisAlignedBB getBoundingBox()
getBoundingBox
in class Entity
public boolean canBePushed()
canBePushed
in class Entity
public double getMountedYOffset()
getMountedYOffset
in class Entity
public boolean attackEntityFrom(DamageSource p_70097_1_, float p_70097_2_)
attackEntityFrom
in class Entity
public void killMinecart(DamageSource p_94095_1_)
public void performHurtAnimation()
performHurtAnimation
in class Entity
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public void onActivatorRailPass(int p_96095_1_, int p_96095_2_, int p_96095_3_, boolean p_96095_4_)
protected void func_94088_b(double p_94088_1_)
protected void func_145821_a(int p_145821_1_, int p_145821_2_, int p_145821_3_, double p_145821_4_, double p_145821_6_, Block p_145821_8_, int p_145821_9_)
protected void applyDrag()
public Vec3 func_70495_a(double p_70495_1_, double p_70495_3_, double p_70495_5_, double p_70495_7_)
public Vec3 func_70489_a(double p_70489_1_, double p_70489_3_, double p_70489_5_)
protected void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class Entity
protected void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public void applyEntityCollision(Entity p_70108_1_)
applyEntityCollision
in class Entity
public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_)
setPositionAndRotation2
in class Entity
public void setDamage(float p_70492_1_)
public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_)
setVelocity
in class Entity
public float getDamage()
public void setRollingAmplitude(int p_70497_1_)
public int getRollingAmplitude()
public void setRollingDirection(int p_70494_1_)
public int getRollingDirection()
public abstract int getMinecartType()
public Block func_145820_n()
public Block func_145817_o()
public int getDisplayTileData()
public int getDefaultDisplayTileData()
public int getDisplayTileOffset()
public int getDefaultDisplayTileOffset()
public void func_145819_k(int p_145819_1_)
public void setDisplayTileData(int p_94092_1_)
public void setDisplayTileOffset(int p_94086_1_)
public boolean hasDisplayTile()
public void setHasDisplayTile(boolean p_94096_1_)
public void setMinecartName(java.lang.String p_96094_1_)
public java.lang.String getCommandSenderName()
getCommandSenderName
in class Entity
public boolean hasCustomInventoryName()
public java.lang.String func_95999_t()