mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 06:03:33 -04:00
Merge pull request #362 from rom1504/new_numericals
https://github.com/roblabla/ProtoDef/pull/50 : update to new numerical names
This commit is contained in:
commit
95939a4aad
@ -43,9 +43,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"buffer-equal": "1.0.0",
|
"buffer-equal": "1.0.0",
|
||||||
"minecraft-data": "^0.20.4",
|
"minecraft-data": "^1.0.2",
|
||||||
"prismarine-nbt": "0.2.0",
|
"prismarine-nbt": "0.2.1",
|
||||||
"protodef": "0.3.0",
|
"protodef": "^1.0.0",
|
||||||
"readable-stream": "^2.0.5",
|
"readable-stream": "^2.0.5",
|
||||||
"ursa-purejs": "0.0.3",
|
"ursa-purejs": "0.0.3",
|
||||||
"uuid-1345": "^0.99.6",
|
"uuid-1345": "^0.99.6",
|
||||||
|
@ -14,12 +14,12 @@ function evalCount(count, fields) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var values = {
|
var values = {
|
||||||
'int': 123456,
|
'i32': 123456,
|
||||||
'short': -123,
|
'i16': -123,
|
||||||
'ushort': 123,
|
'u16': 123,
|
||||||
'varint': 25992,
|
'varint': 25992,
|
||||||
'byte': -10,
|
'i8': -10,
|
||||||
'ubyte': 8,
|
'u8': 8,
|
||||||
'string': "hi hi this is my client string",
|
'string': "hi hi this is my client string",
|
||||||
'buffer': new Buffer(8),
|
'buffer': new Buffer(8),
|
||||||
'array': function(typeArgs, context) {
|
'array': function(typeArgs, context) {
|
||||||
@ -49,8 +49,8 @@ var values = {
|
|||||||
},
|
},
|
||||||
'count': 1, // TODO : might want to set this to a correct value
|
'count': 1, // TODO : might want to set this to a correct value
|
||||||
'bool': true,
|
'bool': true,
|
||||||
'double': 99999.2222,
|
'f64': 99999.2222,
|
||||||
'float': -333.444,
|
'f32': -333.444,
|
||||||
'slot': {
|
'slot': {
|
||||||
blockId: 5,
|
blockId: 5,
|
||||||
itemCount: 56,
|
itemCount: 56,
|
||||||
@ -104,7 +104,7 @@ var values = {
|
|||||||
test7: {type: "intArray", value: [12, 42]}
|
test7: {type: "intArray", value: [12, 42]}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'long': [0, 1],
|
'i64': [0, 1],
|
||||||
'entityMetadata': [
|
'entityMetadata': [
|
||||||
{key: 17, value: 0, type: 0}
|
{key: 17, value: 0, type: 0}
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user