EntityAccessor

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


LivingEntityAccessor

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


WorldAccessor

FunctionReturn TypeParameters
setTime void time - long
getTime long /
isRemote boolean /
playSound void id - String
id - String
posX - double
posY - double
posZ - double
volume - float
pitch - float
getBlockState BlockStateAccessor x - int
y - int
z - int
setRainStrength void strength - float
summonLightning void x - double
y - double
z - double
effectOnly - boolean
getEntitiesInBox EntityAccessor[] x1 - double
y1 - double
z1 - double
x2 - double
y2 - double
z2 - double
setBlockState void block - Object
x - int
y - int
z - int
isRaining boolean /
isThundering boolean /
executeCommand void command - String
getLivingEntitiesInBox LivingEntityAccessor[] x1 - double
y1 - double
z1 - double
x2 - double
y2 - double
z2 - double


BlockStateAccessor

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


DamageSourceAccessor

FunctionReturn TypeParameters
getType String /
getTrueSource EntityAccessor /
getImmediateSource EntityAccessor /


AbilityAccessor

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


ConditionAccessor

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


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
contains boolean key - String
type - int
merge CompoundNBTAccessor otherTag - CompoundNBTAccessor
copy CompoundNBTAccessor /
getString String key - String
putByteArray CompoundNBTAccessor key - String
value - byte[]
getUniqueIdWithUtil String key - String
getByteArray byte[] key - String
getLongArray long[] key - String
getIntArray int[] key - String
putUniqueId CompoundNBTAccessor key - String
value - String
getUniqueId String key - String
putLongArray CompoundNBTAccessor key - String
value - long[]
getCompound CompoundNBTAccessor key - String
putIntArray CompoundNBTAccessor key - String
value - int[]
getTagId byte key - String
putString CompoundNBTAccessor key - String
value - String


Vector3dAccessor

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


MaterialAccessor

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


ItemStackAccessor

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


BlockRayTraceResultAccessor

FunctionReturn TypeParameters
getType String /
getHitVec Vector3dAccessor /


EntityRayTraceResultAccessor

FunctionReturn TypeParameters
getType String /
getEntity EntityAccessor /
getHitVec Vector3dAccessor /