public class TridentExpOrb extends TridentEntity implements ExperienceOrb
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width
Constructor and Description |
---|
TridentExpOrb(UUID uuid,
Position spawnPosition) |
Modifier and Type | Method and Description |
---|---|
int |
age()
Represents the age of this Experience Orb entity
|
short |
health()
Represents the health of this Experience Orb entity.
|
void |
setAge(int age)
Sets the age of this Experience Orb entity
|
void |
setHealth(short health)
Sets the health for this Experience Orb entity
|
EntityType |
type()
Gets the type of entity
|
applyProperties, asNbt, boundingBox, displayName, doEncodeMeta, doLoad, doRemove, doTick, eject, encodeMetadata, entityId, isNameVisible, isSilent, load, onGround, passenger, position, remove, setDisplayName, setOnGround, setPassenger, setPosition, setSize, setVelocity, spawn, teleport, teleport, teleport, tick, uniqueId, velocity, withinRange, world
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, world
public TridentExpOrb(UUID uuid, Position spawnPosition)
public int age()
ExperienceOrb
age
in interface ExperienceOrb
public void setAge(int age)
ExperienceOrb
setAge
in interface ExperienceOrb
age
- the age to setpublic short health()
ExperienceOrb
health
in interface ExperienceOrb
public void setHealth(short health)
ExperienceOrb
setHealth
in interface ExperienceOrb
health
- the value to set the health topublic EntityType type()
Entity
type
in interface Entity
type
in class TridentEntity
Copyright © 2016. All rights reserved.