EntityAccessor

FunctionReturn TypeParameters
getName String /
isAlive boolean /
setName void name - String
getPosition Vec3dAccessor /
getHorizontalFacing Direction /
setPositionAndRotation void x - double
y - double
z - double
yaw - float
pitch - float
startSizeChange void size - float
sizeChangeType - String
setSizeDirectly void size - float
sizeChangeType - String
getThreeData Object key - String
isOnGround boolean /
setYaw float yaw - float
setPitch void pitch - float
getYaw float /
getFallDistance float /
isImmuneToFire boolean /
setInvisible void invisible - boolean
isPassenger boolean entity - EntityAccessor
removePassengers void /
stopRiding void /
isInvisible boolean /
hasNoGravity boolean /
setMotion void x - double
y - double
z - double
isCrouching boolean /
extinguish void /
isLiving boolean /
setNoGravity void noGravity - boolean
getPersistentData CompoundNBTAccessor /
getWorld WorldAccessor /
getPosX double /
getPosY double /
sendMessage void message - String
getPosZ double /
setPosition void x - double
y - double
z - double
setRotation void yaw - float
pitch - float
getTicksExisted int /
getEyeHeight float /
getHeight float /
getPitch float /
sendTranslatedMessage void translationKey - String
args - Object[]
getWidth float /
noClip boolean /
getUUID String /
playSoundAt void id - String
volume - float
pitch - float
setThreeData boolean key - String
value - Object
setNameVisible void visible - boolean
kill void /
setNoClip void noClip - boolean
setFallDistance void fallDistance - float
setOnFire void seconds - int
addMotion void x - double
y - double
z - double
getPassengers EntityAccessor[] /
executeCommand int command - String
getLookVec Vec3dAccessor /
getMotion Vec3dAccessor /
isPlayer boolean /
startRiding boolean entity - EntityAccessor
force - boolean


LivingEntityAccessor

FunctionReturn TypeParameters
isChild boolean /
getAbsorptionAmount float /
getAbilityById AbilityAccessor abilityId - String
setHealth void health - float
isElytraFlying boolean /
heal void amount - float
getAbilities AbilityAccessor[] containerId - String
getAbilities AbilityAccessor[] /
getHealth float /
getMaxHealth float /
isOnLadder boolean /
isSleeping boolean /
setItemInSlot void slot - String
item - Object
setMovementSpeed void speed - float
swingArm void mainHand - boolean
isUndead boolean /
getItemInSlot ItemStackAccessor slot - String
getMovementSpeed float /
getName String /
isAlive boolean /
setName void name - String
getPosition Vec3dAccessor /
getHorizontalFacing Direction /
setPositionAndRotation void x - double
y - double
z - double
yaw - float
pitch - float
startSizeChange void size - float
sizeChangeType - String
setSizeDirectly void size - float
sizeChangeType - String
getThreeData Object key - String
isOnGround boolean /
setYaw float yaw - float
setPitch void pitch - float
getYaw float /
getFallDistance float /
isImmuneToFire boolean /
setInvisible void invisible - boolean
isPassenger boolean entity - EntityAccessor
removePassengers void /
stopRiding void /
isInvisible boolean /
hasNoGravity boolean /
setMotion void x - double
y - double
z - double
isCrouching boolean /
extinguish void /
isLiving boolean /
setNoGravity void noGravity - boolean
getPersistentData CompoundNBTAccessor /
getWorld WorldAccessor /
getPosX double /
getPosY double /
sendMessage void message - String
getPosZ double /
setPosition void x - double
y - double
z - double
setRotation void yaw - float
pitch - float
getTicksExisted int /
getEyeHeight float /
getHeight float /
getPitch float /
sendTranslatedMessage void translationKey - String
args - Object[]
getWidth float /
noClip boolean /
getUUID String /
playSoundAt void id - String
volume - float
pitch - float
setThreeData boolean key - String
value - Object
setNameVisible void visible - boolean
kill void /
setNoClip void noClip - boolean
setFallDistance void fallDistance - float
setOnFire void seconds - int
addMotion void x - double
y - double
z - double
getPassengers EntityAccessor[] /
executeCommand int command - String
getLookVec Vec3dAccessor /
getMotion Vec3dAccessor /
isPlayer boolean /
startRiding boolean entity - EntityAccessor
force - boolean


WorldAccessor

FunctionReturn TypeParameters
setTime void time - long
getTime long /
playSound void id - String
id - String
posX - double
posY - double
posZ - double
volume - float
pitch - float
isRaining boolean /
getBlockState BlockStateAccessor x - int
y - int
z - int
isThundering boolean /
summonLightning void x - double
y - double
z - double
effectOnly - boolean
setBlockState void block - Object
x - int
y - int
z - int
executeCommand void command - String
setRainStrength void strength - float


BlockStateAccessor

FunctionReturn TypeParameters
getProperty Object property - Object
getBlock String /
getMaterial MaterialAccessor /
isAir boolean world - WorldAccessor
x - int
y - int
z - int
withProperty BlockStateAccessor property - Object
value - Comparable
getPropertyByName IProperty name - String


DamageSourceAccessor

FunctionReturn TypeParameters
getType String /
getImmediateSource EntityAccessor /
getTrueSource EntityAccessor /


AbilityAccessor

FunctionReturn TypeParameters
getId String /
getType String /
getData Object key - String
isEnabled boolean /
setData boolean key - String
value - Object
getAdditionalNbtData CompoundNBTAccessor /
isUnlocked boolean /
getContainerId String /


ConditionAccessor

FunctionReturn TypeParameters
getType String /
getData Object key - String
setData boolean key - String
value - Object
isInverted boolean /
getAbility AbilityAccessor /
isEnabling boolean /


CompoundNBTAccessor

FunctionReturn TypeParameters
remove CompoundNBTAccessor key - String
getBoolean boolean key - String
putBoolean CompoundNBTAccessor key - String
value - boolean
getByte byte key - String
putByte CompoundNBTAccessor key - String
value - byte
getShort short key - String
putShort CompoundNBTAccessor key - String
value - short
getInt int key - String
putInt CompoundNBTAccessor key - String
value - int
getLong long key - String
putLong CompoundNBTAccessor key - String
value - long
getFloat float key - String
putFloat CompoundNBTAccessor key - String
value - float
getDouble double key - String
putDouble CompoundNBTAccessor key - String
value - double
isEmpty boolean /
contains boolean key - String
type - int
contains boolean key - String
merge CompoundNBTAccessor otherTag - CompoundNBTAccessor
copy CompoundNBTAccessor /
putByteArray CompoundNBTAccessor key - String
value - byte[]
getString String key - String
getUniqueId String key - String
getLongArray long[] key - String
getIntArray int[] key - String
putString CompoundNBTAccessor key - String
value - String
getByteArray byte[] key - String
getCompound CompoundNBTAccessor key - String
putIntArray CompoundNBTAccessor key - String
value - int[]
putUniqueId CompoundNBTAccessor key - String
value - String
putLongArray CompoundNBTAccessor key - String
value - long[]
getTagId byte key - String


Vec3dAccessor

FunctionReturn TypeParameters
add Vec3dAccessor x - double
y - double
z - double
add Vec3dAccessor vector - Vec3dAccessor
length double /
normalize Vec3dAccessor /
scale Vec3dAccessor scale - double
mul Vec3dAccessor vector - Vec3dAccessor
mul Vec3dAccessor factorX - double
factorY - double
factorZ - double
getY double /
getX double /
subtract Vec3dAccessor vector - Vec3dAccessor
subtract Vec3dAccessor x - double
y - double
z - double
dotProduct double vector - Vec3dAccessor
inverse Vec3dAccessor /
getZ double /
crossProduct Vec3dAccessor vector - Vec3dAccessor
subtractReverse Vec3dAccessor vector - Vec3dAccessor
rotateYaw Vec3dAccessor yaw - float
lengthSquared double /
squareDistanceTo double x - double
y - double
z - double
squareDistanceTo double vector - Vec3dAccessor
distanceTo double vector - Vec3dAccessor
rotatePitch Vec3dAccessor pitch - float


MaterialAccessor

FunctionReturn TypeParameters
isOpaque boolean /
isToolNotRequired boolean /
isReplaceable boolean /
isSolid boolean /
isLiquid boolean /
blocksMovement boolean /
isFlammable boolean /
getPushReaction String /


ItemStackAccessor

FunctionReturn TypeParameters
isEmpty boolean /
split ItemStackAccessor amount - int
copy ItemStackAccessor /
getCount int /
getItem String /
getMaxStackSize int /
getMaxDamage int /
getDamage int /
isDamaged boolean /
setDamage ItemStackAccessor damage - int
setCount ItemStackAccessor count - int
getNbtTag CompoundNBTAccessor /