EntityAccessor

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


LivingEntityAccessor

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


WorldAccessor

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


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 /
getAdditionalNbtData CompoundNBTAccessor /
isUnlocked boolean /


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 /
getUniqueIdWithUtil String key - String
getString String key - String
putByteArray CompoundNBTAccessor key - String
value - byte[]
putString CompoundNBTAccessor key - String
value - String
getByteArray byte[] key - String
getIntArray int[] key - String
getLongArray long[] key - String
getCompound CompoundNBTAccessor key - String
getUniqueId String key - String
putUniqueId CompoundNBTAccessor key - String
value - String
putIntArray CompoundNBTAccessor key - String
value - int[]
putLongArray CompoundNBTAccessor key - String
value - long[]
getTagId byte 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 factorX - double
factorY - double
factorZ - double
mul Vector3dAccessor vector - Vector3dAccessor
rotateYaw Vector3dAccessor yaw - float
subtract Vector3dAccessor vector - Vector3dAccessor
subtract Vector3dAccessor x - double
y - double
z - double
getY double /
getX double /
inverse Vector3dAccessor /
crossProduct Vector3dAccessor vector - Vector3dAccessor
distanceTo double vector - Vector3dAccessor
dotProduct double vector - Vector3dAccessor
lengthSquared double /
subtractReverse Vector3dAccessor vector - Vector3dAccessor
squareDistanceTo double x - double
y - double
z - double
squareDistanceTo double vector - Vector3dAccessor
getZ double /
rotatePitch Vector3dAccessor pitch - float


MaterialAccessor

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


ItemStackAccessor

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


BlockRayTraceResultAccessor

FunctionReturn TypeParameters
getType String /
getHitVec Vector3dAccessor /


EntityRayTraceResultAccessor

FunctionReturn TypeParameters
getType String /
getEntity EntityAccessor /
getHitVec Vector3dAccessor /