Created
August 30, 2019 18:54
-
-
Save SocraticPhoenix/2f543dbcd7cc6c2afde6b76cdae1a981 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"SerializedObject": { | |
"ContentVersion": 1, | |
"WorldUuid": "cd206d20-3108-4cb9-92bb-a24bbfe79730", | |
"EntityType": "minecraft:player", | |
"Position": { | |
"X": -205.5, | |
"Y": 76, | |
"Z": 262.5 | |
}, | |
"Rotation": { | |
"X": 0, | |
"Y": 0, | |
"Z": 0 | |
}, | |
"Scale": { | |
"X": 1, | |
"Y": 1, | |
"Z": 1 | |
}, | |
"Data": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:inventory_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"InventoryPages": [ | |
{ | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
} | |
], | |
"InventoryCarried": { | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryHotbar": { | |
"Dimensions": { | |
"x": 9, | |
"y": 2 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryTrinkets": { | |
"Dimensions": { | |
"x": 5, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryAmmo": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryPotions": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryCrafting": { | |
"Dimensions": { | |
"x": 3, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryHelmet": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryChestplate": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryLeggings": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryBoots": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventorySelectedMenu": { | |
"ID": "bank_inventory", | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.player.SelectableMenu" | |
}, | |
"InventorySelectedSlot": 0, | |
"InventorySelectedPage": 0 | |
} | |
} | |
], | |
"EntityUniqueId": "1c6cf4e1-3d99-43fd-a24a-a61aa1f6dcf2", | |
"UnsafeData": { | |
"HurtByTimestamp": 0, | |
"Spawns": [ | |
], | |
"SleepTimer": 0, | |
"Attributes": [ | |
{ | |
"Base": 20, | |
"Name": "generic.maxHealth" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.knockbackResistance" | |
}, | |
{ | |
"Base": 0.10000000149012, | |
"Name": "generic.movementSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armor" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armorToughness" | |
}, | |
{ | |
"Base": 1, | |
"Name": "generic.attackDamage" | |
}, | |
{ | |
"Base": 4, | |
"Name": "generic.attackSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.luck" | |
} | |
], | |
"Invulnerable": 0, | |
"FallFlying": 0, | |
"PortalCooldown": 0, | |
"AbsorptionAmount": 0, | |
"abilities": { | |
"invulnerable": 0, | |
"mayfly": 0, | |
"instabuild": 0, | |
"walkSpeed": 0.1, | |
"mayBuild": 1, | |
"flying": 0, | |
"flySpeed": 0.05 | |
}, | |
"FallDistance": 0, | |
"recipeBook": { | |
"recipes": [ | |
], | |
"isFilteringCraftable": 0, | |
"toBeDisplayed": [ | |
], | |
"isGuiOpen": 0 | |
}, | |
"DeathTime": 0, | |
"XpSeed": 0, | |
"XpTotal": 0, | |
"playerGameType": 0, | |
"seenCredits": 0, | |
"Motion": [ | |
0, | |
0, | |
0 | |
], | |
"UUIDLeast": -6.752402057972e+18, | |
"Health": 20, | |
"foodSaturationLevel": 5, | |
"Air": 300, | |
"OnGround": 0, | |
"Dimension": 0, | |
"Rotation": [ | |
0, | |
0 | |
], | |
"XpLevel": 0, | |
"Score": 0, | |
"UUIDMost": 2.048281178785e+18, | |
"Sleeping": 0, | |
"Pos": [ | |
-205.5, | |
76, | |
262.5 | |
], | |
"Fire": -20, | |
"XpP": 0, | |
"EnderItems": [ | |
], | |
"DataVersion": 1343, | |
"foodLevel": 20, | |
"foodExhaustionLevel": 0, | |
"HurtTime": 0, | |
"SelectedItemSlot": 5, | |
"Inventory": [ | |
{ | |
"Slot": 0, | |
"id": "minecraft:writable_book", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "print_message" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Quest Book" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 1, | |
"id": "minecraft:chest", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "open_inventory_button" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Open Inventory" | |
} | |
}, | |
"Damage": 0 | |
} | |
], | |
"foodTickTimer": 0 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"SerializedObject": { | |
"ContentVersion": 1, | |
"WorldUuid": "cd206d20-3108-4cb9-92bb-a24bbfe79730", | |
"EntityType": "minecraft:player", | |
"Position": { | |
"X": -200.46645265909, | |
"Y": 77, | |
"Z": 266.12466713878 | |
}, | |
"Rotation": { | |
"X": 48.750022888184, | |
"Y": -7.199996471405, | |
"Z": 0 | |
}, | |
"Scale": { | |
"X": 1, | |
"Y": 1, | |
"Z": 1 | |
}, | |
"Data": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:inventory_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"InventoryPages": [ | |
{ | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
} | |
], | |
"InventoryCarried": { | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
{ | |
"Position": { | |
"x": 0, | |
"y": 0 | |
}, | |
"Item": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:log", | |
"Count": 2, | |
"UnsafeDamage": 1 | |
} | |
} | |
] | |
}, | |
"InventoryHotbar": { | |
"Dimensions": { | |
"x": 9, | |
"y": 2 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryTrinkets": { | |
"Dimensions": { | |
"x": 5, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryAmmo": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryPotions": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryCrafting": { | |
"Dimensions": { | |
"x": 3, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryHelmet": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryChestplate": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryLeggings": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryBoots": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventorySelectedMenu": { | |
"ID": "bank_inventory", | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.player.SelectableMenu" | |
}, | |
"InventorySelectedSlot": 0, | |
"InventorySelectedPage": 0 | |
} | |
} | |
], | |
"EntityUniqueId": "1c6cf4e1-3d99-43fd-a24a-a61aa1f6dcf2", | |
"UnsafeData": { | |
"HurtByTimestamp": 0, | |
"Spawns": [ | |
], | |
"SleepTimer": 0, | |
"Attributes": [ | |
{ | |
"Base": 20, | |
"Name": "generic.maxHealth" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.knockbackResistance" | |
}, | |
{ | |
"Base": 0.10000000149012, | |
"Name": "generic.movementSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armor" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armorToughness" | |
}, | |
{ | |
"Base": 1, | |
"Name": "generic.attackDamage" | |
}, | |
{ | |
"Base": 4, | |
"Name": "generic.attackSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.luck" | |
} | |
], | |
"Invulnerable": 0, | |
"FallFlying": 0, | |
"PortalCooldown": 0, | |
"AbsorptionAmount": 0, | |
"abilities": { | |
"invulnerable": 0, | |
"mayfly": 0, | |
"instabuild": 0, | |
"walkSpeed": 0.1, | |
"mayBuild": 1, | |
"flying": 0, | |
"flySpeed": 0.05 | |
}, | |
"FallDistance": 0, | |
"recipeBook": { | |
"recipes": [ | |
"minecraft:spruce_planks" | |
], | |
"isFilteringCraftable": 0, | |
"toBeDisplayed": [ | |
"minecraft:spruce_planks" | |
], | |
"isGuiOpen": 0 | |
}, | |
"DeathTime": 0, | |
"XpSeed": 0, | |
"XpTotal": 0, | |
"playerGameType": 0, | |
"seenCredits": 0, | |
"Motion": [ | |
0, | |
-0.078400001525879, | |
0 | |
], | |
"UUIDLeast": -6.752402057972e+18, | |
"Health": 20, | |
"foodSaturationLevel": 5, | |
"Air": 300, | |
"OnGround": 1, | |
"Dimension": 0, | |
"Rotation": [ | |
-7.1999965, | |
48.750023 | |
], | |
"XpLevel": 0, | |
"Score": 0, | |
"UUIDMost": 2.048281178785e+18, | |
"Sleeping": 0, | |
"Pos": [ | |
-200.46645265909, | |
77, | |
266.12466713878 | |
], | |
"Fire": -20, | |
"XpP": 0, | |
"EnderItems": [ | |
], | |
"DataVersion": 1343, | |
"foodLevel": 20, | |
"foodExhaustionLevel": 0.11000001, | |
"HurtTime": 0, | |
"SelectedItemSlot": 5, | |
"Inventory": [ | |
{ | |
"Slot": 0, | |
"id": "minecraft:writable_book", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "print_message" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Quest Book" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 1, | |
"id": "minecraft:chest", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "open_inventory_button" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Open Inventory" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 9, | |
"id": "minecraft:log", | |
"Count": 2, | |
"Damage": 1 | |
} | |
], | |
"foodTickTimer": 0 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Listener | |
public void onLogin(ClientConnectionEvent.Join ev) { | |
Player player = ev.getTargetEntity(); | |
if (!player.get(InventoryData.class).isPresent()) { | |
InventoryData data = player.getOrCreate(InventoryData.class).get(); | |
player.offer(data); | |
Hotbar hotbar = player.getInventory().query(QueryOperationTypes.INVENTORY_TYPE.of(Hotbar.class)); | |
hotbar.set(SlotIndex.of(0), ItemStack.builder().itemType(ItemTypes.WRITABLE_BOOK).itemData(ButtonData.of(printMessage)).add(Keys.DISPLAY_NAME, Text.of("Quest Book")).build()); | |
hotbar.set(SlotIndex.of(1), ItemStack.builder().itemType(ItemTypes.CHEST).itemData(ButtonData.of(ButtonActions.OPEN_INVENTORY)).add(Keys.DISPLAY_NAME, Text.of("Open Inventory")).build()); | |
hotbar.setSelectedSlotIndex(HotbarListener.SELECTED_SLOT); | |
} | |
InventoryHelper.syncHotbarDataAndHotbar(player); | |
try { | |
System.out.println(DataFormats.JSON.write(DataContainer.createNew().set(RPGDataKeys.SERIALIZED, player.createSnapshot()))); | |
} catch (IOException e) { | |
e.printStackTrace(); | |
} | |
} | |
@Listener | |
public void onDisconnect(ClientConnectionEvent.Disconnect ev) { | |
try { | |
System.out.println(DataFormats.JSON.write(DataContainer.createNew().set(RPGDataKeys.SERIALIZED, ev.getTargetEntity().createSnapshot()))); | |
} catch (IOException e) { | |
e.printStackTrace(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"SerializedObject": { | |
"ContentVersion": 1, | |
"WorldUuid": "cd206d20-3108-4cb9-92bb-a24bbfe79730", | |
"EntityType": "minecraft:player", | |
"Position": { | |
"X": -200.46645265909, | |
"Y": 77, | |
"Z": 266.12466713878 | |
}, | |
"Rotation": { | |
"X": 48.750022888184, | |
"Y": -7.199996471405, | |
"Z": 0 | |
}, | |
"Scale": { | |
"X": 1, | |
"Y": 1, | |
"Z": 1 | |
}, | |
"Data": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:inventory_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"InventoryPages": [ | |
{ | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
} | |
], | |
"InventoryCarried": { | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryHotbar": { | |
"Dimensions": { | |
"x": 9, | |
"y": 2 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryTrinkets": { | |
"Dimensions": { | |
"x": 5, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryAmmo": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryPotions": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryCrafting": { | |
"Dimensions": { | |
"x": 3, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryHelmet": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryChestplate": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryLeggings": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryBoots": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventorySelectedMenu": { | |
"ID": "bank_inventory", | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.player.SelectableMenu" | |
}, | |
"InventorySelectedSlot": 0, | |
"InventorySelectedPage": 0 | |
} | |
} | |
], | |
"EntityUniqueId": "1c6cf4e1-3d99-43fd-a24a-a61aa1f6dcf2", | |
"UnsafeData": { | |
"HurtByTimestamp": 0, | |
"Spawns": [ | |
], | |
"ForgeData": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:inventory_data", | |
"ManipulatorData": { | |
"InventoryAmmo": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
} | |
}, | |
"InventoryTrinkets": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 5, | |
"y": 1 | |
} | |
}, | |
"InventoryHelmet": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"InventorySelectedPage": 0, | |
"InventorySelectedMenu": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.player.SelectableMenu", | |
"ID": "bank_inventory" | |
}, | |
"InventoryCarried": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
} | |
}, | |
"InventoryCrafting": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 3, | |
"y": 3 | |
} | |
}, | |
"InventoryChestplate": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"ContentVersion": 0, | |
"InventoryPotions": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
} | |
}, | |
"InventoryLeggings": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"InventoryBoots": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"InventorySelectedSlot": 0, | |
"InventoryPages": [ | |
{ | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
} | |
} | |
], | |
"InventoryHotbar": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 2 | |
} | |
} | |
} | |
} | |
] | |
} | |
}, | |
"SleepTimer": 0, | |
"Attributes": [ | |
{ | |
"Base": 20, | |
"Name": "generic.maxHealth" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.knockbackResistance" | |
}, | |
{ | |
"Base": 0.10000000149012, | |
"Name": "generic.movementSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armor" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armorToughness" | |
}, | |
{ | |
"Base": 1, | |
"Name": "generic.attackDamage" | |
}, | |
{ | |
"Base": 4, | |
"Name": "generic.attackSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.luck" | |
} | |
], | |
"Invulnerable": 0, | |
"FallFlying": 0, | |
"PortalCooldown": 0, | |
"AbsorptionAmount": 0, | |
"abilities": { | |
"invulnerable": 0, | |
"mayfly": 0, | |
"instabuild": 0, | |
"walkSpeed": 0.1, | |
"mayBuild": 1, | |
"flying": 0, | |
"flySpeed": 0.05 | |
}, | |
"FallDistance": 0, | |
"recipeBook": { | |
"recipes": [ | |
"minecraft:spruce_planks" | |
], | |
"isFilteringCraftable": 0, | |
"toBeDisplayed": [ | |
"minecraft:spruce_planks" | |
], | |
"isGuiOpen": 0 | |
}, | |
"DeathTime": 0, | |
"XpSeed": -979719066, | |
"XpTotal": 0, | |
"playerGameType": 0, | |
"seenCredits": 0, | |
"Motion": [ | |
0, | |
-0.078400001525879, | |
0 | |
], | |
"UUIDLeast": -6.752402057972e+18, | |
"Health": 20, | |
"foodSaturationLevel": 5, | |
"Air": 300, | |
"OnGround": 1, | |
"Dimension": 0, | |
"Rotation": [ | |
-7.1999965, | |
48.750023 | |
], | |
"XpLevel": 0, | |
"Score": 0, | |
"UUIDMost": 2.048281178785e+18, | |
"Sleeping": 0, | |
"Pos": [ | |
-200.46645265909, | |
77, | |
266.12466713878 | |
], | |
"Fire": -20, | |
"XpP": 0, | |
"EnderItems": [ | |
], | |
"DataVersion": 1343, | |
"foodLevel": 20, | |
"foodExhaustionLevel": 0.11000001, | |
"HurtTime": 0, | |
"SelectedItemSlot": 5, | |
"Inventory": [ | |
{ | |
"Slot": 0, | |
"id": "minecraft:writable_book", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "print_message" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Quest Book" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 1, | |
"id": "minecraft:chest", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "open_inventory_button" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Open Inventory" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 9, | |
"id": "minecraft:log", | |
"Count": 2, | |
"Damage": 1 | |
} | |
], | |
"foodTickTimer": 0 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"SerializedObject": { | |
"ContentVersion": 1, | |
"WorldUuid": "cd206d20-3108-4cb9-92bb-a24bbfe79730", | |
"EntityType": "minecraft:player", | |
"Position": { | |
"X": -200.65201216423, | |
"Y": 77, | |
"Z": 266.2332892788 | |
}, | |
"Rotation": { | |
"X": 9.7500076293945, | |
"Y": -4.3498377799988, | |
"Z": 0 | |
}, | |
"Scale": { | |
"X": 1, | |
"Y": 1, | |
"Z": 1 | |
}, | |
"Data": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:inventory_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"InventoryPages": [ | |
{ | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
} | |
], | |
"InventoryCarried": { | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
{ | |
"Position": { | |
"x": 0, | |
"y": 0 | |
}, | |
"Item": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:log", | |
"Count": 2, | |
"UnsafeDamage": 1 | |
} | |
} | |
] | |
}, | |
"InventoryHotbar": { | |
"Dimensions": { | |
"x": 9, | |
"y": 2 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryTrinkets": { | |
"Dimensions": { | |
"x": 5, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryAmmo": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryPotions": { | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryCrafting": { | |
"Dimensions": { | |
"x": 3, | |
"y": 3 | |
}, | |
"ItemMap": [ | |
] | |
}, | |
"InventoryHelmet": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryChestplate": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryLeggings": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventoryBoots": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"Count": 0, | |
"UnsafeDamage": 0 | |
}, | |
"InventorySelectedMenu": { | |
"ID": "bank_inventory", | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.player.SelectableMenu" | |
}, | |
"InventorySelectedSlot": 1, | |
"InventorySelectedPage": 0 | |
} | |
} | |
], | |
"EntityUniqueId": "1c6cf4e1-3d99-43fd-a24a-a61aa1f6dcf2", | |
"UnsafeData": { | |
"HurtByTimestamp": 0, | |
"Spawns": [ | |
], | |
"ForgeData": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:inventory_data", | |
"ManipulatorData": { | |
"InventoryAmmo": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
} | |
}, | |
"InventoryTrinkets": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 5, | |
"y": 1 | |
} | |
}, | |
"InventoryHelmet": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"InventorySelectedPage": 0, | |
"InventorySelectedMenu": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.player.SelectableMenu", | |
"ID": "bank_inventory" | |
}, | |
"InventoryCarried": { | |
"ItemMap": [ | |
{ | |
"Item": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:log", | |
"UnsafeDamage": 1, | |
"Count": 2 | |
}, | |
"Position": { | |
"x": 0, | |
"y": 0 | |
} | |
} | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
} | |
}, | |
"InventoryCrafting": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 3, | |
"y": 3 | |
} | |
}, | |
"InventoryChestplate": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"ContentVersion": 0, | |
"InventoryPotions": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 1 | |
} | |
}, | |
"InventoryLeggings": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"InventoryBoots": { | |
"ContentVersion": 1, | |
"ItemType": "minecraft:air", | |
"UnsafeDamage": 0, | |
"Count": 0 | |
}, | |
"InventorySelectedSlot": 1, | |
"InventoryPages": [ | |
{ | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 3 | |
} | |
} | |
], | |
"InventoryHotbar": { | |
"ItemMap": [ | |
], | |
"Dimensions": { | |
"x": 9, | |
"y": 2 | |
} | |
} | |
} | |
} | |
] | |
} | |
}, | |
"SleepTimer": 0, | |
"Attributes": [ | |
{ | |
"Base": 20, | |
"Name": "generic.maxHealth" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.knockbackResistance" | |
}, | |
{ | |
"Base": 0.10000000149012, | |
"Name": "generic.movementSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armor" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.armorToughness" | |
}, | |
{ | |
"Base": 1, | |
"Name": "generic.attackDamage" | |
}, | |
{ | |
"Base": 4, | |
"Name": "generic.attackSpeed" | |
}, | |
{ | |
"Base": 0, | |
"Name": "generic.luck" | |
} | |
], | |
"Invulnerable": 0, | |
"FallFlying": 0, | |
"PortalCooldown": 0, | |
"AbsorptionAmount": 0, | |
"abilities": { | |
"invulnerable": 0, | |
"mayfly": 0, | |
"instabuild": 0, | |
"walkSpeed": 0.1, | |
"mayBuild": 1, | |
"flying": 0, | |
"flySpeed": 0.05 | |
}, | |
"FallDistance": 0, | |
"recipeBook": { | |
"recipes": [ | |
"minecraft:spruce_planks" | |
], | |
"isFilteringCraftable": 0, | |
"toBeDisplayed": [ | |
"minecraft:spruce_planks" | |
], | |
"isGuiOpen": 0 | |
}, | |
"DeathTime": 0, | |
"XpSeed": -979719066, | |
"XpTotal": 0, | |
"playerGameType": 0, | |
"seenCredits": 0, | |
"Motion": [ | |
0, | |
-0.078400001525879, | |
0 | |
], | |
"UUIDLeast": -6.752402057972e+18, | |
"Health": 20, | |
"foodSaturationLevel": 5, | |
"Air": 300, | |
"OnGround": 1, | |
"Dimension": 0, | |
"Rotation": [ | |
-4.349838, | |
9.750008 | |
], | |
"XpLevel": 0, | |
"Score": 0, | |
"UUIDMost": 2.048281178785e+18, | |
"Sleeping": 0, | |
"Pos": [ | |
-200.65201216423, | |
77, | |
266.2332892788 | |
], | |
"Fire": -20, | |
"XpP": 0, | |
"EnderItems": [ | |
], | |
"DataVersion": 1343, | |
"foodLevel": 20, | |
"foodExhaustionLevel": 0.17, | |
"HurtTime": 0, | |
"SelectedItemSlot": 5, | |
"Inventory": [ | |
{ | |
"Slot": 0, | |
"id": "minecraft:writable_book", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "print_message" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Quest Book" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 1, | |
"id": "minecraft:chest", | |
"Count": 1, | |
"tag": { | |
"SpongeData": { | |
"CustomManipulators": [ | |
{ | |
"ContentVersion": 2, | |
"ManipulatorId": "socraticrpg:button_data", | |
"ManipulatorData": { | |
"ContentVersion": 0, | |
"ButtonAction": { | |
"Owner": "socraticrpg", | |
"Type": "com.gmail.socraticphoenix.rpg.inventory.button.ButtonAction", | |
"ID": "open_inventory_button" | |
} | |
} | |
} | |
] | |
}, | |
"display": { | |
"Name": "Open Inventory" | |
} | |
}, | |
"Damage": 0 | |
}, | |
{ | |
"Slot": 9, | |
"id": "minecraft:log", | |
"Count": 2, | |
"Damage": 1 | |
} | |
], | |
"foodTickTimer": 0 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment