YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.item.EntityMinecartHopper Class Reference
Inheritance diagram for net.minecraft.entity.item.EntityMinecartHopper:
net.minecraft.entity.item.EntityMinecartContainer net.minecraft.tileentity.Hopper net.minecraft.entity.item.EntityMinecart net.minecraft.inventory.IInventory net.minecraft.inventory.IInventory net.minecraft.entity.Entity

Public Member Functions

 EntityMinecartHopper (World par1World)
 
 EntityMinecartHopper (World par1World, double par2, double par4, double par6)
 
int getMinecartType ()
 
Block getDefaultDisplayTile ()
 
int getDefaultDisplayTileOffset ()
 
int getSizeInventory ()
 
boolean interact (EntityPlayer par1EntityPlayer)
 
void onActivatorRailPass (int par1, int par2, int par3, boolean par4)
 
boolean getBlocked ()
 
void setBlocked (boolean par1)
 
World getWorldObj ()
 
double getXPos ()
 
double getYPos ()
 
double getZPos ()
 
void onUpdate ()
 
boolean func_96112_aD ()
 
void killMinecart (DamageSource par1DamageSource)
 
void setTransferTicker (int par1)
 
boolean canTransfer ()
 
- Public Member Functions inherited from net.minecraft.entity.item.EntityMinecartContainer
 EntityMinecartContainer (World par1World)
 
 EntityMinecartContainer (World par1World, double par2, double par4, double par6)
 
void killMinecart (DamageSource par1DamageSource)
 
ItemStack getStackInSlot (int par1)
 
ItemStack decrStackSize (int par1, int par2)
 
ItemStack getStackInSlotOnClosing (int par1)
 
void setInventorySlotContents (int par1, ItemStack par2ItemStack)
 
void onInventoryChanged ()
 
boolean isUseableByPlayer (EntityPlayer par1EntityPlayer)
 
void openChest ()
 
void closeChest ()
 
boolean isStackValidForSlot (int par1, ItemStack par2ItemStack)
 
String getInvName ()
 
int getInventoryStackLimit ()
 
void travelToDimension (int par1)
 
void setDead ()
 
boolean interact (EntityPlayer par1EntityPlayer)
 
- Public Member Functions inherited from net.minecraft.entity.item.EntityMinecart
 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 ()
 
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)
 
- Public Member Functions inherited from net.minecraft.inventory.IInventory
boolean isInvNameLocalized ()
 

Protected Member Functions

void writeEntityToNBT (NBTTagCompound par1NBTTagCompound)
 
void readEntityFromNBT (NBTTagCompound par1NBTTagCompound)
 
- Protected Member Functions inherited from net.minecraft.entity.item.EntityMinecartContainer
void applyDrag ()
 
- Protected Member Functions inherited from net.minecraft.entity.item.EntityMinecart
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 ()
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.entity.item.EntityMinecart
static EntityMinecart createMinecart (World par0World, double par1, double par3, double par5, int par7)
 
static IMinecartCollisionHandler getCollisionHandler ()
 
static void setCollisionHandler (IMinecartCollisionHandler handler)
 
- 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>()
 
- Static Public Attributes inherited from net.minecraft.entity.item.EntityMinecart
static float defaultMaxSpeedAirLateral = 0.4f
 
static float defaultMaxSpeedAirVertical = -1f
 
static double defaultDragAir = 0.94999998807907104D
 
- Protected Attributes inherited from net.minecraft.entity.item.EntityMinecart
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
 
- Static Protected Attributes inherited from net.minecraft.entity.item.EntityMinecart
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}}}
 

Constructor & Destructor Documentation

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

Member Function Documentation

boolean net.minecraft.entity.item.EntityMinecartHopper.canTransfer ( )

Returns whether the hopper cart can currently transfer an item.

boolean net.minecraft.entity.item.EntityMinecartHopper.func_96112_aD ( )
boolean net.minecraft.entity.item.EntityMinecartHopper.getBlocked ( )

Get whether this hopper minecart is being blocked by an activator rail.

Block net.minecraft.entity.item.EntityMinecartHopper.getDefaultDisplayTile ( )
int net.minecraft.entity.item.EntityMinecartHopper.getDefaultDisplayTileOffset ( )
int net.minecraft.entity.item.EntityMinecartHopper.getMinecartType ( )
virtual
int net.minecraft.entity.item.EntityMinecartHopper.getSizeInventory ( )

Returns the number of slots in the inventory.

Implements net.minecraft.inventory.IInventory.

World net.minecraft.entity.item.EntityMinecartHopper.getWorldObj ( )

Returns the worldObj for this tileEntity.

Implements net.minecraft.tileentity.Hopper.

double net.minecraft.entity.item.EntityMinecartHopper.getXPos ( )

Gets the world X position for this hopper entity.

Implements net.minecraft.tileentity.Hopper.

double net.minecraft.entity.item.EntityMinecartHopper.getYPos ( )

Gets the world Y position for this hopper entity.

Implements net.minecraft.tileentity.Hopper.

double net.minecraft.entity.item.EntityMinecartHopper.getZPos ( )

Gets the world Z position for this hopper entity.

Implements net.minecraft.tileentity.Hopper.

boolean net.minecraft.entity.item.EntityMinecartHopper.interact ( EntityPlayer  par1EntityPlayer)

Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.

void net.minecraft.entity.item.EntityMinecartHopper.killMinecart ( DamageSource  par1DamageSource)
void net.minecraft.entity.item.EntityMinecartHopper.onActivatorRailPass ( int  par1,
int  par2,
int  par3,
boolean  par4 
)

Called every tick the minecart is on an activator rail.

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

Called to update the entity's position/logic.

void net.minecraft.entity.item.EntityMinecartHopper.readEntityFromNBT ( NBTTagCompound  par1NBTTagCompound)
protectedvirtual

(abstract) Protected helper method to read subclass entity data from NBT.

Reimplemented from net.minecraft.entity.item.EntityMinecartContainer.

void net.minecraft.entity.item.EntityMinecartHopper.setBlocked ( boolean  par1)

Set whether this hopper minecart is being blocked by an activator rail.

void net.minecraft.entity.item.EntityMinecartHopper.setTransferTicker ( int  par1)

Sets the transfer ticker, used to determine the delay between transfers.

void net.minecraft.entity.item.EntityMinecartHopper.writeEntityToNBT ( NBTTagCompound  par1NBTTagCompound)
protectedvirtual

(abstract) Protected helper method to write subclass entity data to NBT.

Reimplemented from net.minecraft.entity.item.EntityMinecartContainer.


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