YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.item.EntityMinecart Class Referenceabstract
Inheritance diagram for net.minecraft.entity.item.EntityMinecart:
net.minecraft.entity.Entity net.minecraft.entity.ai.EntityMinecartMobSpawner net.minecraft.entity.item.EntityMinecartContainer net.minecraft.entity.item.EntityMinecartEmpty net.minecraft.entity.item.EntityMinecartFurnace net.minecraft.entity.item.EntityMinecartTNT net.minecraft.entity.item.EntityMinecartChest net.minecraft.entity.item.EntityMinecartHopper

Public Member Functions

 EntityMinecart (World par1World)
 
AxisAlignedBB getCollisionBox (Entity par1Entity)
 
AxisAlignedBB getBoundingBox ()
 
boolean canBePushed ()
 
 EntityMinecart (World par1World, double par2, double par4, double par6)
 
double getMountedYOffset ()
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
void killMinecart (DamageSource par1DamageSource)
 
void performHurtAnimation ()
 
boolean canBeCollidedWith ()
 
void setDead ()
 
void onUpdate ()
 
void onActivatorRailPass (int par1, int par2, int par3, boolean par4)
 
Vec3 func_70495_a (double par1, double par3, double par5, double par7)
 
Vec3 func_70489_a (double par1, double par3, double par5)
 
float getShadowSize ()
 
void applyEntityCollision (Entity par1Entity)
 
void setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9)
 
void setVelocity (double par1, double par3, double par5)
 
void setDamage (int par1)
 
int getDamage ()
 
void setRollingAmplitude (int par1)
 
int getRollingAmplitude ()
 
void setRollingDirection (int par1)
 
int getRollingDirection ()
 
abstract int getMinecartType ()
 
Block getDisplayTile ()
 
Block getDefaultDisplayTile ()
 
int getDisplayTileData ()
 
int getDefaultDisplayTileData ()
 
int getDisplayTileOffset ()
 
int getDefaultDisplayTileOffset ()
 
void setDisplayTile (int par1)
 
void setDisplayTileData (int par1)
 
void setDisplayTileOffset (int par1)
 
boolean hasDisplayTile ()
 
void setHasDisplayTile (boolean par1)
 
void func_96094_a (String par1Str)
 
String getEntityName ()
 
boolean isInvNameLocalized ()
 
String func_95999_t ()
 
void moveMinecartOnRail (int x, int y, int z, double par4)
 
ItemStack getCartItem ()
 
boolean canUseRail ()
 
void setCanUseRail (boolean use)
 
boolean shouldDoRailFunctions ()
 
boolean isPoweredCart ()
 
boolean canBeRidden ()
 
float getMaxCartSpeedOnRail ()
 
final float getCurrentCartSpeedCapOnRail ()
 
final void setCurrentCartSpeedCapOnRail (float value)
 
float getMaxSpeedAirLateral ()
 
void setMaxSpeedAirLateral (float value)
 
float getMaxSpeedAirVertical ()
 
void setMaxSpeedAirVertical (float value)
 
double getDragAir ()
 
void setDragAir (double value)
 
double getSlopeAdjustment ()
 
- Public Member Functions inherited from net.minecraft.entity.Entity
 Entity (World par1World)
 
DataWatcher getDataWatcher ()
 
boolean equals (Object par1Obj)
 
int hashCode ()
 
void setDead ()
 
void setPosition (double par1, double par3, double par5)
 
void setAngles (float par1, float par2)
 
void onUpdate ()
 
void onEntityUpdate ()
 
int getMaxInPortalTime ()
 
void setFire (int par1)
 
void extinguish ()
 
boolean isOffsetPositionInLiquid (double par1, double par3, double par5)
 
void moveEntity (double par1, double par3, double par5)
 
void playSound (String par1Str, float par2, float par3)
 
AxisAlignedBB getBoundingBox ()
 
final boolean isImmuneToFire ()
 
boolean isWet ()
 
boolean isInWater ()
 
boolean handleWaterMovement ()
 
boolean isInsideOfMaterial (Material par1Material)
 
float getEyeHeight ()
 
boolean handleLavaMovement ()
 
void moveFlying (float par1, float par2, float par3)
 
int getBrightnessForRender (float par1)
 
float getBrightness (float par1)
 
void setWorld (World par1World)
 
void setPositionAndRotation (double par1, double par3, double par5, float par7, float par8)
 
void setLocationAndAngles (double par1, double par3, double par5, float par7, float par8)
 
float getDistanceToEntity (Entity par1Entity)
 
double getDistanceSq (double par1, double par3, double par5)
 
double getDistance (double par1, double par3, double par5)
 
double getDistanceSqToEntity (Entity par1Entity)
 
void onCollideWithPlayer (EntityPlayer par1EntityPlayer)
 
void applyEntityCollision (Entity par1Entity)
 
void addVelocity (double par1, double par3, double par5)
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
boolean canBeCollidedWith ()
 
boolean canBePushed ()
 
void addToPlayerScore (Entity par1Entity, int par2)
 
boolean addNotRiddenEntityID (NBTTagCompound par1NBTTagCompound)
 
boolean isInRangeToRenderVec3D (Vec3 par1Vec3)
 
boolean isInRangeToRenderDist (double par1)
 
String getTexture ()
 
boolean addEntityID (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
float getShadowSize ()
 
EntityItem dropItem (int par1, int par2)
 
EntityItem dropItemWithOffset (int par1, int par2, float par3)
 
EntityItem entityDropItem (ItemStack par1ItemStack, float par2)
 
boolean isEntityAlive ()
 
boolean isEntityInsideOpaqueBlock ()
 
boolean interact (EntityPlayer par1EntityPlayer)
 
AxisAlignedBB getCollisionBox (Entity par1Entity)
 
void updateRidden ()
 
void updateRiderPosition ()
 
double getYOffset ()
 
double getMountedYOffset ()
 
void mountEntity (Entity par1Entity)
 
void unmountEntity (Entity par1Entity)
 
void setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9)
 
float getCollisionBorderSize ()
 
Vec3 getLookVec ()
 
void setInPortal ()
 
int getPortalCooldown ()
 
void setVelocity (double par1, double par3, double par5)
 
void handleHealthUpdate (byte par1)
 
void performHurtAnimation ()
 
void updateCloak ()
 
ItemStack[] getLastActiveItems ()
 
void setCurrentItemOrArmor (int par1, ItemStack par2ItemStack)
 
boolean isBurning ()
 
boolean isRiding ()
 
boolean isSneaking ()
 
void setSneaking (boolean par1)
 
boolean isSprinting ()
 
void setSprinting (boolean par1)
 
boolean isInvisible ()
 
boolean func_98034_c (EntityPlayer par1EntityPlayer)
 
void setInvisible (boolean par1)
 
boolean isEating ()
 
void setEating (boolean par1)
 
int getAir ()
 
void setAir (int par1)
 
void onStruckByLightning (EntityLightningBolt par1EntityLightningBolt)
 
void onKillEntity (EntityLiving par1EntityLiving)
 
void setInWeb ()
 
String getEntityName ()
 
Entity[] getParts ()
 
boolean isEntityEqual (Entity par1Entity)
 
float getRotationYawHead ()
 
void setRotationYawHead (float par1)
 
boolean canAttackWithItem ()
 
boolean func_85031_j (Entity par1Entity)
 
String toString ()
 
boolean isEntityInvulnerable ()
 
void func_82149_j (Entity par1Entity)
 
void copyDataFrom (Entity par1Entity, boolean par2)
 
void travelToDimension (int par1)
 
float func_82146_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, Block par6Block)
 
boolean func_96091_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, int par6, float par7)
 
int func_82143_as ()
 
int getTeleportDirection ()
 
boolean doesEntityNotTriggerPressurePlate ()
 
void func_85029_a (CrashReportCategory par1CrashReportCategory)
 
boolean canRenderOnFire ()
 
boolean func_96092_aw ()
 
String getTranslatedEntityName ()
 
NBTTagCompound getEntityData ()
 
boolean shouldRiderSit ()
 
ItemStack getPickedResult (MovingObjectPosition target)
 
UUID getPersistentID ()
 
final void resetEntityId ()
 
boolean shouldRenderInPass (int pass)
 
boolean isCreatureType (EnumCreatureType type, boolean forSpawnCount)
 
String registerExtendedProperties (String identifier, IExtendedEntityProperties properties)
 
IExtendedEntityProperties getExtendedProperties (String identifier)
 

Static Public Member Functions

static EntityMinecart createMinecart (World par0World, double par1, double par3, double par5, int par7)
 
static IMinecartCollisionHandler getCollisionHandler ()
 
static void setCollisionHandler (IMinecartCollisionHandler handler)
 

Static Public Attributes

static float defaultMaxSpeedAirLateral = 0.4f
 
static float defaultMaxSpeedAirVertical = -1f
 
static double defaultDragAir = 0.94999998807907104D
 

Protected Member Functions

boolean canTriggerWalking ()
 
void entityInit ()
 
void func_94088_b (double par1)
 
void updateOnTrack (int par1, int par2, int par3, double par4, double par6, int par8, int par9)
 
void applyDrag ()
 
void readEntityFromNBT (NBTTagCompound par1NBTTagCompound)
 
void writeEntityToNBT (NBTTagCompound par1NBTTagCompound)
 
- Protected Member Functions inherited from net.minecraft.entity.Entity
void preparePlayerToSpawn ()
 
void setSize (float par1, float par2)
 
void setRotation (float par1, float par2)
 
void setOnFireFromLava ()
 
void kill ()
 
void doBlockCollisions ()
 
void playStepSound (int par1, int par2, int par3, int par4)
 
boolean canTriggerWalking ()
 
void updateFallState (double par1, boolean par3)
 
void dealFireDamage (int par1)
 
void fall (float par1)
 
void setBeenAttacked ()
 
final String getEntityString ()
 
NBTTagList newDoubleNBTList (double...par1ArrayOfDouble)
 
NBTTagList newFloatNBTList (float...par1ArrayOfFloat)
 
boolean getFlag (int par1)
 
void setFlag (int par1, boolean par2)
 
boolean pushOutOfBlocks (double par1, double par3, double par5)
 

Protected Attributes

boolean isInReverse
 
final IUpdatePlayerListBox field_82344_g
 
String entityName
 
int turnProgress
 
double minecartX
 
double minecartY
 
double minecartZ
 
double minecartYaw
 
double minecartPitch
 
double velocityX
 
double velocityY
 
double velocityZ
 
boolean canUseRail = true
 
boolean canBePushed = true
 
float maxSpeedAirLateral = defaultMaxSpeedAirLateral
 
float maxSpeedAirVertical = defaultMaxSpeedAirVertical
 
double dragAir = defaultDragAir
 
- Protected Attributes inherited from net.minecraft.entity.Entity
boolean isInWeb
 
Random rand
 
boolean inWater
 
boolean isImmuneToFire
 
DataWatcher dataWatcher
 
boolean inPortal
 
int timeInPortal
 
int teleportDirection
 

Static Protected Attributes

static final int[][][] matrix = new int[][][] {{{0, 0, -1}, {0, 0, 1}}, {{ -1, 0, 0}, {1, 0, 0}}, {{ -1, -1, 0}, {1, 0, 0}}, {{ -1, 0, 0}, {1, -1, 0}}, {{0, 0, -1}, {0, -1, 1}}, {{0, -1, -1}, {0, 0, 1}}, {{0, 0, 1}, {1, 0, 0}}, {{0, 0, 1}, { -1, 0, 0}}, {{0, 0, -1}, { -1, 0, 0}}, {{0, 0, -1}, {1, 0, 0}}}
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.entity.Entity
int entityId
 
double renderDistanceWeight
 
boolean preventEntitySpawning
 
Entity riddenByEntity
 
Entity ridingEntity
 
boolean field_98038_p
 
World worldObj
 
double prevPosX
 
double prevPosY
 
double prevPosZ
 
double posX
 
double posY
 
double posZ
 
double motionX
 
double motionY
 
double motionZ
 
float rotationYaw
 
float rotationPitch
 
float prevRotationYaw
 
float prevRotationPitch
 
final AxisAlignedBB boundingBox
 
boolean onGround
 
boolean isCollidedHorizontally
 
boolean isCollidedVertically
 
boolean isCollided
 
boolean velocityChanged
 
boolean field_70135_K
 
boolean isDead
 
float yOffset
 
float width
 
float height
 
float prevDistanceWalkedModified
 
float distanceWalkedModified
 
float distanceWalkedOnStepModified
 
float fallDistance
 
double lastTickPosX
 
double lastTickPosY
 
double lastTickPosZ
 
float ySize
 
float stepHeight
 
boolean noClip
 
float entityCollisionReduction
 
int ticksExisted
 
int fireResistance
 
int hurtResistantTime
 
String skinUrl
 
String cloakUrl
 
boolean addedToChunk
 
int chunkCoordX
 
int chunkCoordY
 
int chunkCoordZ
 
int serverPosX
 
int serverPosY
 
int serverPosZ
 
boolean ignoreFrustumCheck
 
boolean isAirBorne
 
int timeUntilPortal
 
int dimension
 
EnumEntitySize myEntitySize
 
boolean captureDrops = false
 
ArrayList< EntityItemcapturedDrops = new ArrayList<EntityItem>()
 

Constructor & Destructor Documentation

net.minecraft.entity.item.EntityMinecart.EntityMinecart ( World  par1World)
net.minecraft.entity.item.EntityMinecart.EntityMinecart ( World  par1World,
double  par2,
double  par4,
double  par6 
)

Member Function Documentation

void net.minecraft.entity.item.EntityMinecart.applyDrag ( )
protected
void net.minecraft.entity.item.EntityMinecart.applyEntityCollision ( Entity  par1Entity)

Applies a velocity to each of the entities pushing them away from each other. Args: entity

boolean net.minecraft.entity.item.EntityMinecart.attackEntityFrom ( DamageSource  par1DamageSource,
int  par2 
)

Called when the entity is attacked.

boolean net.minecraft.entity.item.EntityMinecart.canBeCollidedWith ( )

Returns true if other Entities should be prevented from moving through this Entity.

boolean net.minecraft.entity.item.EntityMinecart.canBePushed ( )

Returns true if this entity should push and be pushed by other entities when colliding.

boolean net.minecraft.entity.item.EntityMinecart.canBeRidden ( )

Returns true if this cart can be ridden by an Entity.

Returns
True if this cart can be ridden.
boolean net.minecraft.entity.item.EntityMinecart.canTriggerWalking ( )
protected

returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to prevent them from trampling crops

boolean net.minecraft.entity.item.EntityMinecart.canUseRail ( )

Returns true if this cart can currently use rails. This function is mainly used to gracefully detach a minecart from a rail.

Returns
True if the minecart can use rails.
static EntityMinecart net.minecraft.entity.item.EntityMinecart.createMinecart ( World  par0World,
double  par1,
double  par3,
double  par5,
int  par7 
)
static

Creates a new minecart of the specified type in the specified location in the given world. par0World - world to create the minecart in, double par1,par3,par5 represent x,y,z respectively. int par7 specifies the type: 1 for MinecartChest, 2 for MinecartFurnace, 3 for MinecartTNT, 4 for MinecartMobSpawner, 5 for MinecartHopper and 0 for a standard empty minecart

void net.minecraft.entity.item.EntityMinecart.entityInit ( )
protectedvirtual
Vec3 net.minecraft.entity.item.EntityMinecart.func_70489_a ( double  par1,
double  par3,
double  par5 
)
Vec3 net.minecraft.entity.item.EntityMinecart.func_70495_a ( double  par1,
double  par3,
double  par5,
double  par7 
)
void net.minecraft.entity.item.EntityMinecart.func_94088_b ( double  par1)
protected
String net.minecraft.entity.item.EntityMinecart.func_95999_t ( )
void net.minecraft.entity.item.EntityMinecart.func_96094_a ( String  par1Str)
AxisAlignedBB net.minecraft.entity.item.EntityMinecart.getBoundingBox ( )

returns the bounding box for this entity

ItemStack net.minecraft.entity.item.EntityMinecart.getCartItem ( )

This function returns an ItemStack that represents this cart. This should be an ItemStack that can be used by the player to place the cart, but is not necessary the item the cart drops when destroyed.

Returns
An ItemStack that can be used to place the cart.
AxisAlignedBB net.minecraft.entity.item.EntityMinecart.getCollisionBox ( Entity  par1Entity)

Returns a boundingBox used to collide the entity with other entities and blocks. This enables the entity to be pushable on contact, like boats or minecarts.

static IMinecartCollisionHandler net.minecraft.entity.item.EntityMinecart.getCollisionHandler ( )
static

Gets the current global Minecart Collision handler if none is registered, returns null

Returns
The collision handler or null
final float net.minecraft.entity.item.EntityMinecart.getCurrentCartSpeedCapOnRail ( )

Returns the current speed cap for the cart when traveling on rails. This functions differs from getMaxCartSpeedOnRail() in that it controls current movement and cannot be overridden. The value however can never be higher than getMaxCartSpeedOnRail().

Returns
int net.minecraft.entity.item.EntityMinecart.getDamage ( )

Gets the current amount of damage the minecart has taken. Decreases over time. The cart breaks when this is over 40.

Block net.minecraft.entity.item.EntityMinecart.getDefaultDisplayTile ( )
int net.minecraft.entity.item.EntityMinecart.getDefaultDisplayTileData ( )
int net.minecraft.entity.item.EntityMinecart.getDefaultDisplayTileOffset ( )
Block net.minecraft.entity.item.EntityMinecart.getDisplayTile ( )
int net.minecraft.entity.item.EntityMinecart.getDisplayTileData ( )
int net.minecraft.entity.item.EntityMinecart.getDisplayTileOffset ( )
double net.minecraft.entity.item.EntityMinecart.getDragAir ( )
String net.minecraft.entity.item.EntityMinecart.getEntityName ( )

Gets the username of the entity.

float net.minecraft.entity.item.EntityMinecart.getMaxCartSpeedOnRail ( )

Getters/setters for physics variables Returns the carts max speed when traveling on rails. Carts going faster than 1.1 cause issues with chunk loading. Carts cant traverse slopes or corners at greater than 0.5 - 0.6. This value is compared with the rails max speed and the carts current speed cap to determine the carts current max speed. A normal rail's max speed is 0.4.

Returns
Carts max speed.
float net.minecraft.entity.item.EntityMinecart.getMaxSpeedAirLateral ( )
float net.minecraft.entity.item.EntityMinecart.getMaxSpeedAirVertical ( )
double net.minecraft.entity.item.EntityMinecart.getMountedYOffset ( )

Returns the Y offset from the entity's position for any entity riding this one.

int net.minecraft.entity.item.EntityMinecart.getRollingAmplitude ( )

Gets the rolling amplitude the cart rolls while being attacked.

int net.minecraft.entity.item.EntityMinecart.getRollingDirection ( )

Gets the rolling direction the cart rolls while being attacked. Can be 1 or -1.

float net.minecraft.entity.item.EntityMinecart.getShadowSize ( )
double net.minecraft.entity.item.EntityMinecart.getSlopeAdjustment ( )
boolean net.minecraft.entity.item.EntityMinecart.hasDisplayTile ( )
boolean net.minecraft.entity.item.EntityMinecart.isInvNameLocalized ( )

If this returns false, the inventory name will be used as an unlocalized name, and translated into the player's language. Otherwise it will be used directly.

boolean net.minecraft.entity.item.EntityMinecart.isPoweredCart ( )

Returns true if this cart is self propelled.

Returns
True if powered.
void net.minecraft.entity.item.EntityMinecart.killMinecart ( DamageSource  par1DamageSource)
void net.minecraft.entity.item.EntityMinecart.moveMinecartOnRail ( int  x,
int  y,
int  z,
double  par4 
)

Moved to allow overrides. This code handles minecart movement and speed capping when on a rail.

void net.minecraft.entity.item.EntityMinecart.onActivatorRailPass ( int  par1,
int  par2,
int  par3,
boolean  par4 
)

Called every tick the minecart is on an activator rail.

void net.minecraft.entity.item.EntityMinecart.onUpdate ( )

Called to update the entity's position/logic.

void net.minecraft.entity.item.EntityMinecart.performHurtAnimation ( )

Setups the entity to do the hurt animation. Only used by packets in multiplayer.

void net.minecraft.entity.item.EntityMinecart.readEntityFromNBT ( NBTTagCompound  par1NBTTagCompound)
protectedvirtual
void net.minecraft.entity.item.EntityMinecart.setCanUseRail ( boolean  use)

Set whether the minecart can use rails. This function is mainly used to gracefully detach a minecart from a rail.

Parameters
useWhether the minecart can currently use rails.
static void net.minecraft.entity.item.EntityMinecart.setCollisionHandler ( IMinecartCollisionHandler  handler)
static

Sets the global Minecart Collision handler, overwrites any that is currently set.

Parameters
handlerThe new handler
final void net.minecraft.entity.item.EntityMinecart.setCurrentCartSpeedCapOnRail ( float  value)
void net.minecraft.entity.item.EntityMinecart.setDamage ( int  par1)

Sets the current amount of damage the minecart has taken. Decreases over time. The cart breaks when this is over 40.

void net.minecraft.entity.item.EntityMinecart.setDead ( )

Will get destroyed next tick.

void net.minecraft.entity.item.EntityMinecart.setDisplayTile ( int  par1)
void net.minecraft.entity.item.EntityMinecart.setDisplayTileData ( int  par1)
void net.minecraft.entity.item.EntityMinecart.setDisplayTileOffset ( int  par1)
void net.minecraft.entity.item.EntityMinecart.setDragAir ( double  value)
void net.minecraft.entity.item.EntityMinecart.setHasDisplayTile ( boolean  par1)
void net.minecraft.entity.item.EntityMinecart.setMaxSpeedAirLateral ( float  value)
void net.minecraft.entity.item.EntityMinecart.setMaxSpeedAirVertical ( float  value)
void net.minecraft.entity.item.EntityMinecart.setPositionAndRotation2 ( double  par1,
double  par3,
double  par5,
float  par7,
float  par8,
int  par9 
)

Sets the position and rotation. Only difference from the other one is no bounding on the rotation. Args: posX, posY, posZ, yaw, pitch

void net.minecraft.entity.item.EntityMinecart.setRollingAmplitude ( int  par1)

Sets the rolling amplitude the cart rolls while being attacked.

void net.minecraft.entity.item.EntityMinecart.setRollingDirection ( int  par1)

Sets the rolling direction the cart rolls while being attacked. Can be 1 or -1.

void net.minecraft.entity.item.EntityMinecart.setVelocity ( double  par1,
double  par3,
double  par5 
)

Sets the velocity to the args. Args: x, y, z

boolean net.minecraft.entity.item.EntityMinecart.shouldDoRailFunctions ( )

Return false if this cart should not call onMinecartPass() and should ignore Powered Rails.

Returns
True if this cart should call onMinecartPass().
void net.minecraft.entity.item.EntityMinecart.updateOnTrack ( int  par1,
int  par2,
int  par3,
double  par4,
double  par6,
int  par8,
int  par9 
)
protected
void net.minecraft.entity.item.EntityMinecart.writeEntityToNBT ( NBTTagCompound  par1NBTTagCompound)
protectedvirtual

Member Data Documentation

boolean net.minecraft.entity.item.EntityMinecart.canBePushed = true
protected
boolean net.minecraft.entity.item.EntityMinecart.canUseRail = true
protected
double net.minecraft.entity.item.EntityMinecart.defaultDragAir = 0.94999998807907104D
static
float net.minecraft.entity.item.EntityMinecart.defaultMaxSpeedAirLateral = 0.4f
static
float net.minecraft.entity.item.EntityMinecart.defaultMaxSpeedAirVertical = -1f
static
double net.minecraft.entity.item.EntityMinecart.dragAir = defaultDragAir
protected
String net.minecraft.entity.item.EntityMinecart.entityName
protected
final IUpdatePlayerListBox net.minecraft.entity.item.EntityMinecart.field_82344_g
protected
boolean net.minecraft.entity.item.EntityMinecart.isInReverse
protected
final int [][][] net.minecraft.entity.item.EntityMinecart.matrix = new int[][][] {{{0, 0, -1}, {0, 0, 1}}, {{ -1, 0, 0}, {1, 0, 0}}, {{ -1, -1, 0}, {1, 0, 0}}, {{ -1, 0, 0}, {1, -1, 0}}, {{0, 0, -1}, {0, -1, 1}}, {{0, -1, -1}, {0, 0, 1}}, {{0, 0, 1}, {1, 0, 0}}, {{0, 0, 1}, { -1, 0, 0}}, {{0, 0, -1}, { -1, 0, 0}}, {{0, 0, -1}, {1, 0, 0}}}
staticprotected

Minecart rotational logic matrix

float net.minecraft.entity.item.EntityMinecart.maxSpeedAirLateral = defaultMaxSpeedAirLateral
protected
float net.minecraft.entity.item.EntityMinecart.maxSpeedAirVertical = defaultMaxSpeedAirVertical
protected
double net.minecraft.entity.item.EntityMinecart.minecartPitch
protected
double net.minecraft.entity.item.EntityMinecart.minecartX
protected
double net.minecraft.entity.item.EntityMinecart.minecartY
protected
double net.minecraft.entity.item.EntityMinecart.minecartYaw
protected
double net.minecraft.entity.item.EntityMinecart.minecartZ
protected
int net.minecraft.entity.item.EntityMinecart.turnProgress
protected

appears to be the progress of the turn

double net.minecraft.entity.item.EntityMinecart.velocityX
protected
double net.minecraft.entity.item.EntityMinecart.velocityY
protected
double net.minecraft.entity.item.EntityMinecart.velocityZ
protected

The documentation for this class was generated from the following file: