snbt support float point

This commit is contained in:
Tnze
2024-06-19 21:02:12 +08:00
parent 2f003c5c16
commit 300304eed3
7 changed files with 560 additions and 6 deletions

View File

@ -0,0 +1,169 @@
{
DataVersion: 3218,
data: [],
palette: [],
AbsorptionAmount: 0.0f,
Air: 300s,
Attributes: [
{
Base: 0.10000000149011612d,
Name: "minecraft:generic.movement_speed"
}
],
Brain: {
memories: {}
},
DeathTime: 0s,
Dimension: "minecraft:overworld",
EnderItems: [],
FallDistance: 0.0f,
FallFlying: 0b,
Fire: -20s,
Health: 20.0f,
HurtByTimestamp: 0,
HurtTime: 0s,
Inventory: [
{
Count: 1b,
Slot: 0b,
id: "minecraft:obsidian"
},
{
Count: 1b,
Slot: 1b,
id: "minecraft:end_portal_frame"
},
{
Count: 2b,
Slot: 2b,
id: "minecraft:redstone"
},
{
Count: 1b,
Slot: 3b,
id: "minecraft:piston"
},
{
Count: 1b,
Slot: 4b,
id: "minecraft:sticky_piston"
},
{
Count: 1b,
Slot: 5b,
id: "minecraft:redstone_block"
},
{
Count: 1b,
Slot: 6b,
id: "minecraft:white_concrete"
},
{
Count: 1b,
Slot: 7b,
id: "minecraft:diorite_wall"
},
{
Count: 1b,
Slot: 8b,
id: "minecraft:birch_fence"
},
{
Count: 1b,
Slot: 9b,
id: "minecraft:lever"
}
],
Invulnerable: 0b,
Motion: [
0.0d,
0.0d,
0.0d
],
OnGround: 0b,
PortalCooldown: 0,
Pos: [
-241.52665309975936d,
92.96455951628484d,
-226.6873418918888d
],
Rotation: [
-179.86888f,
35.09954f
],
Score: 0,
SelectedItemSlot: 6,
SleepTimer: 0s,
UUID: [I; 1492530542, -1291040751, -1946364118, -1628856717],
XpLevel: 0,
XpP: 0.0f,
XpSeed: 1529348704,
XpTotal: 0,
abilities: {
flySpeed: 0.05f,
flying: 1b,
instabuild: 1b,
invulnerable: 1b,
mayBuild: 1b,
mayfly: 1b,
walkSpeed: 0.1f
},
foodExhaustionLevel: 0.0f,
foodLevel: 20,
foodSaturationLevel: 5.0f,
foodTickTimer: 0,
playerGameType: 1,
previousPlayerGameType: 0,
recipeBook: {
isBlastingFurnaceFilteringCraftable: 0b,
isBlastingFurnaceGuiOpen: 0b,
isFilteringCraftable: 0b,
isFurnaceFilteringCraftable: 0b,
isFurnaceGuiOpen: 0b,
isGuiOpen: 0b,
isSmokerFilteringCraftable: 0b,
isSmokerGuiOpen: 0b,
recipes: [
"minecraft:redstone_torch",
"minecraft:piston",
"minecraft:chest",
"minecraft:pumpkin_seeds",
"minecraft:flint_and_steel",
"minecraft:enchanting_table",
"minecraft:target",
"minecraft:ender_chest",
"minecraft:note_block",
"minecraft:end_crystal",
"minecraft:redstone_block",
"minecraft:pumpkin_pie",
"minecraft:clock",
"minecraft:dropper",
"minecraft:redstone",
"minecraft:compass"
],
toBeDisplayed: [
"minecraft:redstone_torch",
"minecraft:piston",
"minecraft:chest",
"minecraft:pumpkin_seeds",
"minecraft:flint_and_steel",
"minecraft:enchanting_table",
"minecraft:target",
"minecraft:ender_chest",
"minecraft:note_block",
"minecraft:end_crystal",
"minecraft:redstone_block",
"minecraft:pumpkin_pie",
"minecraft:clock",
"minecraft:dropper",
"minecraft:redstone",
"minecraft:compass"
]
},
seenCredits: 1b,
warden_spawn_tracker: {
cooldown_ticks: 0,
ticks_since_last_warning: 6931,
warning_level: 0
}
}