forked from PrismarineJS/node-minecraft-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.js
58 lines (34 loc) · 2.15 KB
/
example.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
const mcData = require('minecraft-data')('1.8.8')
console.log(mcData.blocksByName.stone)
console.log(mcData.windows['minecraft:brewing_stand'])
console.log(mcData.version)
console.log(mcData.effectsByName.Haste)
console.log(mcData.mobs[62])
console.log(mcData.objects[62])
console.log(require('minecraft-data').versionsByMinecraftVersion.pc['1.8.8'])
console.log(require('minecraft-data').versionsByMinecraftVersion.pc['15w40b'])
console.log(require('minecraft-data').preNettyVersionsByProtocolVersion.pc[47])
console.log(require('minecraft-data').postNettyVersionsByProtocolVersion.pc[47][0])
console.log(require('minecraft-data')(47).version)
console.log(require('minecraft-data')('1.8').version)
console.log(require('minecraft-data')('15w40b').version)
console.log(require('minecraft-data')('0.30c').version)
console.log(require('minecraft-data')('bedrock_0.14').version)
console.log(require('minecraft-data')('pc_1.9').blocksByName.dirt)
console.log(require('minecraft-data')('bedrock_0.14').blocksByName.podzol)
console.log(require('minecraft-data')('bedrock_0.14').type)
console.log(require('minecraft-data')('1.8').enchantments[5])
console.log(require('minecraft-data').supportedVersions.pc)
console.log(require('minecraft-data')('1.12').language['options.sensitivity.max'])
console.log(require('minecraft-data')('1.13.2').blocksByStateId[3381])
console.log(require('minecraft-data')('1.13.2').particles[2])
console.log(require('minecraft-data')('1.16.1').blockLoot.stone)
console.log(require('minecraft-data')('1.16.1').loginPacket)
console.log(require('minecraft-data')('1.16.4').mapIconsByName.player)
console.log(require('minecraft-data').legacy.pc.blocks['0:0'])
console.log(require('minecraft-data')('1.15.2').attributes['generic.movementSpeed'])
console.log(require('minecraft-data')('1.16').attributes['minecraft:generic.movement_speed'])
console.log(require('minecraft-data')('1.15.2').attributesByName.movementSpeed)
console.log(require('minecraft-data')('1.16').attributesByName.movementSpeed)
console.log(require('minecraft-data')('1.16.5').sounds[21])
console.log(require('minecraft-data')('1.16.5').soundsByName['ambient.underwater.loop.additions.ultra_rare'])