Class ExperienceOrb

All Implemented Interfaces:
CommandSource, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, INBTSerializable<CompoundTag>

public class ExperienceOrb extends Entity
  • Field Details

    • LIFETIME

      private static final int LIFETIME
      See Also:
    • ENTITY_SCAN_PERIOD

      private static final int ENTITY_SCAN_PERIOD
      See Also:
    • MAX_FOLLOW_DIST

      private static final int MAX_FOLLOW_DIST
      See Also:
    • ORB_GROUPS_PER_AREA

      private static final int ORB_GROUPS_PER_AREA
      See Also:
    • ORB_MERGE_DISTANCE

      private static final double ORB_MERGE_DISTANCE
      See Also:
    • age

      private int age
    • health

      private int health
    • value

      public int value
    • count

      private int count
    • followingPlayer

      private Player followingPlayer
  • Constructor Details

    • ExperienceOrb

      public ExperienceOrb(Level p_20776_, double p_20777_, double p_20778_, double p_20779_, int p_20780_)
    • ExperienceOrb

      public ExperienceOrb(EntityType<? extends ExperienceOrb> p_20773_, Level p_20774_)
  • Method Details