-
Notifications
You must be signed in to change notification settings - Fork 4
/
ModPE-1.8.6.js
297 lines (283 loc) · 12.3 KB
/
ModPE-1.8.6.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
addItemInventory = function(par1int, par2int, par3int){return;};
bl_setMobSkin = function(par1int, par2String){return;};
bl_spawnMob = function(par1double, par2double, par3double, par4int, par5String){return;};
clientMessage = function(par1String){return;};
explode = function(par1double, par2double, par3double, par4double){return;};
getCarriedItem = function(){return;};
getLevel = function(){return;};
getPitch = function(par1Object){return;};
getPlayerEnt = function(){return;};
getPlayerX = function(){return;};
getPlayerY = function(){return;};
getPlayerZ = function(){return;};
getTile = function(par1int, par2int, par3int){return;};
getYaw = function(par1Object){return;};
preventDefault = function(){return;};
print = function(par1String){return;};
rideAnimal = function(par1int, par2int){return;};
setNightMode = function(par1boolean){return;};
setPosition = function(par1int, par2double, par3double, par4double){return;};
setPositionRelative = function(par1int, par2double, par3double, par4double){return;};
setRot = function(par1int, par2double, par3double){return;};
setTile = function(par1int, par2int, par3int, par4int, par5int){return;};
setVelX = function(par1int, par2double){return;};
setVelY = function(par1int, par2double){return;};
setVelZ = function(par1int, par2double){return;};
spawnChicken = function(par1double, par2double, par3double, par4String){return;};
spawnCow = function(par1double, par2double, par3double, par4String){return;};
spawnPigZombie = function(par1double, par2double, par3double, par4int, par5String){return;};
var ModPE = {};
ModPE.getBytesFromTexturePack = function(par1String){return;};
ModPE.getMinecraftVersion = function(){return;};
ModPE.langEdit = function(par1String, par2String){return;};
ModPE.leaveGame = function(){return;};
ModPE.log = function(par1String){return;};
ModPE.openInputStreamFromTexturePack = function(par1String){return;};
ModPE.overrideTexture = function(par1String, par2String){return;};
ModPE.readData = function(par1String){return;};
ModPE.removeData = function(par1String){return;};
ModPE.resetFov = function(){return;};
ModPE.resetImages = function(){return;};
ModPE.saveData = function(par1String, par2String){return;};
ModPE.selectLevel = function(par1String){return;};
ModPE.setCamera = function(par1int){return;};
ModPE.setFoodItem = function(par1int, par2String, par3int, par4int, par5String, par6int){return;};
ModPE.setFov = function(par1double){return;};
ModPE.setGameSpeed = function(par1double){return;};
ModPE.setGuiBlocks = function(par1String){return;};
ModPE.setItem = function(par1int, par2String, par3int, par4String, par5int){return;};
ModPE.setItems = function(par1String){return;};
ModPE.setTerrain = function(par1String){return;};
ModPE.showTipMessage = function(par1String){return;};
ModPE.takeScreenshot = function(par1String){return;};
var Level = {};
Level.addParticle = function(par1int, par2double, par3double, par4double, par5double, par6double, par7double, par8int){return;};
Level.biomeIdToName = function(par1int){return;};
Level.destroyBlock = function(par1int, par2int, par3int, par4boolean){return;};
Level.dropItem = function(par1double, par2double, par3double, par4double, par5int, par6int, par7int){return;};
Level.explode = function(par1double, par2double, par3double, par4double){return;};
Level.getAddress = function(){return;};
Level.getBiome = function(par1int, par2int){return;};
Level.getBiomeName = function(par1int, par2int){return;};
Level.getBrightness = function(par1int, par2int, par3int){return;};
Level.getChestSlot = function(par1int, par2int, par3int, par4int){return;};
Level.getChestSlotCount = function(par1int, par2int, par3int, par4int){return;};
Level.getChestSlotData = function(par1int, par2int, par3int, par4int){return;};
Level.getData = function(par1int, par2int, par3int){return;};
Level.getFurnaceSlot = function(par1int, par2int, par3int, par4int){return;};
Level.getFurnaceSlotCount = function(par1int, par2int, par3int, par4int){return;};
Level.getFurnaceSlotData = function(par1int, par2int, par3int, par4int){return;};
Level.getGameMode = function(){return;};
Level.getGrassColor = function(par1int, par2int){return;};
Level.getSignText = function(par1int, par2int, par3int, par4int){return;};
Level.getTile = function(par1int, par2int, par3int){return;};
Level.getTime = function(){return;};
Level.getWorldDir = function(){return;};
Level.getWorldName = function(){return;};
Level.playSound = function(par1double, par2double, par3double, par4String, par5double, par6double){return;};
Level.playSoundEnt = function(par1int, par2String, par3double, par4double){return;};
Level.setChestSlot = function(par1int, par2int, par3int, par4int, par5int, par6int, par7int){return;};
Level.setFurnaceSlot = function(par1int, par2int, par3int, par4int, par5int, par6int, par7int){return;};
Level.setGameMode = function(par1int){return;};
Level.setGrassColor = function(par1int, par2int, par3int){return;};
Level.setNightMode = function(par1boolean){return;};
Level.setSignText = function(par1int, par2int, par3int, par4int, par5String){return;};
Level.setSpawn = function(par1int, par2int, par3int){return;};
Level.setSpawnerEntityType = function(par1int, par2int, par3int, par4int){return;};
Level.setTile = function(par1int, par2int, par3int, par4int, par5int){return;};
Level.setTime = function(par1int){return;};
Level.spawnChicken = function(par1double, par2double, par3double, par4String){return;};
Level.spawnCow = function(par1double, par2double, par3double, par4String){return;};
Level.spawnMob = function(par1double, par2double, par3double, par4int, par5String){return;};
var Player = {};
Player.addItemCreativeInv = function(par1int, par2int, par3int){return;};
Player.addItemInventory = function(par1int, par2int, par3int){return;};
Player.canFly = function(){return;};
Player.clearInventorySlot = function(par1int){return;};
Player.getArmorSlot = function(par1int){return;};
Player.getArmorSlotDamage = function(par1int){return;};
Player.getCarriedItem = function(){return;};
Player.getCarriedItemCount = function(){return;};
Player.getCarriedItemData = function(){return;};
Player.getEntity = function(){return;};
Player.getInventorySlot = function(par1int){return;};
Player.getInventorySlotCount = function(par1int){return;};
Player.getInventorySlotData = function(par1int){return;};
Player.getName = function(par1int){return;};
Player.getPointedBlockData = function(){return;};
Player.getPointedBlockId = function(){return;};
Player.getPointedBlockSide = function(){return;};
Player.getPointedBlockX = function(){return;};
Player.getPointedBlockY = function(){return;};
Player.getPointedBlockZ = function(){return;};
Player.getPointedEntity = function(){return;};
Player.getSelectedSlotId = function(){return;};
Player.getX = function(){return;};
Player.getY = function(){return;};
Player.getZ = function(){return;};
Player.isFlying = function(){return;};
Player.isPlayer = function(par1int){return;};
Player.setArmorSlot = function(par1int, par2int, par3int){return;};
Player.setCanFly = function(par1boolean){return;};
Player.setFlying = function(par1boolean){return;};
Player.setHealth = function(par1int){return;};
var Entity = {};
Entity.getAll = function(){return;};
Entity.getAnimalAge = function(par1int){return;};
Entity.getEntityTypeId = function(par1int){return;};
Entity.getHealth = function(par1int){return;};
Entity.getMobSkin = function(par1int){return;};
Entity.getNameTag = function(par1int){return;};
Entity.getPitch = function(par1int){return;};
Entity.getRenderType = function(par1int){return;};
Entity.getRider = function(par1int){return;};
Entity.getRiding = function(par1int){return;};
Entity.getUniqueId = function(par1int){return;};
Entity.getVelX = function(par1int){return;};
Entity.getVelY = function(par1int){return;};
Entity.getVelZ = function(par1int){return;};
Entity.getX = function(par1int){return;};
Entity.getY = function(par1int){return;};
Entity.getYaw = function(par1int){return;};
Entity.getZ = function(par1int){return;};
Entity.remove = function(par1int){return;};
Entity.rideAnimal = function(par1int, par2int){return;};
Entity.setAnimalAge = function(par1int, par2int){return;};
Entity.setCape = function(par1int, par2String){return;};
Entity.setCarriedItem = function(par1int, par2int, par3int, par4int){return;};
Entity.setCollisionSize = function(par1int, par2double, par3double){return;};
Entity.setFireTicks = function(par1int, par2int){return;};
Entity.setHealth = function(par1int, par2int){return;};
Entity.setMobSkin = function(par1int, par2String){return;};
Entity.setNameTag = function(par1int, par2String){return;};
Entity.setPosition = function(par1int, par2double, par3double, par4double){return;};
Entity.setPositionRelative = function(par1int, par2double, par3double, par4double){return;};
Entity.setRenderType = function(par1int, par2int){return;};
Entity.setRot = function(par1int, par2double, par3double){return;};
Entity.setSneaking = function(par1int, par2boolean){return;};
Entity.setVelX = function(par1int, par2double){return;};
Entity.setVelY = function(par1int, par2double){return;};
Entity.setVelZ = function(par1int, par2double){return;};
Entity.spawnMob = function(par1double, par2double, par3double, par4int, par5String){return;};
var Item = {};
Item.addCraftRecipe = function(par1int, par2int, par3int, par4Scriptable){return;};
Item.addFurnaceRecipe = function(par1int, par2int, par3int){return;};
Item.addShapedRecipe = function(par1int, par2int, par3int, par4Scriptable, par5Scriptable){return;};
Item.getName = function(par1int, par2int, par3boolean){return;};
Item.setCategory = function(par1int, par2int, par3int){return;};
Item.setHandEquipped = function(par1int, par2boolean){return;};
Item.setMaxDamage = function(par1int, par2int){return;};
var Block = {};
Block.defineBlock = function(par1int, par2String, par3Object, par4Object, par5Object, par6Object){return;};
Block.getRenderType = function(par1int){return;};
Block.setColor = function(par1int, par2Scriptable){return;};
Block.setDestroyTime = function(par1int, par2double){return;};
Block.setExplosionResistance = function(par1int, par2double){return;};
Block.setLightLevel = function(par1int, par2int){return;};
Block.setLightOpacity = function(par1int, par2int){return;};
Block.setRenderLayer = function(par1int, par2int){return;};
Block.setRenderType = function(par1int, par2int){return;};
Block.setShape = function(par1int, par2double, par3double, par4double, par5double, par6double, par7double){return;};
var Server = {};
Server.getAddress = function(){return;};
Server.getAllPlayerNames = function(){return;};
Server.getAllPlayers = function(){return;};
Server.getPort = function(){return;};
Server.joinServer = function(par1String, par2int){return;};
Server.sendChat = function(par1String){return;};
var Renderer = {};
Renderer.createHumanoidRenderer = function(){};
Renderer.getModel = function(){};
Renderer.renderType = NaN;
var Model = {};
Model.getPart = function(){};
var ModelPart = {};
ModelPart.addBox = function(){};
ModelPart.clear = function(){};
ModelPart.setTextureOffset = function(){};
var ChatColor = {
"AQUA": "§b",
"BEGIN": "§",
"BLACK": "§0",
"BLUE": "§9",
"BOLD": "§l",
"DARK_AQUA": "§3",
"DARK_BLUE": "§1",
"DARK_GRAY": "§8",
"DARK_GREEN": "§2",
"DARK_PURPLE": "§5",
"DARK_RED": "§4",
"GOLD": "§6",
"GRAY": "§7",
"GREEN": "§a",
"LIGHT_PURPLE": "§d",
"RED": "§c",
"RESET": "§r",
"WHITE": "§f",
"YELLOW": "§e"
};
var ItemCategory = {
"DECORATION": 8,
"FOOD": 4,
"INTERNAL": -1,
"MATERIAL": 1,
"TOOL": 2
};
var ParticleType = {
"blockcrack": 1,
"cloud": 4,
"crit": 2,
"flame": 5,
"heart": 14,
"itemcrack": 9,
"lava": 6,
"mobFlame": 13,
"redstone": 8,
"smoke": 3,
"snowballpoof": 10
};
var EntityType = {
"ARROW": 80,
"CHICKEN": 10,
"COW": 11,
"CREEPER": 33,
"EGG": 82,
"ENDERMAN": 38,
"FALLING_BLOCK": 66,
"ITEM": 64,
"MINECART": 84,
"MUSHROOM_COW": 16,
"PAINTING": 83,
"PIG": 12,
"PIG_ZOMBIE": 36,
"PLAYER": 63,
"PRIMED_TNT": 65,
"SHEEP": 13,
"SILVERFISH": 39,
"SKELETON": 34,
"SLIME": 37,
"SNOWBALL": 81,
"SPIDER": 35,
"VILLAGER": 15,
"WOLF": 14,
"ZOMBIE": 32
};
var EntityRenderType = {
"arrow": 20,
"chicken": 5,
"cow": 6,
"creeper": 17,
"egg": 21,
"enderman": 19,
"minecart": 26,
"mushroomCow": 7,
"pig": 8,
"player": 3,
"sheep": 9,
"silverfish": 16,
"skeleton": 14,
"snowball": 23,
"spider": 15,
"tnt": 2,
"villager": 11
};