EntityLib/code-gen/src/main/resources/offset-calculator.json
Tofaa 2d76a9eac8 Introduce changes notification for meta
Introduces a system to avoid spam sending metadata packets by stopping sending, changing the metadata, then sending it all at once
2024-02-06 21:44:02 +04:00

581 lines
No EOL
10 KiB
JSON

[
{
"class-name": "EntityMeta",
"offsets": [
{
"name": "airTicks",
"checks": [
{
"from": 765,
"to": 47,
"offset": 1
}
]
},
{
"name": "customName",
"checks": [
{
"from": 765,
"to": 47,
"offset": 2
}
]
},
{
"name": "customNameVisible",
"checks": [
{
"from": 765,
"to": 47,
"offset": 3
}
]
},
{
"name": "silent",
"checks": [
{
"from": 765,
"to": 47,
"offset": 4
}
]
},
{
"name": "hasNoGravity",
"checks": [
{
"from": 765,
"to": 47,
"offset": 5
}
]
},
{
"name": "pose",
"checks": [
{
"from": 765,
"to": 47,
"offset": 6
}
]
},
{
"name": "ticksFrozenInPowderedSnow",
"checks": [
{
"from": 765,
"to": 47,
"offset": 7
}
]
}
]
},
{
"class-name": "AbstractDisplayMeta",
"offsets": [
{
"name": "interpolationDelay",
"checks": [
{
"from": 765,
"to": 762,
"offset": 8
}
]
},
{
"name": "transformationDuration",
"checks": [
{
"from": 765,
"to": 762,
"offset": 9
}
]
},
{
"name": "positionRotationInterpolationDuration",
"checks": [
{
"from": 765,
"to": 764,
"offset": 10
}
]
},
{
"name": "translation",
"checks": [
{
"from": 765,
"to": 764,
"offset": 11
},
{
"from": 763,
"to": 762,
"offset": 10
}
]
},
{
"name": "scale",
"checks": [
{
"from": 765,
"to": 764,
"offset": 12
},
{
"from": 763,
"to": 762,
"offset": 11
}
]
},
{
"name": "leftRotation",
"checks": [
{
"from": 765,
"to": 764,
"offset": 13
},
{
"from": 763,
"to": 762,
"offset": 12
}
]
},
{
"name": "rightRotation",
"checks": [
{
"from": 765,
"to": 764,
"offset": 14
},
{
"from": 763,
"to": 762,
"offset": 13
}
]
},
{
"name": "billboardConstraints",
"checks": [
{
"from": 765,
"to": 764,
"offset": 15
},
{
"from": 763,
"to": 762,
"offset": 14
}
]
},
{
"name": "brightnessOverride",
"checks": [
{
"from": 765,
"to": 764,
"offset": 16
},
{
"from": 763,
"to": 762,
"offset": 15
}
]
},
{
"name": "viewRange",
"checks": [
{
"from": 765,
"to": 764,
"offset": 17
},
{
"from": 763,
"to": 762,
"offset": 16
}
]
},
{
"name": "shadowRadius",
"checks": [
{
"from": 765,
"to": 764,
"offset": 18
},
{
"from": 763,
"to": 762,
"offset": 17
}
]
},
{
"name": "shadowStrength",
"checks": [
{
"from": 765,
"to": 764,
"offset": 19
},
{
"from": 763,
"to": 762,
"offset": 18
}
]
},
{
"name": "width",
"checks": [
{
"from": 765,
"to": 764,
"offset": 20
},
{
"from": 763,
"to": 762,
"offset": 19
}
]
},
{
"name": "height",
"checks": [
{
"from": 765,
"to": 764,
"offset": 21
},
{
"from": 763,
"to": 762,
"offset": 20
}
]
},
{
"name": "glowColorOverride",
"checks": [
{
"from": 765,
"to": 764,
"offset": 22
},
{
"from": 763,
"to": 762,
"offset": 21
}
]
}
]
},
{
"class-name": "BlockDisplayMeta",
"offsets": [
{
"name": "blockId",
"checks": [
{
"from": 765,
"to": 764,
"offset": 23
},
{
"from": 763,
"to": 762,
"offset": 22
}
]
}
]
},
{
"class-name": "ItemDisplayMeta",
"offsets": [
{
"name": "item",
"checks": [
{
"from": 765,
"to": 764,
"offset": 24
},
{
"from": 763,
"to": 762,
"offset": 23
}
]
},
{
"name": "displayType",
"checks": [
{
"from": 765,
"to": 764,
"offset": 25
},
{
"from": 763,
"to": 762,
"offset": 24
}
]
}
]
},
{
"class-name": "TextDisplayMeta",
"offsets": [
{
"name": "text",
"checks": [
{
"from": 765,
"to": 764,
"offset": 26
},
{
"from": 763,
"to": 762,
"offset": 25
}
]
},
{
"name": "textColor",
"checks": [
{
"from": 765,
"to": 764,
"offset": 27
},
{
"from": 763,
"to": 762,
"offset": 26
}
]
},
{
"name": "textBackgroundColor",
"checks": [
{
"from": 765,
"to": 764,
"offset": 28
},
{
"from": 763,
"to": 762,
"offset": 27
}
]
},
{
"name": "textBackground",
"checks": [
{
"from": 765,
"to": 764,
"offset": 29
},
{
"from": 763,
"to": 762,
"offset": 28
}
]
},
{
"name": "textScale",
"checks": [
{
"from": 765,
"to": 764,
"offset": 30
},
{
"from": 763,
"to": 762,
"offset": 29
}
]
},
{
"name": "textAlignment",
"checks": [
{
"from": 765,
"to": 764,
"offset": 31
},
{
"from": 763,
"to": 762,
"offset": 30
}
]
},
{
"name": "lineWidth",
"checks": [
{
"from": 765,
"to": 764,
"offset": 32
},
{
"from": 763,
"to": 762,
"offset": 31
}
]
},
{
"name": "backgroundColor",
"checks": [
{
"from": 765,
"to": 764,
"offset": 33
},
{
"from": 763,
"to": 762,
"offset": 32
}
]
},
{
"name": "textOpacity",
"checks": [
{
"from": 765,
"to": 764,
"offset": 34
},
{
"from": 763,
"to": 762,
"offset": 33
}
]
},
{
"name": "shadow",
"checks": [
{
"from": 765,
"to": 764,
"offset": 35
},
{
"from": 763,
"to": 762,
"offset": 34
}
]
},
{
"name": "seeThrough",
"checks": [
{
"from": 765,
"to": 764,
"offset": 36
},
{
"from": 763,
"to": 762,
"offset": 35
}
]
},
{
"name": "useDefaultBackground",
"checks": [
{
"from": 765,
"to": 764,
"offset": 37
},
{
"from": 763,
"to": 762,
"offset": 36
}
]
},
{
"name": "allighnLeft",
"checks": [
{
"from": 765,
"to": 764,
"offset": 38
},
{
"from": 763,
"to": 762,
"offset": 37
}
]
},
{
"name": "allighnRight",
"checks": [
{
"from": 765,
"to": 764,
"offset": 39
},
{
"from": 763,
"to": 762,
"offset": 38
}
]
},
{
"name": "allighnCenter",
"checks": [
{
"from": 765,
"to": 764,
"offset": 40
},
{
"from": 763,
"to": 762,
"offset": 39
}
]
}
]
}
]