Class ExperienceOrbMeta

java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.other.ExperienceOrbMeta

public class ExperienceOrbMeta extends EntityMeta
  • Constructor Details

    • ExperienceOrbMeta

      public ExperienceOrbMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
  • Method Details

    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
      Sets count of orbs. This is possible only before spawn packet is sent.
      Parameters:
      count - count of orbs.