| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableList<Integer> |
ORB_SPLIT_SIZES
Split sizes used for dropping experience orbs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExperience() |
static int |
getMaxOrbSize(int amount)
Returns the largest size of normal XP orb that will be spawned for the specified amount of XP.
|
int |
getPickupDelay() |
void |
setExperience(int experience) |
void |
setPickupDelay(int pickupDelay) |
static it.unimi.dsi.fastutil.ints.IntList |
splitIntoOrbSizes(int amount)
Splits the specified amount of XP into an array of acceptable XP orb sizes.
|
addEffect, attack, attack, canBeMovedByCurrents, canCollide, canCollideWith, canPassThrough, canTriggerPressurePlate, close, despawnFrom, despawnFromAll, dismount, extinguish, fall, getAbsorption, getBoundingBox, getChunk, getDirection, getDirectionPlane, getDirectionVector, getDrag, getEffect, getEffect, getEffects, getEyeHeight, getFireTicks, getGravity, getHealth, getHeight, getHighestPosition, getHorizontalDirection, getLastDamageCause, getLength, getLevel, getLocation, getMaxHealth, getMotion, getName, getNameTag, getNoDamageTicks, getOwner, getPassengers, getPitch, getPosition, getRuntimeId, getScale, getSeatPosition, getServer, getType, getUniqueId, getVehicle, getViewers, getWidth, getX, getY, getYaw, getZ, hasControllingPassenger, hasEffect, hasEffect, hasNameTag, heal, heal, isAlive, isClosed, isControlling, isNameTagVisible, isOnFire, isOnGround, isPassenger, isUndead, kill, mount, mount, onDismount, onEntityCollision, onInteract, onMount, onStruckByLightning, onUpdate, removeAllEffects, removeEffect, removeEffect, resetFallDistance, setAbsorption, setHealth, setHighestPosition, setMaxHealth, setMotion, setNameTag, setNameTagVisible, setNoDamageTicks, setOnFire, setOnGround, setOwner, setPosition, setPositionAndRotation, setRotation, setScale, setSeatPosition, spawnTo, spawnToAll, teleport, teleport, teleport, teleportstatic final com.google.common.collect.ImmutableList<Integer> ORB_SPLIT_SIZES
static int getMaxOrbSize(int amount)
static it.unimi.dsi.fastutil.ints.IntList splitIntoOrbSizes(int amount)
@Nonnegative int getExperience()
void setExperience(@Nonnegative int experience)
@Nonnegative int getPickupDelay()
void setPickupDelay(@Nonnegative int pickupDelay)
Copyright © 2021. All rights reserved.