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:
Romain Beaumont 2016-02-19 23:48:01 +01:00
commit 95939a4aad
2 changed files with 11 additions and 11 deletions

View File

@ -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",

View File

@ -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}
],