From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../event/entity/EntityEvent.CanUpdate.html | 323 ++++++++++++ .../event/entity/EntityEvent.EnteringChunk.html | 368 ++++++++++++++ .../entity/EntityEvent.EntityConstructing.html | 292 +++++++++++ .../minecraftforge/event/entity/EntityEvent.html | 325 ++++++++++++ .../event/entity/EntityJoinWorldEvent.html | 322 ++++++++++++ .../event/entity/EntityStruckByLightningEvent.html | 322 ++++++++++++ .../event/entity/PlaySoundAtEntityEvent.html | 356 +++++++++++++ .../event/entity/item/ItemEvent.html | 323 ++++++++++++ .../event/entity/item/ItemExpireEvent.html | 330 +++++++++++++ .../event/entity/item/ItemTossEvent.html | 333 +++++++++++++ .../event/entity/item/package-frame.html | 21 + .../event/entity/item/package-summary.html | 147 ++++++ .../event/entity/item/package-tree.html | 139 ++++++ .../event/entity/living/EnderTeleportEvent.html | 375 ++++++++++++++ .../event/entity/living/LivingAttackEvent.html | 360 ++++++++++++++ .../event/entity/living/LivingDeathEvent.html | 345 +++++++++++++ .../event/entity/living/LivingDropsEvent.html | 411 +++++++++++++++ .../entity/living/LivingEvent.LivingJumpEvent.html | 315 ++++++++++++ .../living/LivingEvent.LivingUpdateEvent.html | 315 ++++++++++++ .../event/entity/living/LivingEvent.html | 345 +++++++++++++ .../event/entity/living/LivingFallEvent.html | 343 +++++++++++++ .../event/entity/living/LivingHealEvent.html | 342 +++++++++++++ .../event/entity/living/LivingHurtEvent.html | 360 ++++++++++++++ .../event/entity/living/LivingPackSizeEvent.html | 337 +++++++++++++ .../entity/living/LivingSetAttackTargetEvent.html | 343 +++++++++++++ .../living/LivingSpawnEvent.AllowDespawn.html | 330 +++++++++++++ .../entity/living/LivingSpawnEvent.CheckSpawn.html | 336 +++++++++++++ .../living/LivingSpawnEvent.SpecialSpawn.html | 342 +++++++++++++ .../event/entity/living/LivingSpawnEvent.html | 422 ++++++++++++++++ .../entity/living/ZombieEvent.SummonAidEvent.html | 445 +++++++++++++++++ .../event/entity/living/ZombieEvent.html | 330 +++++++++++++ .../event/entity/living/package-frame.html | 36 ++ .../event/entity/living/package-summary.html | 287 +++++++++++ .../event/entity/living/package-tree.html | 160 ++++++ .../entity/minecart/MinecartCollisionEvent.html | 333 +++++++++++++ .../event/entity/minecart/MinecartEvent.html | 319 ++++++++++++ .../entity/minecart/MinecartInteractEvent.html | 337 +++++++++++++ .../event/entity/minecart/MinecartUpdateEvent.html | 365 ++++++++++++++ .../event/entity/minecart/package-frame.html | 22 + .../event/entity/minecart/package-summary.html | 161 ++++++ .../event/entity/minecart/package-tree.html | 140 ++++++ .../minecraftforge/event/entity/package-frame.html | 25 + .../event/entity/package-summary.html | 197 ++++++++ .../minecraftforge/event/entity/package-tree.html | 139 ++++++ .../event/entity/player/AchievementEvent.html | 349 +++++++++++++ .../event/entity/player/AnvilRepairEvent.html | 398 +++++++++++++++ .../event/entity/player/ArrowLooseEvent.html | 376 ++++++++++++++ .../event/entity/player/ArrowNockEvent.html | 360 ++++++++++++++ .../event/entity/player/AttackEntityEvent.html | 360 ++++++++++++++ .../event/entity/player/BonemealEvent.html | 417 ++++++++++++++++ .../event/entity/player/EntityInteractEvent.html | 360 ++++++++++++++ .../event/entity/player/EntityItemPickupEvent.html | 358 ++++++++++++++ .../event/entity/player/FillBucketEvent.html | 401 +++++++++++++++ .../event/entity/player/ItemTooltipEvent.html | 390 +++++++++++++++ .../entity/player/PlayerDestroyItemEvent.html | 364 ++++++++++++++ .../event/entity/player/PlayerDropsEvent.html | 354 +++++++++++++ .../entity/player/PlayerEvent.BreakSpeed.html | 482 ++++++++++++++++++ .../event/entity/player/PlayerEvent.Clone.html | 376 ++++++++++++++ .../entity/player/PlayerEvent.HarvestCheck.html | 381 ++++++++++++++ .../entity/player/PlayerEvent.LoadFromFile.html | 412 ++++++++++++++++ .../entity/player/PlayerEvent.NameFormat.html | 379 ++++++++++++++ .../entity/player/PlayerEvent.SaveToFile.html | 419 ++++++++++++++++ .../entity/player/PlayerEvent.StartTracking.html | 356 +++++++++++++ .../entity/player/PlayerEvent.StopTracking.html | 356 +++++++++++++ .../event/entity/player/PlayerEvent.html | 409 +++++++++++++++ .../entity/player/PlayerFlyableFallEvent.html | 349 +++++++++++++ .../entity/player/PlayerInteractEvent.Action.html | 333 +++++++++++++ .../event/entity/player/PlayerInteractEvent.html | 549 +++++++++++++++++++++ .../entity/player/PlayerOpenContainerEvent.html | 358 ++++++++++++++ .../event/entity/player/PlayerPickupXpEvent.html | 350 +++++++++++++ .../event/entity/player/PlayerSleepInBedEvent.html | 403 +++++++++++++++ .../entity/player/PlayerUseItemEvent.Finish.html | 382 ++++++++++++++ .../entity/player/PlayerUseItemEvent.Start.html | 353 +++++++++++++ .../entity/player/PlayerUseItemEvent.Stop.html | 355 +++++++++++++ .../entity/player/PlayerUseItemEvent.Tick.html | 348 +++++++++++++ .../event/entity/player/PlayerUseItemEvent.html | 360 ++++++++++++++ .../event/entity/player/PlayerWakeUpEvent.html | 409 +++++++++++++++ .../event/entity/player/UseHoeEvent.html | 418 ++++++++++++++++ .../event/entity/player/package-frame.html | 55 +++ .../event/entity/player/package-summary.html | 376 ++++++++++++++ .../event/entity/player/package-tree.html | 192 +++++++ 81 files changed, 26165 insertions(+) create mode 100644 javadoc/net/minecraftforge/event/entity/EntityEvent.CanUpdate.html create mode 100644 javadoc/net/minecraftforge/event/entity/EntityEvent.EnteringChunk.html create mode 100644 javadoc/net/minecraftforge/event/entity/EntityEvent.EntityConstructing.html create mode 100644 javadoc/net/minecraftforge/event/entity/EntityEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/EntityJoinWorldEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/EntityStruckByLightningEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/item/ItemEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/item/ItemExpireEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/item/ItemTossEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/item/package-frame.html create mode 100644 javadoc/net/minecraftforge/event/entity/item/package-summary.html create mode 100644 javadoc/net/minecraftforge/event/entity/item/package-tree.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/EnderTeleportEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingAttackEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingDeathEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingDropsEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingJumpEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingUpdateEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingFallEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingHealEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingHurtEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingPackSizeEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingSetAttackTargetEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.AllowDespawn.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.CheckSpawn.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.SpecialSpawn.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/ZombieEvent.SummonAidEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/ZombieEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/package-frame.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/package-summary.html create mode 100644 javadoc/net/minecraftforge/event/entity/living/package-tree.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/MinecartCollisionEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/MinecartEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/MinecartInteractEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/MinecartUpdateEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/package-frame.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/package-summary.html create mode 100644 javadoc/net/minecraftforge/event/entity/minecart/package-tree.html create mode 100644 javadoc/net/minecraftforge/event/entity/package-frame.html create mode 100644 javadoc/net/minecraftforge/event/entity/package-summary.html create mode 100644 javadoc/net/minecraftforge/event/entity/package-tree.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/AchievementEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/AnvilRepairEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/ArrowLooseEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/ArrowNockEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/AttackEntityEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/BonemealEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/EntityInteractEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/EntityItemPickupEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/FillBucketEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/ItemTooltipEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerDestroyItemEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerDropsEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.BreakSpeed.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.Clone.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.HarvestCheck.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.LoadFromFile.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.NameFormat.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.SaveToFile.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StartTracking.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StopTracking.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerFlyableFallEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.Action.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerOpenContainerEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerPickupXpEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerSleepInBedEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Finish.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Start.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Stop.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Tick.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/PlayerWakeUpEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/UseHoeEvent.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/package-frame.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/package-summary.html create mode 100644 javadoc/net/minecraftforge/event/entity/player/package-tree.html (limited to 'javadoc/net/minecraftforge/event/entity') diff --git a/javadoc/net/minecraftforge/event/entity/EntityEvent.CanUpdate.html b/javadoc/net/minecraftforge/event/entity/EntityEvent.CanUpdate.html new file mode 100644 index 0000000..f132894 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/EntityEvent.CanUpdate.html @@ -0,0 +1,323 @@ + + + + + +EntityEvent.CanUpdate (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class EntityEvent.CanUpdate

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    EntityEvent
    +
    +
    +
    +
    public static class EntityEvent.CanUpdate
    +extends EntityEvent
    +
    CanUpdate is fired when an Entity is being created.
    + This event is fired whenever vanilla Minecraft determines that an entity
    + cannot update in World#updateEntityWithOptionalForce(net.minecraft.entity.Entity, boolean)
    +
    + canUpdate contains the boolean value of whether this entity can update.
    + If the modder decides that this Entity can be updated, they may change canUpdate to true,
    + and the entity with then be updated.
    +
    + This event is not Cancelable.
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        canUpdate

        +
        public boolean canUpdate
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityEvent.CanUpdate

        +
        public EntityEvent.CanUpdate(Entity entity)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/EntityEvent.EnteringChunk.html b/javadoc/net/minecraftforge/event/entity/EntityEvent.EnteringChunk.html new file mode 100644 index 0000000..2e6eb06 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/EntityEvent.EnteringChunk.html @@ -0,0 +1,368 @@ + + + + + +EntityEvent.EnteringChunk (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class EntityEvent.EnteringChunk

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    EntityEvent
    +
    +
    +
    +
    public static class EntityEvent.EnteringChunk
    +extends EntityEvent
    +
    EnteringChunk is fired when an Entity enters a chunk.
    + This event is fired whenever vanilla Minecraft determines that an entity
    + is entering a chunk in Chunk#addEntity(net.minecraft.entity.Entity)
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        newChunkX

        +
        public int newChunkX
        +
      • +
      + + + +
        +
      • +

        newChunkZ

        +
        public int newChunkZ
        +
      • +
      + + + +
        +
      • +

        oldChunkX

        +
        public int oldChunkX
        +
      • +
      + + + +
        +
      • +

        oldChunkZ

        +
        public int oldChunkZ
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityEvent.EnteringChunk

        +
        public EntityEvent.EnteringChunk(Entity entity,
        +                         int newChunkX,
        +                         int newChunkZ,
        +                         int oldChunkX,
        +                         int oldChunkZ)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/EntityEvent.EntityConstructing.html b/javadoc/net/minecraftforge/event/entity/EntityEvent.EntityConstructing.html new file mode 100644 index 0000000..d626cb6 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/EntityEvent.EntityConstructing.html @@ -0,0 +1,292 @@ + + + + + +EntityEvent.EntityConstructing (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class EntityEvent.EntityConstructing

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    EntityEvent
    +
    +
    +
    +
    public static class EntityEvent.EntityConstructing
    +extends EntityEvent
    +
    EntityConstructing is fired when an Entity is being created.
    + This event is fired within the constructor of the Entity.
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityEvent.EntityConstructing

        +
        public EntityEvent.EntityConstructing(Entity entity)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/EntityEvent.html b/javadoc/net/minecraftforge/event/entity/EntityEvent.html new file mode 100644 index 0000000..ea09d88 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/EntityEvent.html @@ -0,0 +1,325 @@ + + + + + +EntityEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class EntityEvent

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        entity

        +
        public final Entity entity
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityEvent

        +
        public EntityEvent(Entity entity)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/EntityJoinWorldEvent.html b/javadoc/net/minecraftforge/event/entity/EntityJoinWorldEvent.html new file mode 100644 index 0000000..3b87f6b --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/EntityJoinWorldEvent.html @@ -0,0 +1,322 @@ + + + + + +EntityJoinWorldEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class EntityJoinWorldEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class EntityJoinWorldEvent
    +extends EntityEvent
    +
    EntityJoinWorldEvent is fired when an Entity joins the world.
    + This event is fired whenever an Entity is added to the world in + World#addLoadedEntities(java.util.List), World#joinEntityInSurroundings(Entity), and World#spawnEntityInWorld(Entity).
    +
    + world contains the world in which the entity is to join.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity is not added to the world.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        world

        +
        public final World world
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityJoinWorldEvent

        +
        public EntityJoinWorldEvent(Entity entity,
        +                    World world)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/EntityStruckByLightningEvent.html b/javadoc/net/minecraftforge/event/entity/EntityStruckByLightningEvent.html new file mode 100644 index 0000000..c06e095 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/EntityStruckByLightningEvent.html @@ -0,0 +1,322 @@ + + + + + +EntityStruckByLightningEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class EntityStruckByLightningEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class EntityStruckByLightningEvent
    +extends EntityEvent
    +
    EntityStruckByLightningEvent is fired when an Entity is about to be struck by lightening.
    + This event is fired whenever an EntityLightningBolt is updated to strike an Entity in + EntityLightningBolt#onUpdate() via ForgeEventFactory#onEntityStruckByLightning(Entity, EntityLightningBolt).
    +
    + lightning contains the instance of EntityLightningBolt attempting to strike an entity.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity is not struck by the lightening.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html b/javadoc/net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html new file mode 100644 index 0000000..53e177f --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html @@ -0,0 +1,356 @@ + + + + + +PlaySoundAtEntityEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity
+

Class PlaySoundAtEntityEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlaySoundAtEntityEvent
    +extends EntityEvent
    +
    PlaySoundAtEntityEvent is fired a sound is to be played at an Entity
    + This event is fired whenever a sound is set to be played at an Entity such as in + EntityPlayerSP#playSound(String, float, float), World#playSoundAtEntity(Entity, String, float, float), + and World#playerSoundToNearExcept(EntityPlayer, String, float, float).
    +
    + name contains the name of the sound to be played at the Entity.
    + volume contains the volume at which the sound is to be played.
    + pitch contains the pitch at which the sound is to be played.
    + Changing the name field will cause the sound of this name to be played instead of the originally intended sound.
    +
    + This event is Cancelable.
    + If this event is canceled, the sound is not played.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      + + + +
        +
      • +

        volume

        +
        public final float volume
        +
      • +
      + + + +
        +
      • +

        pitch

        +
        public final float pitch
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlaySoundAtEntityEvent

        +
        public PlaySoundAtEntityEvent(Entity entity,
        +                      java.lang.String name,
        +                      float volume,
        +                      float pitch)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/item/ItemEvent.html b/javadoc/net/minecraftforge/event/entity/item/ItemEvent.html new file mode 100644 index 0000000..9b38458 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/item/ItemEvent.html @@ -0,0 +1,323 @@ + + + + + +ItemEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.item
+

Class ItemEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    ItemExpireEvent, ItemTossEvent
    +
    +
    +
    +
    public class ItemEvent
    +extends EntityEvent
    +
    Base class for all EntityItem events. Contains a reference to the + EntityItem of interest. For most EntityItem events, there's little to no + additional useful data from the firing method that isn't already contained + within the EntityItem instance.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        entityItem

        +
        public final EntityItem entityItem
        +
        The relevant EntityItem for this event, already cast for you.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ItemEvent

        +
        public ItemEvent(EntityItem itemEntity)
        +
        Creates a new event for an EntityItem.
        +
        Parameters:
        itemEntity - The EntityItem for this event
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/item/ItemExpireEvent.html b/javadoc/net/minecraftforge/event/entity/item/ItemExpireEvent.html new file mode 100644 index 0000000..4107d81 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/item/ItemExpireEvent.html @@ -0,0 +1,330 @@ + + + + + +ItemExpireEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.item
+

Class ItemExpireEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class ItemExpireEvent
    +extends ItemEvent
    +
    Event that is fired when an EntityItem's age has reached its maximum + lifespan. Canceling this event will prevent the EntityItem from being + flagged as dead, thus staying it's removal from the world. If canceled + it will add more time to the entitie's life equal to extraLife.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        extraLife

        +
        public int extraLife
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ItemExpireEvent

        +
        public ItemExpireEvent(EntityItem entityItem,
        +               int extraLife)
        +
        Creates a new event for an expiring EntityItem.
        +
        Parameters:
        entityItem - The EntityItem being deleted.
        extraLife - The amount of time to be added to this entities lifespan if the event is canceled.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/item/ItemTossEvent.html b/javadoc/net/minecraftforge/event/entity/item/ItemTossEvent.html new file mode 100644 index 0000000..8cc0926 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/item/ItemTossEvent.html @@ -0,0 +1,333 @@ + + + + + +ItemTossEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.item
+

Class ItemTossEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class ItemTossEvent
    +extends ItemEvent
    +
    Event that is fired whenever a player tosses (Q) an item or drag-n-drops a + stack of items outside the inventory GUI screens. Canceling the event will + stop the items from entering the world, but will not prevent them being + removed from the inventory - and thus removed from the system.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        player

        +
        public final EntityPlayer player
        +
        The player tossing the item.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ItemTossEvent

        +
        public ItemTossEvent(EntityItem entityItem,
        +             EntityPlayer player)
        +
        Creates a new event for EntityItems tossed by a player.
        +
        Parameters:
        entityItem - The EntityItem being tossed.
        player - The player tossing the item.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/item/package-frame.html b/javadoc/net/minecraftforge/event/entity/item/package-frame.html new file mode 100644 index 0000000..5ef0d76 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/item/package-frame.html @@ -0,0 +1,21 @@ + + + + + +net.minecraftforge.event.entity.item (Forge API) + + + + +

net.minecraftforge.event.entity.item

+
+

Classes

+ +
+ + diff --git a/javadoc/net/minecraftforge/event/entity/item/package-summary.html b/javadoc/net/minecraftforge/event/entity/item/package-summary.html new file mode 100644 index 0000000..2302a08 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/item/package-summary.html @@ -0,0 +1,147 @@ + + + + + +net.minecraftforge.event.entity.item (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package net.minecraftforge.event.entity.item

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/item/package-tree.html b/javadoc/net/minecraftforge/event/entity/item/package-tree.html new file mode 100644 index 0000000..4a2bf1f --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/item/package-tree.html @@ -0,0 +1,139 @@ + + + + + +net.minecraftforge.event.entity.item Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package net.minecraftforge.event.entity.item

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/EnderTeleportEvent.html b/javadoc/net/minecraftforge/event/entity/living/EnderTeleportEvent.html new file mode 100644 index 0000000..d45d71a --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/EnderTeleportEvent.html @@ -0,0 +1,375 @@ + + + + + +EnderTeleportEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class EnderTeleportEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class EnderTeleportEvent
    +extends LivingEvent
    +
    Event for when an Enderman teleports or an ender pearl is used. Can be used to either modify the target position, or cancel the teleport outright.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        targetX

        +
        public double targetX
        +
      • +
      + + + +
        +
      • +

        targetY

        +
        public double targetY
        +
      • +
      + + + +
        +
      • +

        targetZ

        +
        public double targetZ
        +
      • +
      + + + +
        +
      • +

        attackDamage

        +
        public float attackDamage
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnderTeleportEvent

        +
        public EnderTeleportEvent(EntityLivingBase entity,
        +                  double targetX,
        +                  double targetY,
        +                  double targetZ,
        +                  float attackDamage)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingAttackEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingAttackEvent.html new file mode 100644 index 0000000..d904ac2 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingAttackEvent.html @@ -0,0 +1,360 @@ + + + + + +LivingAttackEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingAttackEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingAttackEvent
    +extends LivingEvent
    +
    LivingAttackEvent is fired when a living Entity is attacked.
    + This event is fired whenever an Entity is attacked in + EntityLivingBase#attackEntityFrom(DamageSource, float) and + EntityPlayer#attackEntityFrom(DamageSource, float).
    +
    + This event is fired via the ForgeHooks#onLivingAttack(EntityLivingBase, DamageSource, float).
    +
    + source contains the DamageSource of the attack.
    + #amount contains the amount of damage dealt to the entity.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity does not take attack damage.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        ammount

        +
        public final float ammount
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingDeathEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingDeathEvent.html new file mode 100644 index 0000000..821f522 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingDeathEvent.html @@ -0,0 +1,345 @@ + + + + + +LivingDeathEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingDeathEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingDeathEvent
    +extends LivingEvent
    +
    LivingDeathEvent is fired when an Entity dies.
    + This event is fired whenever an Entity dies in + EntityLivingBase#onDeath(DamageSource), + EntityPlayer#onDeath(DamageSource), and + EntityPlayerMP#onDeath(DamageSource).
    +
    + This event is fired via the ForgeHooks#onLivingDeath(EntityLivingBase, DamageSource).
    +
    + source contains the DamageSource that caused the entity to die.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity does not die.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingDropsEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingDropsEvent.html new file mode 100644 index 0000000..69b3880 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingDropsEvent.html @@ -0,0 +1,411 @@ + + + + + +LivingDropsEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingDropsEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    PlayerDropsEvent
    +
    +
    +
    +
    public class LivingDropsEvent
    +extends LivingEvent
    +
    LivingDropsEvent is fired when an Entity's death causes dropped items to appear.
    + This event is fired whenever an Entity dies and drops items in + EntityLivingBase#onDeath(DamageSource).
    +
    + This event is fired via the ForgeHooks#onLivingDrops(EntityLivingBase, DamageSource, ArrayList, int, boolean, int).
    +
    + source contains the DamageSource that caused the drop to occur.
    + drops contains the ArrayList of EntityItems that will be dropped.
    + lootingLevel contains the amount of loot that will be dropped.
    + recentlyHit determines whether the Entity doing the drop has recently been damaged.
    + specialDropValue contains the special drop value for this even.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity does not drop anything.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        drops

        +
        public final java.util.ArrayList<EntityItem> drops
        +
      • +
      + + + +
        +
      • +

        lootingLevel

        +
        public final int lootingLevel
        +
      • +
      + + + +
        +
      • +

        recentlyHit

        +
        public final boolean recentlyHit
        +
      • +
      + + + +
        +
      • +

        specialDropValue

        +
        public final int specialDropValue
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingDropsEvent

        +
        public LivingDropsEvent(EntityLivingBase entity,
        +                DamageSource source,
        +                java.util.ArrayList<EntityItem> drops,
        +                int lootingLevel,
        +                boolean recentlyHit,
        +                int specialDropValue)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingJumpEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingJumpEvent.html new file mode 100644 index 0000000..70e92e5 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingJumpEvent.html @@ -0,0 +1,315 @@ + + + + + +LivingEvent.LivingJumpEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingEvent.LivingJumpEvent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    LivingEvent
    +
    +
    +
    +
    public static class LivingEvent.LivingJumpEvent
    +extends LivingEvent
    +
    LivingJumpEvent is fired when an Entity jumps.
    + This event is fired whenever an Entity jumps in + EntityLivingBase#jump(), EntityMagmaCube#jump(), + and EntityHorse#jump().
    +
    + This event is fired via the ForgeHooks#onLivingJump(EntityLivingBase).
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingEvent.LivingJumpEvent

        +
        public LivingEvent.LivingJumpEvent(EntityLivingBase e)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingUpdateEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingUpdateEvent.html new file mode 100644 index 0000000..a730bf7 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingEvent.LivingUpdateEvent.html @@ -0,0 +1,315 @@ + + + + + +LivingEvent.LivingUpdateEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingEvent.LivingUpdateEvent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    LivingEvent
    +
    +
    +
    +
    public static class LivingEvent.LivingUpdateEvent
    +extends LivingEvent
    +
    LivingUpdateEvent is fired when an Entity is updated.
    + This event is fired whenever an Entity is updated in + EntityLivingBase#onUpdate().
    +
    + This event is fired via the ForgeHooks#onLivingUpdate(EntityLivingBase).
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity does not update.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingEvent.LivingUpdateEvent

        +
        public LivingEvent.LivingUpdateEvent(EntityLivingBase e)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingEvent.html new file mode 100644 index 0000000..361a44c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingEvent.html @@ -0,0 +1,345 @@ + + + + + +LivingEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingEvent

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingFallEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingFallEvent.html new file mode 100644 index 0000000..813601a --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingFallEvent.html @@ -0,0 +1,343 @@ + + + + + +LivingFallEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingFallEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingFallEvent
    +extends LivingEvent
    +
    LivingFallEvent is fired when an Entity is set to be falling.
    + This event is fired whenever an Entity is set to fall in + EntityLivingBase#fall(float).
    +
    + This event is fired via the ForgeHooks#onLivingFall(EntityLivingBase, float).
    +
    + distance contains the distance the Entity is to fall. If this event is canceled, this value is set to 0.0F. +
    + This event is Cancelable.
    + If this event is canceled, the Entity does not fall.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        distance

        +
        public float distance
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingFallEvent

        +
        public LivingFallEvent(EntityLivingBase entity,
        +               float distance)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingHealEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingHealEvent.html new file mode 100644 index 0000000..47c1b19 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingHealEvent.html @@ -0,0 +1,342 @@ + + + + + +LivingHealEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingHealEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingHealEvent
    +extends LivingEvent
    +
    LivingHealEvent is fired when an Entity is set to be healed.
    + This event is fired whenever an Entity is healed in EntityLivingBase#heal(float)
    +
    + This event is fired via the ForgeHooks#onLivingHeal(EntityLivingBase, float).
    +
    + amount contains the amount of healing done to the Entity that was healed.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity is not healed.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        amount

        +
        public float amount
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingHealEvent

        +
        public LivingHealEvent(EntityLivingBase entity,
        +               float amount)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingHurtEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingHurtEvent.html new file mode 100644 index 0000000..8548353 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingHurtEvent.html @@ -0,0 +1,360 @@ + + + + + +LivingHurtEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingHurtEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingHurtEvent
    +extends LivingEvent
    +
    LivingHurtEvent is fired when an Entity is set to be hurt.
    + This event is fired whenever an Entity is hurt in + EntityLivingBase#damageEntity(DamageSource, float) and + EntityPlayer#damageEntity(DamageSource, float).
    +
    + This event is fired via the ForgeHooks#onLivingHurt(EntityLivingBase, DamageSource, float).
    +
    + source contains the DamageSource that caused this Entity to be hurt.
    + #amount contains the amount of damage dealt to the Entity that was hurt.
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity is not hurt.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingPackSizeEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingPackSizeEvent.html new file mode 100644 index 0000000..3cc040c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingPackSizeEvent.html @@ -0,0 +1,337 @@ + + + + + +LivingPackSizeEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingPackSizeEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingPackSizeEvent
    +extends LivingEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        maxPackSize

        +
        public int maxPackSize
        +
        This event is fired when the spawning system determines the + maximum amount of the selected entity that can spawn at the same + time. + + If you set the result to 'ALLOW', it means that you want to return + the value of maxPackSize as the maximum pack size for current entity.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingPackSizeEvent

        +
        public LivingPackSizeEvent(EntityLiving entity)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingSetAttackTargetEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingSetAttackTargetEvent.html new file mode 100644 index 0000000..02279bb --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingSetAttackTargetEvent.html @@ -0,0 +1,343 @@ + + + + + +LivingSetAttackTargetEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingSetAttackTargetEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class LivingSetAttackTargetEvent
    +extends LivingEvent
    +
    LivingSetAttackTargetEvent is fired when an Entity sets a target to attack.
    + This event is fired whenever an Entity sets a target to attack in + EntityLiving#setAttackTarget(EntityLivingBase) and + EntityLivingBase#setRevengeTarget(EntityLivingBase).
    +
    + This event is fired via the ForgeHooks#onLivingSetAttackTarget(EntityLivingBase, EntityLivingBase).
    +
    + target contains the newly targeted Entity.
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.AllowDespawn.html b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.AllowDespawn.html new file mode 100644 index 0000000..a0ac847 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.AllowDespawn.html @@ -0,0 +1,330 @@ + + + + + +LivingSpawnEvent.AllowDespawn (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingSpawnEvent.AllowDespawn

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    LivingSpawnEvent
    +
    +
    +
    +
    public static class LivingSpawnEvent.AllowDespawn
    +extends LivingSpawnEvent
    +
    Fired each tick for despawnable mobs to allow control over despawning. + Result#DEFAULT will pass the mob on to vanilla despawn mechanics. + Result#ALLOW will force the mob to despawn. + Result#DENY will force the mob to remain. + This is fired every tick for every despawnable entity. Be efficient in your handlers. + + Note: this is not fired if the mob is definitely going to otherwise despawn. It is fired to check if + the mob can be allowed to despawn. See EntityLiving.despawnEntity()
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingSpawnEvent.AllowDespawn

        +
        public LivingSpawnEvent.AllowDespawn(EntityLiving entity)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.CheckSpawn.html b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.CheckSpawn.html new file mode 100644 index 0000000..ec0c98c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.CheckSpawn.html @@ -0,0 +1,336 @@ + + + + + +LivingSpawnEvent.CheckSpawn (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingSpawnEvent.CheckSpawn

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    LivingSpawnEvent
    +
    +
    +
    +
    public static class LivingSpawnEvent.CheckSpawn
    +extends LivingSpawnEvent
    +
    Fires before mob spawn events. + + Result is significant: + DEFAULT: use vanilla spawn rules + ALLOW: allow the spawn + DENY: deny the spawn
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingSpawnEvent.CheckSpawn

        +
        public LivingSpawnEvent.CheckSpawn(EntityLiving entity,
        +                           World world,
        +                           float x,
        +                           float y,
        +                           float z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.SpecialSpawn.html b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.SpecialSpawn.html new file mode 100644 index 0000000..890e224 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.SpecialSpawn.html @@ -0,0 +1,342 @@ + + + + + +LivingSpawnEvent.SpecialSpawn (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingSpawnEvent.SpecialSpawn

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    LivingSpawnEvent
    +
    +
    +
    +
    public static class LivingSpawnEvent.SpecialSpawn
    +extends LivingSpawnEvent
    +
    SpecialSpawn is fired when an Entity is to be spawned from a mob spawner.
    + This event is fired whenever an Entity is spawned in a mob spawner in
    + SpawnerAnimals#findChunksForSpawning(WorldServer, boolean, boolean, boolean).
    +
    + This event is fired via the ForgeHooks#doSpecialSpawn(EntityLiving, World, float, float, float).
    +
    + This event is Cancelable.
    + If this event is canceled, the Entity is not spawned.
    +
    + This event does not have a result. Event.HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingSpawnEvent.SpecialSpawn

        +
        public LivingSpawnEvent.SpecialSpawn(EntityLiving entity,
        +                             World world,
        +                             float x,
        +                             float y,
        +                             float z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.html b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.html new file mode 100644 index 0000000..a8ee2a7 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/LivingSpawnEvent.html @@ -0,0 +1,422 @@ + + + + + +LivingSpawnEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class LivingSpawnEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    LivingSpawnEvent.AllowDespawn, LivingSpawnEvent.CheckSpawn, LivingSpawnEvent.SpecialSpawn
    +
    +
    +
    +
    public class LivingSpawnEvent
    +extends LivingEvent
    +
    LivingSpawnEvent is fired whenever a living Entity is spawned.
    + If a method utilizes this Event as its parameter, the method will + receive every child event of this class.
    +
    + world contains the world in which this living Entity is being spawned.
    + x contains the x-coordinate this entity is being spawned at.
    + y contains the y-coordinate this entity is being spawned at.
    + z contains the z-coordinate this entity is being spawned at.
    +
    + All children of this event are fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        world

        +
        public final World world
        +
      • +
      + + + +
        +
      • +

        x

        +
        public final float x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final float y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final float z
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LivingSpawnEvent

        +
        public LivingSpawnEvent(EntityLiving entity,
        +                World world,
        +                float x,
        +                float y,
        +                float z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/ZombieEvent.SummonAidEvent.html b/javadoc/net/minecraftforge/event/entity/living/ZombieEvent.SummonAidEvent.html new file mode 100644 index 0000000..02f7d0f --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/ZombieEvent.SummonAidEvent.html @@ -0,0 +1,445 @@ + + + + + +ZombieEvent.SummonAidEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class ZombieEvent.SummonAidEvent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    ZombieEvent
    +
    +
    +
    +
    public static class ZombieEvent.SummonAidEvent
    +extends ZombieEvent
    +
    SummonAidEvent is fired when a Zombie Entity is summoned. + This event is fired whenever a Zombie Entity is summoned in + EntityZombie#attackEntityFrom(DamageSource, float). + + This event is fired via the ForgeHooks#fireZombieSummonAid(EntityZombie, World, int, int, int, EntityLivingBase, double). + + customSummonedAid remains null, but can be populated with a custom EntityZombie which will be spawned. + world contains the world that this summoning is occurring in. + x contains the x-coordinate at which this summoning event is occurring. + y contains the y-coordinate at which this summoning event is occurring. + z contains the z-coordinate at which this summoning event is occurring. + attacker contains the living Entity that attacked and caused this event to fire. + summonChance contains the likelihood that a Zombie would successfully be summoned. + + This event is not Cancelable. + + This event has a result. Event.HasResult + Result#ALLOW Zombie is summoned. + Result#DENY Zombie is not summoned. + + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        customSummonedAid

        +
        public EntityZombie customSummonedAid
        +
        Populate this field to have a custom zombie instead of a normal zombie summoned
        +
      • +
      + + + +
        +
      • +

        world

        +
        public final World world
        +
      • +
      + + + +
        +
      • +

        x

        +
        public final int x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final int y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final int z
        +
      • +
      + + + + + + + +
        +
      • +

        summonChance

        +
        public final double summonChance
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ZombieEvent.SummonAidEvent

        +
        public ZombieEvent.SummonAidEvent(EntityZombie entity,
        +                          World world,
        +                          int x,
        +                          int y,
        +                          int z,
        +                          EntityLivingBase attacker,
        +                          double summonChance)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/ZombieEvent.html b/javadoc/net/minecraftforge/event/entity/living/ZombieEvent.html new file mode 100644 index 0000000..4683105 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/ZombieEvent.html @@ -0,0 +1,330 @@ + + + + + +ZombieEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.living
+

Class ZombieEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    ZombieEvent.SummonAidEvent
    +
    +
    +
    +
    public class ZombieEvent
    +extends EntityEvent
    +
    ZombieEvent is fired whenever a zombie is spawned for aid. + If a method utilizes this Event as its parameter, the method will + receive every child event of this class. + + All children of this event are fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ZombieEvent

        +
        public ZombieEvent(EntityZombie entity)
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/package-frame.html b/javadoc/net/minecraftforge/event/entity/living/package-frame.html new file mode 100644 index 0000000..af8e23a --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/package-frame.html @@ -0,0 +1,36 @@ + + + + + +net.minecraftforge.event.entity.living (Forge API) + + + + +

net.minecraftforge.event.entity.living

+
+

Classes

+ +
+ + diff --git a/javadoc/net/minecraftforge/event/entity/living/package-summary.html b/javadoc/net/minecraftforge/event/entity/living/package-summary.html new file mode 100644 index 0000000..2015b7c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/package-summary.html @@ -0,0 +1,287 @@ + + + + + +net.minecraftforge.event.entity.living (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package net.minecraftforge.event.entity.living

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/living/package-tree.html b/javadoc/net/minecraftforge/event/entity/living/package-tree.html new file mode 100644 index 0000000..5af11bc --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/living/package-tree.html @@ -0,0 +1,160 @@ + + + + + +net.minecraftforge.event.entity.living Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package net.minecraftforge.event.entity.living

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/MinecartCollisionEvent.html b/javadoc/net/minecraftforge/event/entity/minecart/MinecartCollisionEvent.html new file mode 100644 index 0000000..7fc7626 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/MinecartCollisionEvent.html @@ -0,0 +1,333 @@ + + + + + +MinecartCollisionEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.minecart
+

Class MinecartCollisionEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class MinecartCollisionEvent
    +extends MinecartEvent
    +
    MinecartCollisionEvent is fired when a minecart collides with an Entity. + This event is fired whenever a minecraft collides in + EntityMinecart#applyEntityCollision(Entity). + + collider contains the Entity the Minecart collided with. + + This event is not Cancelable. + + This event does not have a result. HasResult + + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        collider

        +
        public final Entity collider
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MinecartCollisionEvent

        +
        public MinecartCollisionEvent(EntityMinecart minecart,
        +                      Entity collider)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/MinecartEvent.html b/javadoc/net/minecraftforge/event/entity/minecart/MinecartEvent.html new file mode 100644 index 0000000..cbcd449 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/MinecartEvent.html @@ -0,0 +1,319 @@ + + + + + +MinecartEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.minecart
+

Class MinecartEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    MinecartCollisionEvent, MinecartInteractEvent, MinecartUpdateEvent
    +
    +
    +
    +
    public class MinecartEvent
    +extends EntityEvent
    +
    MinecartEvent is fired whenever an event involving minecart entities occurs.
    + If a method utilizes this Event as its parameter, the method will
    + receive every child event of this class.
    +
    + minecart contains the minecart entity involved with this event.
    +
    + All children of this event are fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/MinecartInteractEvent.html b/javadoc/net/minecraftforge/event/entity/minecart/MinecartInteractEvent.html new file mode 100644 index 0000000..8223f1d --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/MinecartInteractEvent.html @@ -0,0 +1,337 @@ + + + + + +MinecartInteractEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.minecart
+

Class MinecartInteractEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class MinecartInteractEvent
    +extends MinecartEvent
    +
    MinecartInteractEvent is fired when a player interacts with a minecart.
    + This event is fired whenever a player interacts with a minecart in + EntityMinecartContainer#interactFirst(EntityPlayer), + EntityMinecartEmpty#interactFirst(EntityPlayer) + EntityMinecartFurnace#interactFirst(EntityPlayer) + EntityMinecartHopper#interactFirst(EntityPlayer).
    +
    + player contains the EntityPlayer that is involved with this minecart interaction.
    +
    + This event is Cancelable.
    + If this event is canceled, the player does not interact with the minecart.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/MinecartUpdateEvent.html b/javadoc/net/minecraftforge/event/entity/minecart/MinecartUpdateEvent.html new file mode 100644 index 0000000..6d97d04 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/MinecartUpdateEvent.html @@ -0,0 +1,365 @@ + + + + + +MinecartUpdateEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.minecart
+

Class MinecartUpdateEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class MinecartUpdateEvent
    +extends MinecartEvent
    +
    MinecartUpdateEvent is fired when a minecart is updated.
    + This event is fired whenever a minecart is updated in + EntityMinecart#onUpdate().
    +
    + x contains the x-coordinate of the minecart Entity.
    + y contains the y-coordinate of the minecart Entity.
    + z contains the z-coordinate of the minecart Entity.
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        x

        +
        public final float x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final float y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final float z
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MinecartUpdateEvent

        +
        public MinecartUpdateEvent(EntityMinecart minecart,
        +                   float x,
        +                   float y,
        +                   float z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/package-frame.html b/javadoc/net/minecraftforge/event/entity/minecart/package-frame.html new file mode 100644 index 0000000..4a44d37 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/package-frame.html @@ -0,0 +1,22 @@ + + + + + +net.minecraftforge.event.entity.minecart (Forge API) + + + + +

net.minecraftforge.event.entity.minecart

+
+

Classes

+ +
+ + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/package-summary.html b/javadoc/net/minecraftforge/event/entity/minecart/package-summary.html new file mode 100644 index 0000000..97ce34c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/package-summary.html @@ -0,0 +1,161 @@ + + + + + +net.minecraftforge.event.entity.minecart (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package net.minecraftforge.event.entity.minecart

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/minecart/package-tree.html b/javadoc/net/minecraftforge/event/entity/minecart/package-tree.html new file mode 100644 index 0000000..3b7184f --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/minecart/package-tree.html @@ -0,0 +1,140 @@ + + + + + +net.minecraftforge.event.entity.minecart Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package net.minecraftforge.event.entity.minecart

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/package-frame.html b/javadoc/net/minecraftforge/event/entity/package-frame.html new file mode 100644 index 0000000..44f40d4 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/package-frame.html @@ -0,0 +1,25 @@ + + + + + +net.minecraftforge.event.entity (Forge API) + + + + +

net.minecraftforge.event.entity

+
+

Classes

+ +
+ + diff --git a/javadoc/net/minecraftforge/event/entity/package-summary.html b/javadoc/net/minecraftforge/event/entity/package-summary.html new file mode 100644 index 0000000..dbc8b27 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/package-summary.html @@ -0,0 +1,197 @@ + + + + + +net.minecraftforge.event.entity (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package net.minecraftforge.event.entity

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/package-tree.html b/javadoc/net/minecraftforge/event/entity/package-tree.html new file mode 100644 index 0000000..d1335b1 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/package-tree.html @@ -0,0 +1,139 @@ + + + + + +net.minecraftforge.event.entity Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package net.minecraftforge.event.entity

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/AchievementEvent.html b/javadoc/net/minecraftforge/event/entity/player/AchievementEvent.html new file mode 100644 index 0000000..52ac9b9 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/AchievementEvent.html @@ -0,0 +1,349 @@ + + + + + +AchievementEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class AchievementEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class AchievementEvent
    +extends PlayerEvent
    +
    When the player receives an achievement. If canceled the player will not receive anything.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/AnvilRepairEvent.html b/javadoc/net/minecraftforge/event/entity/player/AnvilRepairEvent.html new file mode 100644 index 0000000..afbe482 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/AnvilRepairEvent.html @@ -0,0 +1,398 @@ + + + + + +AnvilRepairEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class AnvilRepairEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class AnvilRepairEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        left

        +
        public final ItemStack left
        +
        Fired when the player removes a "repaired" item from the Anvil's Output slot. + + breakChance specifies as a percentage the chance that the anvil will be "damaged" when used. + + ItemStacks are the inputs/output from the anvil. They cannot be edited.
        +
      • +
      + + + + + + + +
        +
      • +

        output

        +
        public final ItemStack output
        +
      • +
      + + + +
        +
      • +

        breakChance

        +
        public float breakChance
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/ArrowLooseEvent.html b/javadoc/net/minecraftforge/event/entity/player/ArrowLooseEvent.html new file mode 100644 index 0000000..0d26679 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/ArrowLooseEvent.html @@ -0,0 +1,376 @@ + + + + + +ArrowLooseEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class ArrowLooseEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class ArrowLooseEvent
    +extends PlayerEvent
    +
    ArrowLooseEvent is fired when a player stops using a bow.
    + This event is fired whenever a player stops using a bow in + ItemBow#onPlayerStoppedUsing(ItemStack, World, EntityPlayer, int).
    +
    + bow contains the ItemBow ItemStack that was used in this event.
    + charge contains the value for how much the player had charged before stopping the shot.
    +
    + This event is Cancelable.
    + If this event is canceled, the player does not stop using the bow.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        charge

        +
        public int charge
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/ArrowNockEvent.html b/javadoc/net/minecraftforge/event/entity/player/ArrowNockEvent.html new file mode 100644 index 0000000..dc5a7e0 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/ArrowNockEvent.html @@ -0,0 +1,360 @@ + + + + + +ArrowNockEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class ArrowNockEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class ArrowNockEvent
    +extends PlayerEvent
    +
    ArrowNockEvent is fired when a player begins using a bow.
    + This event is fired whenever a player begins using a bow in + ItemBow#onItemRightClick(ItemStack, World, EntityPlayer).
    +
    + result contains the resulting ItemStack due to the use of the bow.
    +
    + This event is Cancelable.
    + If this event is canceled, the player does not begin using the bow.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/AttackEntityEvent.html b/javadoc/net/minecraftforge/event/entity/player/AttackEntityEvent.html new file mode 100644 index 0000000..c3f62b8 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/AttackEntityEvent.html @@ -0,0 +1,360 @@ + + + + + +AttackEntityEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class AttackEntityEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class AttackEntityEvent
    +extends PlayerEvent
    +
    AttackEntityEvent is fired when a player attacks an Entity.
    + This event is fired whenever a player attacks an Entity in + EntityPlayer#attackTargetEntityWithCurrentItem(Entity).
    +
    + target contains the Entity that was damaged by the player.
    +
    + This event is Cancelable.
    + If this event is canceled, the player does not attack the Entity.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        target

        +
        public final Entity target
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AttackEntityEvent

        +
        public AttackEntityEvent(EntityPlayer player,
        +                 Entity target)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/BonemealEvent.html b/javadoc/net/minecraftforge/event/entity/player/BonemealEvent.html new file mode 100644 index 0000000..5068e1c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/BonemealEvent.html @@ -0,0 +1,417 @@ + + + + + +BonemealEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class BonemealEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class BonemealEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        world

        +
        public final World world
        +
        This event is called when a player attempts to use Bonemeal on a block. + It can be canceled to completely prevent any further processing. + + You can also set the result to ALLOW to mark the event as processed + and use up a bonemeal from the stack but do no further processing. + + setResult(ALLOW) is the same as the old setHandeled()
        +
      • +
      + + + +
        +
      • +

        block

        +
        public final Block block
        +
      • +
      + + + +
        +
      • +

        x

        +
        public final int x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final int y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final int z
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BonemealEvent

        +
        public BonemealEvent(EntityPlayer player,
        +             World world,
        +             Block block,
        +             int x,
        +             int y,
        +             int z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/EntityInteractEvent.html b/javadoc/net/minecraftforge/event/entity/player/EntityInteractEvent.html new file mode 100644 index 0000000..f702da3 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/EntityInteractEvent.html @@ -0,0 +1,360 @@ + + + + + +EntityInteractEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class EntityInteractEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class EntityInteractEvent
    +extends PlayerEvent
    +
    EntityInteractEvent is fired when a player interacts with an Entity.
    + This event is fired whenever a player interacts with an Entity in + EntityPlayer#interactWith(Entity).
    +
    + target contains the Entity the player interacted with.
    +
    + This event is Cancelable.
    + If this event is canceled, the player does not interact with the Entity.
    +
    + This event does not have a result. Event.HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        target

        +
        public final Entity target
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityInteractEvent

        +
        public EntityInteractEvent(EntityPlayer player,
        +                   Entity target)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/EntityItemPickupEvent.html b/javadoc/net/minecraftforge/event/entity/player/EntityItemPickupEvent.html new file mode 100644 index 0000000..efee2a0 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/EntityItemPickupEvent.html @@ -0,0 +1,358 @@ + + + + + +EntityItemPickupEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class EntityItemPickupEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class EntityItemPickupEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        item

        +
        public final EntityItem item
        +
        This event is called when a player collides with a EntityItem on the ground. + The event can be canceled, and no further processing will be done. + + You can set the result of this event to ALLOW which will trigger the + processing of achievements, FML's event, play the sound, and kill the + entity if all the items are picked up. + + setResult(ALLOW) is the same as the old setHandled()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/FillBucketEvent.html b/javadoc/net/minecraftforge/event/entity/player/FillBucketEvent.html new file mode 100644 index 0000000..f221ff3 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/FillBucketEvent.html @@ -0,0 +1,401 @@ + + + + + +FillBucketEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class FillBucketEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class FillBucketEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        current

        +
        public final ItemStack current
        +
        This event is fired when a player attempts to use a Empty bucket, it + can be canceled to completely prevent any further processing. + + If you set the result to 'ALLOW', it means that you have processed + the event and wants the basic functionality of adding the new + ItemStack to your inventory and reducing the stack size to process. + setResult(ALLOW) is the same as the old setHandeled();
        +
      • +
      + + + +
        +
      • +

        world

        +
        public final World world
        +
      • +
      + + + + + + + + +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/ItemTooltipEvent.html b/javadoc/net/minecraftforge/event/entity/player/ItemTooltipEvent.html new file mode 100644 index 0000000..a0e3880 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/ItemTooltipEvent.html @@ -0,0 +1,390 @@ + + + + + +ItemTooltipEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class ItemTooltipEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class ItemTooltipEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        showAdvancedItemTooltips

        +
        public final boolean showAdvancedItemTooltips
        +
        Whether the advanced information on item tooltips is being shown, toggled by F3+H.
        +
      • +
      + + + + + + + +
        +
      • +

        toolTip

        +
        public final java.util.List<java.lang.String> toolTip
        +
        The ItemStack tooltip.
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerDestroyItemEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerDestroyItemEvent.html new file mode 100644 index 0000000..7712211 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerDestroyItemEvent.html @@ -0,0 +1,364 @@ + + + + + +PlayerDestroyItemEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerDestroyItemEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerDestroyItemEvent
    +extends PlayerEvent
    +
    PlayerDestroyItemEvent is fired when a player destroys an item.
    + This event is fired whenever a player destroys an item in + PlayerControllerMP#onPlayerRightClick(EntityPlayer, World, ItemStack, int, int, int, int, Vec3), + PlayerControllerMP#sendUseItem(EntityPlayer, World, ItemStack), + EntityPlayer#destroyCurrentEquippedItem(), + SlotCrafting#onPickupFromSlot(EntityPlayer, ItemStack), + ItemInWorldManager#tryUseItem(EntityPlayer, World, ItemStack), + and ItemInWorldManager#activateBlockOrUseItem(EntityPlayer, World, ItemStack, int, int, int, int, float, float, float).
    +
    + original contains the original ItemStack before the item was destroyed.
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerDestroyItemEvent

        +
        public PlayerDestroyItemEvent(EntityPlayer player,
        +                      ItemStack original)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerDropsEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerDropsEvent.html new file mode 100644 index 0000000..ed14e38 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerDropsEvent.html @@ -0,0 +1,354 @@ + + + + + +PlayerDropsEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerDropsEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerDropsEvent
    +extends LivingDropsEvent
    +
    Child class of LivingDropEvent that is fired specifically when a + player dies. Canceling the event will prevent ALL drops from entering the + world.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerDropsEvent

        +
        public PlayerDropsEvent(EntityPlayer entity,
        +                DamageSource source,
        +                java.util.ArrayList<EntityItem> drops,
        +                boolean recentlyHit)
        +
        Creates a new event containing all the items that will drop into the + world when a player dies.
        +
        Parameters:
        entity - The dying player.
        source - The source of the damage which is killing the player.
        drops - List of all drops entering the world.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.BreakSpeed.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.BreakSpeed.html new file mode 100644 index 0000000..78dc901 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.BreakSpeed.html @@ -0,0 +1,482 @@ + + + + + +PlayerEvent.BreakSpeed (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.BreakSpeed

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.BreakSpeed
    +extends PlayerEvent
    +
    BreakSpeed is fired when a player attempts to harvest a block.
    + This event is fired whenever a player attempts to harvest a block in + EntityPlayer#canHarvestBlock(Block).
    +
    + This event is fired via the ForgeEventFactory#getBreakSpeed(EntityPlayer, Block, int, float, int, int, int).
    +
    + block contains the block being broken.
    + metadata contains the metadata of the block being broken.
    + originalSpeed contains the original speed at which the player broke the block.
    + newSpeed contains the newSpeed at which the player will break the block.
    + x contains the x-coordinate at which this event is occurring.
    + y contains the y-coordinate at which this event is occurring.
    + z contains the z-coordinate at which this event is occurring.
    +
    + This event is Cancelable.
    + If it is canceled, the player is unable to break the block.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        block

        +
        public final Block block
        +
      • +
      + + + +
        +
      • +

        metadata

        +
        public final int metadata
        +
      • +
      + + + +
        +
      • +

        originalSpeed

        +
        public final float originalSpeed
        +
      • +
      + + + +
        +
      • +

        newSpeed

        +
        public float newSpeed
        +
      • +
      + + + +
        +
      • +

        x

        +
        public final int x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final int y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final int z
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.BreakSpeed

        +
        @Deprecated
        +public PlayerEvent.BreakSpeed(EntityPlayer player,
        +                                 Block block,
        +                                 int metadata,
        +                                 float original)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        PlayerEvent.BreakSpeed

        +
        public PlayerEvent.BreakSpeed(EntityPlayer player,
        +                      Block block,
        +                      int metadata,
        +                      float original,
        +                      int x,
        +                      int y,
        +                      int z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.Clone.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.Clone.html new file mode 100644 index 0000000..53e84e5 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.Clone.html @@ -0,0 +1,376 @@ + + + + + +PlayerEvent.Clone (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.Clone

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.Clone
    +extends PlayerEvent
    +
    Fired when the EntityPlayer is cloned, typically caused by the network sending a RESPAWN_PLAYER event. + Either caused by death, or by traveling from the End to the overworld.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        original

        +
        public final EntityPlayer original
        +
        The old EntityPlayer that this new entity is a clone of.
        +
      • +
      + + + +
        +
      • +

        wasDeath

        +
        public final boolean wasDeath
        +
        True if this event was fired because the player died. + False if it was fired because the entity switched dimensions.
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.HarvestCheck.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.HarvestCheck.html new file mode 100644 index 0000000..9b888b1 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.HarvestCheck.html @@ -0,0 +1,381 @@ + + + + + +PlayerEvent.HarvestCheck (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.HarvestCheck

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.HarvestCheck
    +extends PlayerEvent
    +
    HarvestCheck is fired when a player attempts to harvest a block.
    + This event is fired whenever a player attempts to harvest a block in + EntityPlayer#canHarvestBlock(Block).
    +
    + This event is fired via the ForgeEventFactory#doPlayerHarvestCheck(EntityPlayer, Block, boolean).
    +
    + block contains the Block that is being checked for harvesting.
    + success contains the boolean value for whether the Block will be successfully harvested.
    +
    + This event is not Cancelable.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        block

        +
        public final Block block
        +
      • +
      + + + +
        +
      • +

        success

        +
        public boolean success
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.HarvestCheck

        +
        public PlayerEvent.HarvestCheck(EntityPlayer player,
        +                        Block block,
        +                        boolean success)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.LoadFromFile.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.LoadFromFile.html new file mode 100644 index 0000000..eabb734 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.LoadFromFile.html @@ -0,0 +1,412 @@ + + + + + +PlayerEvent.LoadFromFile (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.LoadFromFile

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.LoadFromFile
    +extends PlayerEvent
    +
    The player is being loaded from the world save. Note that the + player won't have been added to the world yet. Intended to + allow mods to load an additional file from the players directory + containing additional mod related player data.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        playerDirectory

        +
        public final java.io.File playerDirectory
        +
        The directory where player data is being stored. Use this + to locate your mod additional file.
        +
      • +
      + + + +
        +
      • +

        playerUUID

        +
        public final java.lang.String playerUUID
        +
        The UUID is the standard for player related file storage. + It is broken out here for convenience for quick file generation.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.LoadFromFile

        +
        public PlayerEvent.LoadFromFile(EntityPlayer player,
        +                        java.io.File originDirectory,
        +                        java.lang.String playerUUID)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPlayerFile

        +
        public java.io.File getPlayerFile(java.lang.String suffix)
        +
        Construct and return a recommended file for the supplied suffix
        +
        Parameters:
        suffix - The suffix to use.
        +
        Returns:
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.NameFormat.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.NameFormat.html new file mode 100644 index 0000000..eb1e832 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.NameFormat.html @@ -0,0 +1,379 @@ + + + + + +PlayerEvent.NameFormat (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.NameFormat

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.NameFormat
    +extends PlayerEvent
    +
    NameFormat is fired when a player's display name is retrieved.
    + This event is fired whenever a player's name is retrieved in + EntityPlayer#getDisplayName() or EntityPlayer#refreshDisplayName().
    +
    + This event is fired via the ForgeEventFactory#getPlayerDisplayName(EntityPlayer, String).
    +
    + username contains the username of the player. + displayname contains the display name of the player. +
    + This event is not Cancelable. +
    + This event does not have a result. HasResult +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        username

        +
        public final java.lang.String username
        +
      • +
      + + + +
        +
      • +

        displayname

        +
        public java.lang.String displayname
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.NameFormat

        +
        public PlayerEvent.NameFormat(EntityPlayer player,
        +                      java.lang.String username)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.SaveToFile.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.SaveToFile.html new file mode 100644 index 0000000..5cbe13f --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.SaveToFile.html @@ -0,0 +1,419 @@ + + + + + +PlayerEvent.SaveToFile (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.SaveToFile

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.SaveToFile
    +extends PlayerEvent
    +
    The player is being saved to the world store. Note that the + player may be in the process of logging out or otherwise departing + from the world. Don't assume it's association with the world. + This allows mods to load an additional file from the players directory + containing additional mod related player data. +
    + Use this event to save the additional mod related player data to the world. + +
    + WARNING: Do not overwrite the player's .dat file here. You will + corrupt the world state.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        playerDirectory

        +
        public final java.io.File playerDirectory
        +
        The directory where player data is being stored. Use this + to locate your mod additional file.
        +
      • +
      + + + +
        +
      • +

        playerUUID

        +
        public final java.lang.String playerUUID
        +
        The UUID is the standard for player related file storage. + It is broken out here for convenience for quick file generation.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.SaveToFile

        +
        public PlayerEvent.SaveToFile(EntityPlayer player,
        +                      java.io.File originDirectory,
        +                      java.lang.String playerUUID)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPlayerFile

        +
        public java.io.File getPlayerFile(java.lang.String suffix)
        +
        Construct and return a recommended file for the supplied suffix
        +
        Parameters:
        suffix - The suffix to use.
        +
        Returns:
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StartTracking.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StartTracking.html new file mode 100644 index 0000000..64b6a8b --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StartTracking.html @@ -0,0 +1,356 @@ + + + + + +PlayerEvent.StartTracking (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.StartTracking

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.StartTracking
    +extends PlayerEvent
    +
    Fired when an Entity is started to be "tracked" by this player (the player receives updates about this entity, e.g. motion).
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        target

        +
        public final Entity target
        +
        The Entity now being tracked.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.StartTracking

        +
        public PlayerEvent.StartTracking(EntityPlayer player,
        +                         Entity target)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StopTracking.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StopTracking.html new file mode 100644 index 0000000..074b098 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.StopTracking.html @@ -0,0 +1,356 @@ + + + + + +PlayerEvent.StopTracking (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent.StopTracking

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerEvent
    +
    +
    +
    +
    public static class PlayerEvent.StopTracking
    +extends PlayerEvent
    +
    Fired when an Entity is stopped to be "tracked" by this player (the player no longer receives updates about this entity, e.g. motion).
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        target

        +
        public final Entity target
        +
        The Entity no longer being tracked.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent.StopTracking

        +
        public PlayerEvent.StopTracking(EntityPlayer player,
        +                        Entity target)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.html new file mode 100644 index 0000000..3cfabc3 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerEvent.html @@ -0,0 +1,409 @@ + + + + + +PlayerEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerEvent

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent

        +
        public PlayerEvent(EntityPlayer player)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerFlyableFallEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerFlyableFallEvent.html new file mode 100644 index 0000000..4590687 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerFlyableFallEvent.html @@ -0,0 +1,349 @@ + + + + + +PlayerFlyableFallEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerFlyableFallEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerFlyableFallEvent
    +extends PlayerEvent
    +
    Occurs when a player falls, but is able to fly. Doesn't need to be cancelable, this is mainly for notification purposes.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        distance

        +
        public float distance
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerFlyableFallEvent

        +
        public PlayerFlyableFallEvent(EntityPlayer player,
        +                      float f)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.Action.html b/javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.Action.html new file mode 100644 index 0000000..9e4373c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.Action.html @@ -0,0 +1,333 @@ + + + + + +PlayerInteractEvent.Action (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Enum PlayerInteractEvent.Action

+
+
+ +
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static PlayerInteractEvent.ActionvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static PlayerInteractEvent.Action[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static PlayerInteractEvent.Action[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (PlayerInteractEvent.Action c : PlayerInteractEvent.Action.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static PlayerInteractEvent.Action valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.html new file mode 100644 index 0000000..b34659c --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerInteractEvent.html @@ -0,0 +1,549 @@ + + + + + +PlayerInteractEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerInteractEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerInteractEvent
    +extends PlayerEvent
    +
    PlayerInteractEvent is fired when a player interacts in some way. +
    + This event is fired whenever a player interacts in + Minecraft#func_147121_ag(), + NetHandlerPlayServer#processPlayerBlockPlacement(C08PacketPlayerBlockPlacement), + ItemInWorldManager#activateBlockOrUseItem(EntityPlayer, World, ItemStack, int, int, int, int, float, float, float), + ItemInWorldManager#onBlockClicked(int, int, int, int).
    +
    + This event is fired via the ForgeEventFactory#onPlayerInteract(EntityPlayer, Action, int, int, int, int). +
    + action contains the Action the player performed durin this interaction.
    + x contains the x-coordinate of where this event occurred.
    + y contains the y-coordinate of where this event occurred.
    + z contains the z-coordinate of where this event occurred.
    + face contains the face of the block that was interacted with.
    + world contains the world in which this event is occurring.
    +
    + This event is Cancelable.
    + If this event is canceled, the player does not interact.
    +
    + This event does not have a result. HasResult
    +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + + + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setCanceled

        +
        public void setCanceled(boolean cancel)
        +
        Description copied from class: Event
        +
        Sets the state of this event, not all events are cancelable, and any attempt to + cancel a event that can't be will result in a IllegalArgumentException. + + The functionality of setting the canceled state is defined on a per-event bases.
        +
        +
        Overrides:
        +
        setCanceled in class Event
        +
        Parameters:
        cancel - The new canceled value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerOpenContainerEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerOpenContainerEvent.html new file mode 100644 index 0000000..d4feffc --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerOpenContainerEvent.html @@ -0,0 +1,358 @@ + + + + + +PlayerOpenContainerEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerOpenContainerEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerOpenContainerEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        canInteractWith

        +
        public final boolean canInteractWith
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerOpenContainerEvent

        +
        public PlayerOpenContainerEvent(EntityPlayer player,
        +                        Container openContainer)
        +
        This event is fired when a player attempts to view a container during + player tick. + + setResult ALLOW to allow the container to stay open + setResult DENY to force close the container (denying access) + + DEFAULT is vanilla behaviour
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerPickupXpEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerPickupXpEvent.html new file mode 100644 index 0000000..6474b38 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerPickupXpEvent.html @@ -0,0 +1,350 @@ + + + + + +PlayerPickupXpEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerPickupXpEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerPickupXpEvent
    +extends PlayerEvent
    +
    This event is called when a player collides with a EntityXPOrb on the ground. + The event can be canceled, and no further processing will be done.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerSleepInBedEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerSleepInBedEvent.html new file mode 100644 index 0000000..7cc0b43 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerSleepInBedEvent.html @@ -0,0 +1,403 @@ + + + + + +PlayerSleepInBedEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerSleepInBedEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerSleepInBedEvent
    +extends PlayerEvent
    +
    PlayerSleepInBedEvent is fired when a player sleeps in a bed. +
    + This event is fired whenever a player sleeps in a bed in + EntityPlayer#sleepInBedAt(int, int, int).
    +
    + result contains whether the player is able to sleep.
    +
    + This event is not Cancelable. +
    + This event does not have a result. HasResult +
    + This event is fired on the MinecraftForge#EVENT_BUS.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerSleepInBedEvent

        +
        public PlayerSleepInBedEvent(EntityPlayer player,
        +                     int x,
        +                     int y,
        +                     int z)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Finish.html b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Finish.html new file mode 100644 index 0000000..e364322 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Finish.html @@ -0,0 +1,382 @@ + + + + + +PlayerUseItemEvent.Finish (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerUseItemEvent.Finish

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerUseItemEvent
    +
    +
    +
    +
    public static class PlayerUseItemEvent.Finish
    +extends PlayerUseItemEvent
    +
    Fired after an item has fully finished being used. + The item has been notified that it was used, and the item/result stacks reflect after that state. + This means that when this is fired for a Potion, the potion effect has already been applied. + + If you wish to cancel those effects, you should cancel one of the above events. + + The result item stack is the stack that is placed in the player's inventory in replacement of the stack that is currently being used.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Start.html b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Start.html new file mode 100644 index 0000000..4d21a3b --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Start.html @@ -0,0 +1,353 @@ + + + + + +PlayerUseItemEvent.Start (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerUseItemEvent.Start

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerUseItemEvent
    +
    +
    +
    +
    public static class PlayerUseItemEvent.Start
    +extends PlayerUseItemEvent
    +
    Fired when a player starts 'using' an item, typically when they hold right mouse. + Examples: + Drawing a bow + Eating Food + Drinking Potions/Milk + Guarding with a sword + + Cancel the event, or set the duration or <= 0 to prevent it from processing.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerUseItemEvent.Start

        +
        public PlayerUseItemEvent.Start(EntityPlayer player,
        +                        ItemStack item,
        +                        int duration)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Stop.html b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Stop.html new file mode 100644 index 0000000..b454986 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Stop.html @@ -0,0 +1,355 @@ + + + + + +PlayerUseItemEvent.Stop (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerUseItemEvent.Stop

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerUseItemEvent
    +
    +
    +
    +
    public static class PlayerUseItemEvent.Stop
    +extends PlayerUseItemEvent
    +
    Fired when a player stops using an item without the use duration timing out. + Example: + Stop eating 1/2 way through + Stop defending with sword + Stop drawing bow. This case would fire the arrow + + Duration on this event is how long the item had left in it's count down before 'finishing' + + Canceling this event will prevent the Item from being notified that it has stopped being used, + The only vanilla item this would effect are bows, and it would cause them NOT to fire there arrow.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerUseItemEvent.Stop

        +
        public PlayerUseItemEvent.Stop(EntityPlayer player,
        +                       ItemStack item,
        +                       int duration)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Tick.html b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Tick.html new file mode 100644 index 0000000..8e453d6 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.Tick.html @@ -0,0 +1,348 @@ + + + + + +PlayerUseItemEvent.Tick (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerUseItemEvent.Tick

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    PlayerUseItemEvent
    +
    +
    +
    +
    public static class PlayerUseItemEvent.Tick
    +extends PlayerUseItemEvent
    +
    Fired every tick that a player is 'using' an item, see Start for info. + + Cancel the event, or set the duration or <= 0 to cause the player to stop using the item.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerUseItemEvent.Tick

        +
        public PlayerUseItemEvent.Tick(EntityPlayer player,
        +                       ItemStack item,
        +                       int duration)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.html new file mode 100644 index 0000000..e4113fe --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerUseItemEvent.html @@ -0,0 +1,360 @@ + + + + + +PlayerUseItemEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerUseItemEvent

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        duration

        +
        public int duration
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/PlayerWakeUpEvent.html b/javadoc/net/minecraftforge/event/entity/player/PlayerWakeUpEvent.html new file mode 100644 index 0000000..bf33a56 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/PlayerWakeUpEvent.html @@ -0,0 +1,409 @@ + + + + + +PlayerWakeUpEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class PlayerWakeUpEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerWakeUpEvent
    +extends PlayerEvent
    +
    This event is fired when the player is waking up.
    + This is merely for purposes of listening for this to happen.
    + There is nothing that can be manipulated with this event.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        wakeImmediatly

        +
        public final boolean wakeImmediatly
        +
        Used for the 'wake up animation'. + This is false if the player is considered 'sleepy' and the overlay should slowly fade away.
        +
      • +
      + + + +
        +
      • +

        updateWorld

        +
        public final boolean updateWorld
        +
        Indicates if the server should be notified of sleeping changes. + This will only be false if the server is considered 'up to date' already, because, for example, it initiated the call.
        +
      • +
      + + + +
        +
      • +

        setSpawn

        +
        public final boolean setSpawn
        +
        Indicates if the player's sleep was considered successful. + In vanilla, this is used to determine if the spawn chunk is to be set to the bed's position.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PlayerWakeUpEvent

        +
        @Deprecated
        +public PlayerWakeUpEvent(EntityPlayer player)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        PlayerWakeUpEvent

        +
        public PlayerWakeUpEvent(EntityPlayer player,
        +                 boolean wakeImmediatly,
        +                 boolean updateWorld,
        +                 boolean setSpawn)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/UseHoeEvent.html b/javadoc/net/minecraftforge/event/entity/player/UseHoeEvent.html new file mode 100644 index 0000000..e5d1da1 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/UseHoeEvent.html @@ -0,0 +1,418 @@ + + + + + +UseHoeEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.event.entity.player
+

Class UseHoeEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class UseHoeEvent
    +extends PlayerEvent
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        current

        +
        public final ItemStack current
        +
        This event is fired when a player attempts to use a Hoe on a block, it + can be canceled to completely prevent any further processing. + + You can also set the result to ALLOW to mark the event as processed + and damage the hoe. + + setResult(ALLOW) is the same as the old setHandeled();
        +
      • +
      + + + +
        +
      • +

        world

        +
        public final World world
        +
      • +
      + + + +
        +
      • +

        x

        +
        public final int x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final int y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final int z
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/package-frame.html b/javadoc/net/minecraftforge/event/entity/player/package-frame.html new file mode 100644 index 0000000..9c5d369 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/package-frame.html @@ -0,0 +1,55 @@ + + + + + +net.minecraftforge.event.entity.player (Forge API) + + + + +

net.minecraftforge.event.entity.player

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/javadoc/net/minecraftforge/event/entity/player/package-summary.html b/javadoc/net/minecraftforge/event/entity/player/package-summary.html new file mode 100644 index 0000000..02e6777 --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/package-summary.html @@ -0,0 +1,376 @@ + + + + + +net.minecraftforge.event.entity.player (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package net.minecraftforge.event.entity.player

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/event/entity/player/package-tree.html b/javadoc/net/minecraftforge/event/entity/player/package-tree.html new file mode 100644 index 0000000..0f9634f --- /dev/null +++ b/javadoc/net/minecraftforge/event/entity/player/package-tree.html @@ -0,0 +1,192 @@ + + + + + +net.minecraftforge.event.entity.player Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package net.minecraftforge.event.entity.player

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + +
+ + + + -- cgit v1.2.3