ModPE API
Global
Members
ArmorType
BlockFace
ChatColor
DimensionId
EntityRenderType
EntityType
ItemCategory
MobEffect
ParticleType
Methods
addItemInventory
bl_setMobSkin
bl_spawnMob
clientMessage
explode
getCarriedItem
getLevel
getPitch
getPlayerEnt
getPlayerX
getPlayerY
getPlayerZ
getTile
getYaw
preventDefault
print
rideAnimal
setNightMode
setPosition
setPositionRelative
setRot
setTile
setVelX
setVelY
setVelZ
spawnChicken
spawnCow
spawnPigZombie
Typedefs
boolean
byte
char
Class
double
float
HashMap
int
long
NativeApi
number
Scriptable
ScriptableObject
short
string
Block
static
Methods
defineBlock
getAllBlockIds
getDestroyTime
getFriction
getRenderType
setColor
setDestroyTime
setExplosionResistance
setFriction
setLightLevel
setLightOpacity
setRedstoneConsumer
setRenderLayer
setRenderType
setShape
Entity
static
Methods
addEffect
getAll
getAnimalAge
getArmor
getArmorDamage
getEntityTypeId
getHealth
getItemEntityCount
getItemEntityData
getItemEntityId
getMaxHealth
getMobSkin
getNameTag
getPitch
getRenderType
getRider
getRiding
getUniqueId
getVelX
getVelY
getVelZ
getX
getY
getYaw
getZ
isSneaking
remove
removeAllEffects
removeEffect
rideAnimal
setAnimalAge
setArmor
setCape
setCarriedItem
setCollisionSize
setFireTicks
setHealth
setMaxHealth
setMobSkin
setNameTag
setPosition
setPositionRelative
setRenderType
setRot
setSneaking
setVelX
setVelY
setVelZ
spawnMob
Hooks
static
Methods
attackHook
blockEventHook
chatHook
chatReceiveHook
deathHook
destroyBlock
eatHook
entityAddedHook
entityRemovedHook
explodeHook
leaveGame
levelEventHook
modTick
newLevel
procCmd
redstoneUpdateHook
selectLevelHook
serverMessageReceiveHook
startDestroyBlock
useItem
Item
static
Methods
addCraftRecipe
addFurnaceRecipe
addShapedRecipe
defineArmor
getName
isValidItem
setCategory
setHandEquipped
setMaxDamage
setProperties
Level
static
Methods
addParticle
biomeIdToName
canSeeSky
destroyBlock
dropItem
explode
getAddress
getBiome
getBiomeName
getBrightness
getChestSlot
getChestSlotCount
getChestSlotData
getData
getFurnaceSlot
getFurnaceSlotCount
getFurnaceSlotData
getGameMode
getGrassColor
getLightningLevel
getRainLevel
getSignText
getSpawnerEntityType
getTile
getTime
getWorldDir
getWorldName
playSound
playSoundEnt
setChestSlot
setFurnaceSlot
setGameMode
setGrassColor
setLightningLevel
setNightMode
setRainLevel
setSignText
setSpawn
setSpawnerEntityType
setTile
setTime
spawnChicken
spawnCow
spawnMob
ModPE
static
Methods
dumpVtable
getBytesFromTexturePack
getMinecraftVersion
langEdit
leaveGame
log
openInputStreamFromTexturePack
overrideTexture
readData
removeData
resetFov
resetImages
saveData
selectLevel
setCamera
setFoodItem
setFov
setGameSpeed
setGuiBlocks
setItem
setItems
setTerrain
showTipMessage
takeScreenshot
Player
static
Methods
addExp
addItemCreativeInv
addItemInventory
canFly
clearInventorySlot
getArmorSlot
getArmorSlotDamage
getCarriedItem
getCarriedItemCount
getCarriedItemData
getDimension
getEntity
getExhaustion
getExp
getHunger
getInventorySlot
getInventorySlotCount
getInventorySlotData
getLevel
getName
getPointedBlockData
getPointedBlockId
getPointedBlockSide
getPointedBlockX
getPointedBlockY
getPointedBlockZ
getPointedEntity
getPointedVecX
getPointedVecY
getPointedVecZ
getSaturation
getSelectedSlotId
getX
getY
getZ
isFlying
isPlayer
setArmorSlot
setCanFly
setExhaustion
setExp
setFlying
setHealth
setHunger
setLevel
setSaturation
setSelectedSlotId
Renderer
static
Server
static
Methods
getAddress
getAllPlayerNames
getAllPlayers
getPort
joinServer
sendChat
Author
Copyright
Default
Deprecated
License
See
Since
TODO
Tutorial
Version
Tutorial: MCPE Textures
MCPE Textures
Updated for MCPE 0.13.0
Shamelessly adapted/ripped-off from the site by
Zhuowei Zhang