Modifier and Type | Method and Description |
---|---|
Entity |
FMLClientHandler.spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration er,
EntitySpawnPacket packet) |
Modifier and Type | Method and Description |
---|---|
Entity |
ModLoaderClientHelper.spawnEntity(BaseModProxy mod,
EntitySpawnPacket input,
EntityRegistry.EntityRegistration er) |
Modifier and Type | Method and Description |
---|---|
void |
RenderingRegistry.loadEntityRenderers(Map<Class<? extends Entity>,Render> rendererMap) |
static void |
RenderingRegistry.registerEntityRenderingHandler(Class<? extends Entity> entityClass,
Render renderer)
Register an entity rendering handler.
|
Modifier and Type | Method and Description |
---|---|
Entity |
IFMLSidedHandler.spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration registration,
EntitySpawnPacket packet) |
Entity |
FMLCommonHandler.spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration registration,
EntitySpawnPacket entitySpawnPacket) |
Modifier and Type | Method and Description |
---|---|
Entity |
ModLoaderEntitySpawnCallback.apply(EntitySpawnPacket input) |
Entity |
IModLoaderSidedHelper.spawnEntity(BaseModProxy mod,
EntitySpawnPacket input,
EntityRegistry.EntityRegistration registration) |
Modifier and Type | Method and Description |
---|---|
static void |
ModLoaderHelper.buildEntityTracker(BaseModProxy mod,
Class<? extends Entity> entityClass,
int entityTypeId,
int updateRange,
int updateInterval,
boolean sendVelocityInfo) |
Modifier and Type | Method and Description |
---|---|
static Packet |
FMLNetworkHandler.getEntitySpawningPacket(Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
EntityRegistry.EntityRegistration.doCustomSpawning(EntitySpawnPacket packet) |
Entity |
IThrowableEntity.getThrower()
Gets the entity that threw/created this entity.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Entity> |
EntityRegistry.EntityRegistration.getEntityClass() |
Modifier and Type | Method and Description |
---|---|
void |
IThrowableEntity.setThrower(Entity entity)
Sets the entity that threw/created this entity.
|
boolean |
EntityRegistry.tryTrackingEntity(EntityTracker entityTracker,
Entity entity) |
Modifier and Type | Method and Description |
---|---|
EntityRegistry.EntityRegistration |
EntityRegistry.lookupModSpawn(Class<? extends Entity> clazz,
boolean keepLooking) |
static void |
EntityRegistry.registerGlobalEntityID(Class<? extends Entity> entityClass,
String entityName,
int id) |
static void |
EntityRegistry.registerGlobalEntityID(Class<? extends Entity> entityClass,
String entityName,
int id,
int backgroundEggColour,
int foregroundEggColour) |
static void |
EntityRegistry.registerModEntity(Class<? extends Entity> entityClass,
String entityName,
int id,
Object mod,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates)
Register the mod entity type with FML
|
static EntityRegistry.EntityRegistration |
EntityRegistry.registerModLoaderEntity(Object mod,
Class<? extends Entity> entityClass,
int entityTypeId,
int updateRange,
int updateInterval,
boolean sendVelocityInfo)
Deprecated.
|
void |
EntityRegistry.EntityRegistration.setCustomSpawning(com.google.common.base.Function<EntitySpawnPacket,Entity> callable,
boolean usesVanillaSpawning) |
Constructor and Description |
---|
EntityRegistry.EntityRegistration(ModContainer mc,
Class<? extends Entity> entityClass,
String entityName,
int id,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates) |
Modifier and Type | Method and Description |
---|---|
Entity |
FMLServerHandler.spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration er,
EntitySpawnPacket packet) |
Modifier and Type | Method and Description |
---|---|
void |
BlockHalfSlab.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockHopper.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockBrewingStand.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockPistonExtension.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockEndPortalFrame.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockLilyPad.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockStairs.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockEndPortal.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
Block.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockPane.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockFence.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockCauldron.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
void |
BlockPistonBase.addCollisionBoxesToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
Adds all intersecting collision boxes to a list.
|
float |
BlockStairs.getExplosionResistance(Entity par1Entity)
Returns how much this block can resist explosions from the passed in entity.
|
float |
Block.getExplosionResistance(Entity par1Entity)
Returns how much this block can resist explosions from the passed in entity.
|
float |
Block.getExplosionResistance(Entity par1Entity,
World world,
int x,
int y,
int z,
double explosionX,
double explosionY,
double explosionZ)
Location sensitive version of getExplosionRestance
|
void |
BlockButton.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockTripWire.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockBasePressurePlate.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockCactus.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockPortal.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockTNT.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockEndPortal.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
Block.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockSoulSand.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockWeb.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockDetectorRail.onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block).
|
void |
BlockRedstoneOre.onEntityWalking(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Called whenever an entity is walking on top of this block.
|
void |
BlockStairs.onEntityWalking(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Called whenever an entity is walking on top of this block.
|
void |
Block.onEntityWalking(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Called whenever an entity is walking on top of this block.
|
void |
BlockFarmland.onFallenUpon(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity,
float par6)
Block's chance to react to an entity falling on it.
|
void |
Block.onFallenUpon(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity,
float par6)
Block's chance to react to an entity falling on it.
|
void |
BlockFluid.velocityToAddToEntity(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity,
Vec3 par6Vec3)
Can add to the passed in vector for a movement vector to be applied to the entity.
|
void |
BlockStairs.velocityToAddToEntity(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity,
Vec3 par6Vec3)
Can add to the passed in vector for a movement vector to be applied to the entity.
|
void |
Block.velocityToAddToEntity(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity,
Vec3 par6Vec3)
Can add to the passed in vector for a movement vector to be applied to the entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SoundManager.isEntitySoundPlaying(Entity par1Entity)
Returns true if a sound is currently associated with the given entity, or false otherwise.
|
void |
SoundManager.playEntitySound(String par1Str,
Entity par2Entity,
float par3,
float par4,
boolean par5)
If a sound is already playing from the given entity, update the position and velocity of that sound to match the
entity.
|
void |
SoundManager.setEntitySoundPitch(Entity par1Entity,
float par2)
Sets the pitch of the sound associated with the given entity, if one is playing.
|
void |
SoundManager.setEntitySoundVolume(Entity par1Entity,
float par2)
Sets the volume of the sound associated with the given entity, if one is playing.
|
void |
SoundManager.stopEntitySound(Entity par1Entity)
Stops playing the sound associated with the given entity
|
void |
SoundManager.updateSoundLocation(Entity par1Entity)
Updates the sound associated with the entity with that entity's position and velocity.
|
void |
SoundManager.updateSoundLocation(Entity par1Entity,
Entity par2Entity)
Updates the sound associated with soundEntity with the position and velocity of trackEntity.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityClientPlayerMP |
class |
EntityOtherPlayerMP |
class |
EntityPlayerSP |
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayerSP.onCriticalHit(Entity par1Entity)
Called when the player performs a critical hit on the Entity.
|
void |
EntityPlayerSP.onEnchantmentCritical(Entity par1Entity) |
void |
EntityPlayerSP.onItemPickup(Entity par1Entity,
int par2)
Called whenever an item is picked up from walking over it.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelSkeletonHead.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelCreeper.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelBiped.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelBoat.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelSlime.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelBase.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelGhast.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelWolf.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelMagmaCube.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelVillager.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelSquid.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelQuadruped.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelBook.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelOcelot.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelChicken.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelSnowMan.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelEnderCrystal.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelBat.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelDragon.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelSilverfish.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelBlaze.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelIronGolem.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelWither.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelSpider.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelMinecart.render(Entity par1Entity,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Sets the models various rotation angles then renders the model.
|
void |
ModelSkeletonHead.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelCreeper.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelBiped.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSheep1.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSkeleton.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelBase.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelWitch.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelGhast.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelWolf.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelVillager.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSquid.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelQuadruped.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelEnderman.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelZombieVillager.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelBook.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelZombie.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelOcelot.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelChicken.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSnowMan.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSilverfish.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelBlaze.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelIronGolem.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelWither.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSpider.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
void |
ModelSheep2.setRotationAngles(float par1,
float par2,
float par3,
float par4,
float par5,
float par6,
Entity par7Entity)
Sets the model's various rotation angles.
|
Modifier and Type | Method and Description |
---|---|
Entity |
WorldClient.getEntityByID(int par1)
Returns the Entity with the given ID, or null if it doesn't exist in this World.
|
Entity |
WorldClient.removeEntityFromWorld(int par1) |
Modifier and Type | Method and Description |
---|---|
void |
WorldClient.addEntityToWorld(int par1,
Entity par2Entity)
Add an ID to Entity mapping to entityHashSet
|
void |
PlayerControllerMP.attackEntity(EntityPlayer par1EntityPlayer,
Entity par2Entity)
Attacks an entity
|
boolean |
PlayerControllerMP.func_78768_b(EntityPlayer par1EntityPlayer,
Entity par2Entity) |
void |
WorldClient.releaseEntitySkin(Entity par1Entity)
Decrement the reference counter for this entity's skin image data
|
void |
WorldClient.removeEntity(Entity par1Entity)
Schedule the entity for removal during the next tick.
|
boolean |
WorldClient.spawnEntityInWorld(Entity par1Entity)
Called to place all entities as part of a world
|
Modifier and Type | Class and Description |
---|---|
class |
EntityAuraFX |
class |
EntityBreakingFX |
class |
EntityBubbleFX |
class |
EntityCloudFX |
class |
EntityCrit2FX |
class |
EntityCritFX |
class |
EntityDiggingFX |
class |
EntityDropParticleFX |
class |
EntityEnchantmentTableParticleFX |
class |
EntityExplodeFX |
class |
EntityFireworkOverlayFX |
class |
EntityFireworkSparkFX |
class |
EntityFireworkStarterFX |
class |
EntityFlameFX |
class |
EntityFootStepFX |
class |
EntityFX |
class |
EntityHeartFX |
class |
EntityHugeExplodeFX |
class |
EntityLargeExplodeFX |
class |
EntityLavaFX |
class |
EntityNoteFX |
class |
EntityPickupFX |
class |
EntityPortalFX |
class |
EntityRainFX |
class |
EntityReddustFX |
class |
EntitySmokeFX |
class |
EntitySnowShovelFX |
class |
EntitySpellParticleFX |
class |
EntitySplashFX |
class |
EntitySuspendFX |
Modifier and Type | Method and Description |
---|---|
void |
EffectRenderer.renderLitParticles(Entity par1Entity,
float par2) |
void |
EffectRenderer.renderParticles(Entity par1Entity,
float par2)
Renders all current particles.
|
Constructor and Description |
---|
EntityCrit2FX(World par1World,
Entity par2Entity) |
EntityCrit2FX(World par1World,
Entity par2Entity,
String par3Str) |
EntityPickupFX(World par1World,
Entity par2Entity,
Entity par3Entity,
float par4) |
Modifier and Type | Method and Description |
---|---|
float |
WorldRenderer.distanceToEntitySquared(Entity par1Entity)
Returns the distance of this chunk renderer to the entity without performing the final normalizing square root,
for performance reasons.
|
void |
RenderGlobal.onEntityCreate(Entity par1Entity)
Called on all IWorldAccesses when an entity is created or loaded.
|
void |
RenderGlobal.onEntityDestroy(Entity par1Entity)
Called on all IWorldAccesses when an entity is unloaded or destroyed.
|
Constructor and Description |
---|
EntitySorter(Entity par1Entity) |
Modifier and Type | Method and Description |
---|---|
void |
RenderPig.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderLightningBolt.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderArrow.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderEnderman.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderBlaze.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderFireball.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderPlayer.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderSnowball.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderVillager.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderDragon.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderOcelot.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderBat.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderFallingSand.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderBiped.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderMinecart.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderItem.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderLiving.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderBoat.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
abstract void |
Render.doRender(Entity entity,
double d0,
double d1,
double d2,
float f,
float f1)
Actually renders the given argument.
|
void |
RenderIronGolem.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderXPOrb.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderPainting.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderEntity.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderFish.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderMooshroom.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderTNTPrimed.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderWitch.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderZombie.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderChicken.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderSilverfish.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderSquid.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderCow.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderWither.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderMagmaCube.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
Render.doRenderShadowAndFire(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Renders the entity's shadow and fire (if its on fire).
|
Render |
RenderManager.getEntityRenderObject(Entity par1Entity) |
void |
RenderManager.renderEntity(Entity par1Entity,
float par2)
Will render the specified entity at the specified partial tick time.
|
void |
RenderManager.renderEntityWithPosYaw(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Renders the specified entity with the passed in position, yaw, and partialTickTime.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderItemFrame.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderWitherSkull.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
RenderEnderCrystal.doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IEntitySelector.isEntityApplicable(Entity entity)
Return whether the specified entity is applicable to this filter.
|
Modifier and Type | Method and Description |
---|---|
static double |
EnchantmentProtection.func_92092_a(Entity par0Entity,
double par1) |
static int |
EnchantmentProtection.func_92093_a(Entity par0Entity,
int par1) |
static void |
EnchantmentThorns.func_92096_a(Entity par0Entity,
EntityLiving par1EntityLiving,
Random par2Random) |
Modifier and Type | Class and Description |
---|---|
class |
EntityAgeable |
class |
EntityCreature |
class |
EntityFlying |
class |
EntityHanging |
class |
EntityLiving |
Modifier and Type | Field and Description |
---|---|
Entity |
EntityTrackerEntry.myEntity |
Entity |
Entity.riddenByEntity
The entity that is riding this entity
|
Entity |
Entity.ridingEntity
The entity we are currently riding
|
Modifier and Type | Method and Description |
---|---|
static Entity |
EntityList.createEntityByID(int par0,
World par1World)
Create a new instance of an entity in the world by using an entity ID.
|
static Entity |
EntityList.createEntityByName(String par0Str,
World par1World)
Create a new instance of an entity in the world by using the entity name.
|
static Entity |
EntityList.createEntityFromNBT(NBTTagCompound par0NBTTagCompound,
World par1World)
create a new instance of an entity from NBT store
|
Entity |
EntityCreature.getEntityToAttack()
Returns current entities target
|
Entity[] |
Entity.getParts()
Return the Entity parts making up this Entity (currently only for dragons)
|
Modifier and Type | Method and Description |
---|---|
void |
EntityTracker.addEntityToTracker(Entity par1Entity)
if entity is a player sends all tracked events to the player, otherwise, adds with a visibility and update arate
based on the class type
|
void |
EntityTracker.addEntityToTracker(Entity par1Entity,
int par2,
int par3) |
void |
EntityTracker.addEntityToTracker(Entity par1Entity,
int par2,
int par3,
boolean par4) |
void |
Entity.addToPlayerScore(Entity par1Entity,
int par2)
Adds a value to the player score.
|
void |
Entity.applyEntityCollision(Entity par1Entity)
Applies a velocity to each of the entities pushing them away from each other.
|
boolean |
EntityLiving.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityLiving.canEntityBeSeen(Entity par1Entity)
returns true if the entity provided in the argument can be seen.
|
void |
Entity.copyDataFrom(Entity par1Entity,
boolean par2)
Copies important data from another entity to this entity.
|
void |
EntityLiving.faceEntity(Entity par1Entity,
float par2,
float par3)
Changes pitch and yaw so that the entity calling the function is facing the entity provided as an argument.
|
void |
Entity.func_82149_j(Entity par1Entity) |
boolean |
EntityHanging.func_85031_j(Entity par1Entity) |
boolean |
Entity.func_85031_j(Entity par1Entity) |
AxisAlignedBB |
Entity.getCollisionBox(Entity par1Entity)
Returns a boundingBox used to collide the entity with other entities and blocks.
|
double |
Entity.getDistanceSqToEntity(Entity par1Entity)
Returns the squared distance to the entity.
|
float |
Entity.getDistanceToEntity(Entity par1Entity)
Returns the distance to the entity.
|
static int |
EntityList.getEntityID(Entity par0Entity)
gets the entityID of a specific entity
|
static String |
EntityList.getEntityString(Entity par0Entity)
Gets the string representation of a specific entity.
|
boolean |
EntitySelectorArmoredMob.isEntityApplicable(Entity par1Entity)
Return whether the specified entity is applicable to this filter.
|
boolean |
Entity.isEntityEqual(Entity par1Entity)
Returns true if Entity argument is equal to this Entity
|
void |
EntityLiving.knockBack(Entity par1Entity,
int par2,
double par3,
double par5)
knocks back this entity
|
void |
Entity.mountEntity(Entity par1Entity)
Called when a player mounts an entity.
|
void |
EntityLiving.onItemPickup(Entity par1Entity,
int par2)
Called whenever an item is picked up from walking over it.
|
void |
EntityTracker.removeEntityFromAllTrackingPlayers(Entity par1Entity) |
void |
EntityTracker.sendPacketToAllAssociatedPlayers(Entity par1Entity,
Packet par2Packet)
sends to the entity if the entity is a player
|
void |
EntityTracker.sendPacketToAllPlayersTrackingEntity(Entity par1Entity,
Packet par2Packet)
does not send the packet to the entity if the entity is a player
|
void |
EntityLiving.setLastAttackingEntity(Entity par1Entity) |
void |
EntityCreature.setTarget(Entity par1Entity)
Sets the entity which is to be attacked.
|
void |
Entity.unmountEntity(Entity par1Entity)
Called when a player unounts an entity.
|
Constructor and Description |
---|
EntityTrackerEntry(Entity par1Entity,
int par2,
int par3,
boolean par4) |
Modifier and Type | Class and Description |
---|---|
class |
EntityMinecartMobSpawner |
Modifier and Type | Method and Description |
---|---|
boolean |
EntitySenses.canSee(Entity par1Entity)
Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result.
|
int |
EntityAINearestAttackableTargetSorter.compareDistanceSq(Entity par1Entity,
Entity par2Entity) |
void |
EntityLookHelper.setLookPositionWithEntity(Entity par1Entity,
float par2,
float par3)
Sets position to look at using entity
|
Constructor and Description |
---|
EntityAINearestAttackableTargetSorter(EntityAINearestAttackableTarget par1EntityAINearestAttackableTarget,
Entity par2Entity) |
Modifier and Type | Class and Description |
---|---|
class |
EntityDragon |
class |
EntityDragonPart |
class |
EntityWither |
Modifier and Type | Method and Description |
---|---|
Entity[] |
EntityDragon.getParts()
Return the Entity parts making up this Entity (currently only for dragons)
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityDragonPart.isEntityEqual(Entity par1Entity)
Returns true if Entity argument is equal to this Entity
|
void |
EntityWither.mountEntity(Entity par1Entity)
Called when a player mounts an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityLightningBolt |
class |
EntityWeatherEffect |
Modifier and Type | Class and Description |
---|---|
class |
EntityBoat |
class |
EntityEnderCrystal |
class |
EntityEnderEye |
class |
EntityEnderPearl |
class |
EntityExpBottle |
class |
EntityFallingSand |
class |
EntityFireworkRocket |
class |
EntityItem |
class |
EntityItemFrame |
class |
EntityMinecart |
class |
EntityMinecartChest |
class |
EntityMinecartContainer |
class |
EntityMinecartEmpty |
class |
EntityMinecartFurnace |
class |
EntityMinecartHopper |
class |
EntityMinecartTNT |
class |
EntityPainting |
class |
EntityTNTPrimed |
class |
EntityXPOrb |
Modifier and Type | Method and Description |
---|---|
void |
EntityMinecart.applyEntityCollision(Entity par1Entity)
Applies a velocity to each of the entities pushing them away from each other.
|
AxisAlignedBB |
EntityMinecart.getCollisionBox(Entity par1Entity)
Returns a boundingBox used to collide the entity with other entities and blocks.
|
AxisAlignedBB |
EntityBoat.getCollisionBox(Entity par1Entity)
Returns a boundingBox used to collide the entity with other entities and blocks.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityBlaze |
class |
EntityCaveSpider |
class |
EntityCreeper |
class |
EntityEnderman |
class |
EntityGhast |
class |
EntityGiantZombie |
class |
EntityGolem |
class |
EntityIronGolem |
class |
EntityMagmaCube |
class |
EntityMob |
class |
EntityPigZombie |
class |
EntitySilverfish |
class |
EntitySkeleton |
class |
EntitySlime |
class |
EntitySnowman |
class |
EntitySpider |
class |
EntityWitch |
class |
EntityZombie |
Modifier and Type | Method and Description |
---|---|
boolean |
EntitySkeleton.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityIronGolem.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityMob.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityCreeper.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityZombie.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityCaveSpider.attackEntityAsMob(Entity par1Entity) |
int |
EntitySkeleton.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntityGiantZombie.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntityMob.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntitySilverfish.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntityZombie.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntityEnderman.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntityPigZombie.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
int |
EntityBlaze.getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityAmbientCreature |
class |
EntityAnimal |
class |
EntityBat |
class |
EntityChicken |
class |
EntityCow |
class |
EntityMooshroom |
class |
EntityOcelot |
class |
EntityPig |
class |
EntitySheep |
class |
EntitySquid |
class |
EntityTameable |
class |
EntityVillager |
class |
EntityWaterMob |
class |
EntityWolf |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityWolf.attackEntityAsMob(Entity par1Entity) |
boolean |
EntityOcelot.attackEntityAsMob(Entity par1Entity) |
Modifier and Type | Class and Description |
---|---|
class |
EntityPlayer |
class |
EntityPlayerMP |
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayer.addToPlayerScore(Entity par1Entity,
int par2)
Adds a value to the player score.
|
void |
EntityPlayer.attackTargetEntityWithCurrentItem(Entity par1Entity)
Attacks for the player the targeted entity with the currently equipped item.
|
int |
InventoryPlayer.getDamageVsEntity(Entity par1Entity)
Return damage vs an entity done by the current held weapon, or 1 if nothing is held
|
boolean |
EntityPlayer.interactWith(Entity par1Entity) |
void |
EntityPlayer.mountEntity(Entity par1Entity)
Called when a player mounts an entity.
|
void |
EntityPlayerMP.mountEntity(Entity par1Entity)
Called when a player mounts an entity.
|
void |
EntityPlayer.onCriticalHit(Entity par1Entity)
Called when the player performs a critical hit on the Entity.
|
void |
EntityPlayerMP.onCriticalHit(Entity par1Entity)
Called when the player performs a critical hit on the Entity.
|
void |
EntityPlayer.onEnchantmentCritical(Entity par1Entity) |
void |
EntityPlayerMP.onEnchantmentCritical(Entity par1Entity) |
void |
EntityPlayerMP.onItemPickup(Entity par1Entity,
int par2)
Called whenever an item is picked up from walking over it.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityArrow |
class |
EntityEgg |
class |
EntityFireball |
class |
EntityFishHook |
class |
EntityLargeFireball |
class |
EntityPotion |
class |
EntitySmallFireball |
class |
EntitySnowball |
class |
EntityThrowable |
class |
EntityWitherSkull |
Modifier and Type | Field and Description |
---|---|
Entity |
EntityFishHook.bobber
The entity that the fishing rod is connected to, if any.
|
Entity |
EntityArrow.shootingEntity
The owner of this arrow.
|
Modifier and Type | Method and Description |
---|---|
Entity |
Item.createEntity(World world,
Entity location,
ItemStack itemstack)
This function should return a new entity to replace the dropped item.
|
static Entity |
ItemMonsterPlacer.spawnCreature(World par0World,
int par1,
double par2,
double par4,
double par6)
Spawns the creature specified by the egg's type in the location specified by the last three parameters.
|
Modifier and Type | Method and Description |
---|---|
Entity |
Item.createEntity(World world,
Entity location,
ItemStack itemstack)
This function should return a new entity to replace the dropped item.
|
String |
Item.getArmorTexture(ItemStack stack,
Entity entity,
int slot,
int layer)
Called by RenderBiped and RenderPlayer to determine the armor texture that
should be use for the currently equiped item.
|
int |
ItemSword.getDamageVsEntity(Entity par1Entity)
Returns the damage against a given entity.
|
int |
ItemTool.getDamageVsEntity(Entity par1Entity)
Returns the damage against a given entity.
|
int |
Item.getDamageVsEntity(Entity par1Entity)
Returns the damage against a given entity.
|
int |
ItemStack.getDamageVsEntity(Entity par1Entity)
Returns the damage against a given entity.
|
int |
Item.getDamageVsEntity(Entity par1Entity,
ItemStack itemStack)
An itemstack sensitive version of getDamageVsEntity - allows items to handle damage based on
itemstack data, like tags.
|
boolean |
Item.isValidArmor(ItemStack stack,
int armorType,
Entity entity)
Determines if the specific ItemStack can be placed in the specified armor slot.
|
boolean |
Item.onLeftClickEntity(ItemStack stack,
EntityPlayer player,
Entity entity)
Called when the player Left Clicks (attacks) an entity.
|
void |
ItemMap.onUpdate(ItemStack par1ItemStack,
World par2World,
Entity par3Entity,
int par4,
boolean par5)
Called each tick as long the item is on a player inventory.
|
void |
Item.onUpdate(ItemStack par1ItemStack,
World par2World,
Entity par3Entity,
int par4,
boolean par5)
Called each tick as long the item is on a player inventory.
|
void |
ItemStack.updateAnimation(World par1World,
Entity par2Entity,
int par3,
boolean par4)
Called each tick as long the ItemStack in on player inventory.
|
void |
ItemMap.updateMapData(World par1World,
Entity par2Entity,
MapData par3MapData) |
Constructor and Description |
---|
Packet17Sleep(Entity par1Entity,
int par2,
int par3,
int par4,
int par5) |
Packet18Animation(Entity par1Entity,
int par2) |
Packet19EntityAction(Entity par1Entity,
int par2) |
Packet23VehicleSpawn(Entity par1Entity,
int par2) |
Packet23VehicleSpawn(Entity par1Entity,
int par2,
int par3) |
Packet28EntityVelocity(Entity par1Entity) |
Packet34EntityTeleport(Entity par1Entity) |
Packet39AttachEntity(Entity par1Entity,
Entity par2Entity) |
Packet71Weather(Entity par1Entity) |
Modifier and Type | Method and Description |
---|---|
PathEntity |
PathFinder.createEntityPathTo(Entity par1Entity,
Entity par2Entity,
float par3)
Creates a path from one entity to another within a minimum distance
|
PathEntity |
PathFinder.createEntityPathTo(Entity par1Entity,
int par2,
int par3,
int par4,
float par5)
Creates a path from an entity to a specified location within a minimum distance
|
static int |
PathFinder.func_82565_a(Entity par0Entity,
int par1,
int par2,
int par3,
PathPoint par4PathPoint,
boolean par5,
boolean par6,
boolean par7) |
Vec3 |
PathEntity.getPosition(Entity par1Entity)
returns the current PathEntity target node as Vec3D
|
Vec3 |
PathEntity.getVectorFromIndex(Entity par1Entity,
int par2)
Gets the vector of the PathPoint associated with the given index.
|
int |
PathFinder.getVerticalOffset(Entity par1Entity,
int par2,
int par3,
int par4,
PathPoint par5PathPoint)
Checks if an entity collides with blocks at a position.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerConfigurationManager.transferEntityToWorld(Entity par1Entity,
int par2,
WorldServer par3WorldServer,
WorldServer par4WorldServer)
Transfers an entity from a world to another world.
|
void |
ServerConfigurationManager.transferEntityToWorld(Entity par1Entity,
int par2,
WorldServer par3WorldServer,
WorldServer par4WorldServer,
Teleporter teleporter) |
Modifier and Type | Method and Description |
---|---|
Entity |
BaseMod.spawnEntity(int entityId,
World world,
double scaledX,
double scaledY,
double scaledZ)
Spawn the entity of the supplied type, if it is your mod's
|
Modifier and Type | Method and Description |
---|---|
static void |
ModLoader.addAllRenderers(Map<Class<? extends Entity>,Render> renderers)
Deprecated.
|
static void |
ModLoader.addEntityTracker(BaseMod mod,
Class<? extends Entity> entityClass,
int entityTypeId,
int updateRange,
int updateInterval,
boolean sendVelocityInfo) |
void |
BaseMod.addRenderer(Map<Class<? extends Entity>,Render> renderers) |
static void |
ModLoader.registerEntityID(Class<? extends Entity> entityClass,
String entityName,
int id)
Register a new entity ID
|
static void |
ModLoader.registerEntityID(Class<? extends Entity> entityClass,
String entityName,
int id,
int background,
int foreground)
Register a new entity ID
|
Modifier and Type | Method and Description |
---|---|
Entity |
MobSpawnerBaseLogic.func_98265_a(Entity par1Entity) |
Entity |
MobSpawnerBaseLogic.func_98281_h() |
Modifier and Type | Method and Description |
---|---|
Entity |
MobSpawnerBaseLogic.func_98265_a(Entity par1Entity) |
Modifier and Type | Field and Description |
---|---|
Entity |
MovingObjectPosition.entityHit
The hit entity
|
Modifier and Type | Method and Description |
---|---|
Entity |
DamageSource.getEntity() |
Entity |
EntityDamageSourceIndirect.getEntity() |
Entity |
EntityDamageSource.getEntity() |
Entity |
DamageSource.getSourceOfDamage() |
Entity |
EntityDamageSourceIndirect.getSourceOfDamage() |
Modifier and Type | Method and Description |
---|---|
static DamageSource |
DamageSource.causeArrowDamage(EntityArrow par0EntityArrow,
Entity par1Entity)
returns EntityDamageSourceIndirect of an arrow
|
static DamageSource |
DamageSource.causeFireballDamage(EntityFireball par0EntityFireball,
Entity par1Entity)
returns EntityDamageSourceIndirect of a fireball
|
static DamageSource |
DamageSource.causeIndirectMagicDamage(Entity par0Entity,
Entity par1Entity) |
static DamageSource |
DamageSource.causeThornsDamage(Entity par0Entity)
Returns the EntityDamageSource of the Thorns enchantment
|
static DamageSource |
DamageSource.causeThrownDamage(Entity par0Entity,
Entity par1Entity) |
Constructor and Description |
---|
EntityDamageSource(String par1Str,
Entity par2Entity) |
EntityDamageSourceIndirect(String par1Str,
Entity par2Entity,
Entity par3Entity) |
MovingObjectPosition(Entity par1Entity) |
Modifier and Type | Field and Description |
---|---|
Entity |
Explosion.exploder |
Modifier and Type | Method and Description |
---|---|
Entity |
World.findNearestEntityWithinAABB(Class par1Class,
AxisAlignedBB par2AxisAlignedBB,
Entity par3Entity) |
Entity |
WorldServer.getEntityByID(int par1)
Returns the Entity with the given ID, or null if it doesn't exist in this World.
|
abstract Entity |
World.getEntityByID(int i)
Returns the Entity with the given ID, or null if it doesn't exist in this World.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WorldServer.addWeatherEffect(Entity par1Entity)
adds a lightning bolt to the list of lightning bolts in this world.
|
boolean |
World.addWeatherEffect(Entity par1Entity)
adds a lightning bolt to the list of lightning bolts in this world.
|
boolean |
World.canPlaceEntityOnSide(int par1,
int par2,
int par3,
int par4,
boolean par5,
int par6,
Entity par7Entity,
ItemStack par8ItemStack)
Returns true if the given Entity can be placed on the given side of the given block position.
|
boolean |
World.checkNoEntityCollision(AxisAlignedBB par1AxisAlignedBB,
Entity par2Entity)
Returns true if there are no solid, live entities in the specified AxisAlignedBB, excluding the given entity
|
Explosion |
World.createExplosion(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
boolean par9)
Creates an explosion.
|
Entity |
World.findNearestEntityWithinAABB(Class par1Class,
AxisAlignedBB par2AxisAlignedBB,
Entity par3Entity) |
EntityPlayer |
World.getClosestPlayerToEntity(Entity par1Entity,
double par2)
Gets the closest player to the entity within the specified distance (if distance is less than 0 then ignored).
|
EntityPlayer |
World.getClosestVulnerablePlayerToEntity(Entity par1Entity,
double par2)
Returns the closest vulnerable player to this entity within the given radius, or null if none is found
|
List |
World.getCollidingBoundingBoxes(Entity par1Entity,
AxisAlignedBB par2AxisAlignedBB)
Returns a list of bounding boxes that collide with aabb excluding the passed in entity's collision.
|
List |
World.getEntitiesWithinAABBExcludingEntity(Entity par1Entity,
AxisAlignedBB par2AxisAlignedBB)
Will get all entities within the specified AABB excluding the one passed into it.
|
List |
World.getEntitiesWithinAABBExcludingEntity(Entity par1Entity,
AxisAlignedBB par2AxisAlignedBB,
IEntitySelector par3IEntitySelector) |
PathEntity |
World.getEntityPathToXYZ(Entity par1Entity,
int par2,
int par3,
int par4,
float par5,
boolean par6,
boolean par7,
boolean par8,
boolean par9) |
PathEntity |
World.getPathEntityToEntity(Entity par1Entity,
Entity par2Entity,
float par3,
boolean par4,
boolean par5,
boolean par6,
boolean par7) |
Vec3 |
WorldProvider.getSkyColor(Entity cameraEntity,
float partialTicks) |
Vec3 |
World.getSkyColor(Entity par1Entity,
float par2) |
Vec3 |
World.getSkyColorBody(Entity par1Entity,
float par2) |
boolean |
World.handleMaterialAcceleration(AxisAlignedBB par1AxisAlignedBB,
Material par2Material,
Entity par3Entity)
handles the acceleration of an object whilst in water.
|
void |
World.joinEntityInSurroundings(Entity par1Entity) |
boolean |
Teleporter.makePortal(Entity par1Entity) |
Explosion |
WorldServer.newExplosion(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
boolean par9,
boolean par10)
returns a new explosion.
|
Explosion |
World.newExplosion(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
boolean par9,
boolean par10)
returns a new explosion.
|
void |
IWorldAccess.onEntityCreate(Entity entity)
Called on all IWorldAccesses when an entity is created or loaded.
|
void |
WorldManager.onEntityCreate(Entity par1Entity)
Called on all IWorldAccesses when an entity is created or loaded.
|
void |
IWorldAccess.onEntityDestroy(Entity entity)
Called on all IWorldAccesses when an entity is unloaded or destroyed.
|
void |
WorldManager.onEntityDestroy(Entity par1Entity)
Called on all IWorldAccesses when an entity is unloaded or destroyed.
|
boolean |
Teleporter.placeInExistingPortal(Entity par1Entity,
double par2,
double par4,
double par6,
float par8)
Place an entity in a nearby portal which already exists.
|
void |
Teleporter.placeInPortal(Entity par1Entity,
double par2,
double par4,
double par6,
float par8)
Place an entity in a nearby portal, creating one if necessary.
|
void |
World.playSoundAtEntity(Entity par1Entity,
String par2Str,
float par3,
float par4)
Plays a sound at the entity's position.
|
void |
WorldServer.releaseEntitySkin(Entity par1Entity)
Decrement the reference counter for this entity's skin image data
|
void |
World.releaseEntitySkin(Entity par1Entity)
Decrement the reference counter for this entity's skin image data
|
void |
World.removeEntity(Entity par1Entity)
Schedule the entity for removal during the next tick.
|
void |
World.removePlayerEntityDangerously(Entity par1Entity)
Do NOT use this method to remove normal entities- use normal removeEntity
|
void |
WorldServer.setEntityState(Entity par1Entity,
byte par2)
sends a Packet 38 (Entity Status) to all tracked players of that entity
|
void |
World.setEntityState(Entity par1Entity,
byte par2)
sends a Packet 38 (Entity Status) to all tracked players of that entity
|
boolean |
World.spawnEntityInWorld(Entity par1Entity)
Called to place all entities as part of a world
|
void |
WorldServer.uncheckedUpdateEntity(Entity par1Entity,
boolean par2)
direct call to super.updateEntityWithOptionalForce
|
void |
World.updateEntity(Entity par1Entity)
Will update the entity in the world if the chunk the entity is in is currently loaded.
|
void |
WorldServer.updateEntityWithOptionalForce(Entity par1Entity,
boolean par2)
Will update the entity in the world if the chunk the entity is in is currently loaded or its forced to update.
|
void |
World.updateEntityWithOptionalForce(Entity par1Entity,
boolean par2)
Will update the entity in the world if the chunk the entity is in is currently loaded or its forced to update.
|
Constructor and Description |
---|
Explosion(World par1World,
Entity par2Entity,
double par3,
double par5,
double par7,
float par9) |
Modifier and Type | Method and Description |
---|---|
void |
EmptyChunk.addEntity(Entity par1Entity)
Adds an entity to the chunk.
|
void |
Chunk.addEntity(Entity par1Entity)
Adds an entity to the chunk.
|
void |
EmptyChunk.getEntitiesWithinAABBForEntity(Entity par1Entity,
AxisAlignedBB par2AxisAlignedBB,
List par3List,
IEntitySelector par4IEntitySelector)
Fills the given list of all entities that intersect within the given bounding box that aren't the passed entity
Args: entity, aabb, listToFill
|
void |
Chunk.getEntitiesWithinAABBForEntity(Entity par1Entity,
AxisAlignedBB par2AxisAlignedBB,
List par3List,
IEntitySelector par4IEntitySelector)
Fills the given list of all entities that intersect within the given bounding box that aren't the passed entity
Args: entity, aabb, listToFill
|
void |
EmptyChunk.removeEntity(Entity par1Entity)
removes entity using its y chunk coordinate as its index
|
void |
Chunk.removeEntity(Entity par1Entity)
removes entity using its y chunk coordinate as its index
|
void |
EmptyChunk.removeEntityAtIndex(Entity par1Entity,
int par2)
Removes entity at the specified index from the entity array.
|
void |
Chunk.removeEntityAtIndex(Entity par1Entity,
int par2)
Removes entity at the specified index from the entity array.
|
Modifier and Type | Method and Description |
---|---|
static String |
ForgeHooksClient.getArmorTexture(Entity entity,
ItemStack armor,
String _default,
int slot,
int layer) |
static Object |
ModCompatibilityClient.mlmpVehicleSpawn(int type,
World world,
double x,
double y,
double z,
Entity thrower,
Object currentEntity)
Attempts to spawn a vehicle using ModLoaderMP's vehicle spawn registry, if MLMP is not installed
it returns the passed in currentEntity
|
Modifier and Type | Class and Description |
---|---|
class |
FakePlayer |
Modifier and Type | Method and Description |
---|---|
Entity |
ForgeChunkManager.Ticket.getEntity()
Get the entity associated with this
ForgeChunkManager.Type.ENTITY type ticket |
Entity |
IThrowableEntity.getThrower()
Deprecated.
Gets the entity that threw/created this entity.
|
Modifier and Type | Method and Description |
---|---|
void |
ForgeChunkManager.Ticket.bindEntity(Entity entity)
Bind the entity to the ticket for
ForgeChunkManager.Type.ENTITY type tickets. |
AxisAlignedBB |
IMinecartCollisionHandler.getCollisionBox(EntityMinecart cart,
Entity other)
This function replaced the function of the same name in EntityMinecart.
|
void |
IExtendedEntityProperties.init(Entity entity,
World world)
Used to initialize the extended properties with the entity that this is attached to, as well
as the world object.
|
void |
IMinecartCollisionHandler.onEntityCollision(EntityMinecart cart,
Entity other)
This basically replaces the function of the same name in EnityMinecart.
|
void |
IThrowableEntity.setThrower(Entity entity)
Deprecated.
Sets the entity that threw/created this entity.
|
Modifier and Type | Field and Description |
---|---|
Entity |
EntityEvent.entity |
Constructor and Description |
---|
EntityEvent.CanUpdate(Entity entity) |
EntityEvent.EnteringChunk(Entity entity,
int newChunkX,
int newChunkZ,
int oldChunkX,
int oldChunkZ) |
EntityEvent.EntityConstructing(Entity entity) |
EntityEvent(Entity entity) |
EntityJoinWorldEvent(Entity entity,
World world) |
PlaySoundAtEntityEvent(Entity entity,
String name,
float volume,
float pitch) |
Modifier and Type | Field and Description |
---|---|
Entity |
MinecartCollisionEvent.collider |
Constructor and Description |
---|
MinecartCollisionEvent(EntityMinecart minecart,
Entity collider) |
Modifier and Type | Field and Description |
---|---|
Entity |
EntityInteractEvent.target |
Entity |
AttackEntityEvent.target |
Constructor and Description |
---|
AttackEntityEvent(EntityPlayer player,
Entity target) |
EntityInteractEvent(EntityPlayer player,
Entity target) |