EntityAccessor

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


LivingEntityAccessor

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


WorldAccessor

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


BlockStateAccessor

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


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 /
getConditions ConditionAccessor[] /
isUnlocked boolean /
getContainerId String /


ConditionAccessor

FunctionReturn TypeParameters
getType String /
getData Object key - String
setData boolean key - String
value - Object
getAbility AbilityAccessor /
isEnabling boolean /
isInverted 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
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
putString CompoundNBTAccessor key - String
value - String
putIntArray CompoundNBTAccessor key - String
value - int[]
getTagId byte key - String
getCompound CompoundNBTAccessor key - String
putLongArray CompoundNBTAccessor key - String
value - long[]
putUniqueId CompoundNBTAccessor key - String
value - String
getUniqueId String key - String
getByteArray byte[] key - String
getIntArray int[] key - String
getLongArray long[] key - String


Vector3dAccessor

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


MaterialAccessor

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


ItemStackAccessor

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


BlockRayTraceResultAccessor

FunctionReturn TypeParameters
getType String /
getHitVec Vector3dAccessor /


EntityRayTraceResultAccessor

FunctionReturn TypeParameters
getType String /
getEntity EntityAccessor /
getHitVec Vector3dAccessor /