mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -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": {
|
||||
"buffer-equal": "1.0.0",
|
||||
"minecraft-data": "^0.20.4",
|
||||
"prismarine-nbt": "0.2.0",
|
||||
"protodef": "0.3.0",
|
||||
"minecraft-data": "^1.0.2",
|
||||
"prismarine-nbt": "0.2.1",
|
||||
"protodef": "^1.0.0",
|
||||
"readable-stream": "^2.0.5",
|
||||
"ursa-purejs": "0.0.3",
|
||||
"uuid-1345": "^0.99.6",
|
||||
|
@ -14,12 +14,12 @@ function evalCount(count, fields) {
|
||||
}
|
||||
|
||||
var values = {
|
||||
'int': 123456,
|
||||
'short': -123,
|
||||
'ushort': 123,
|
||||
'i32': 123456,
|
||||
'i16': -123,
|
||||
'u16': 123,
|
||||
'varint': 25992,
|
||||
'byte': -10,
|
||||
'ubyte': 8,
|
||||
'i8': -10,
|
||||
'u8': 8,
|
||||
'string': "hi hi this is my client string",
|
||||
'buffer': new Buffer(8),
|
||||
'array': function(typeArgs, context) {
|
||||
@ -49,8 +49,8 @@ var values = {
|
||||
},
|
||||
'count': 1, // TODO : might want to set this to a correct value
|
||||
'bool': true,
|
||||
'double': 99999.2222,
|
||||
'float': -333.444,
|
||||
'f64': 99999.2222,
|
||||
'f32': -333.444,
|
||||
'slot': {
|
||||
blockId: 5,
|
||||
itemCount: 56,
|
||||
@ -104,7 +104,7 @@ var values = {
|
||||
test7: {type: "intArray", value: [12, 42]}
|
||||
}
|
||||
},
|
||||
'long': [0, 1],
|
||||
'i64': [0, 1],
|
||||
'entityMetadata': [
|
||||
{key: 17, value: 0, type: 0}
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user