smp/config/universal-graves/example_models/player_head.json

522 lines
9.9 KiB
JSON

{
"format": 0,
"tick_time": 20,
"elements": [
{
"type": "ITEM",
"display_item": {
"id": "minecraft:air",
"Count": 0,
"tag": {
"Damage": 0
}
},
"item_model_transformation": "FIXED",
"transformation": {
"translation": [
0.4,
-0.495,
-0.2
],
"left_rotation": [
0.67437965,
-0.15304601,
0.21263118,
0.69034547
],
"scale": [
0.5,
0.49999997,
0.49999997
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "fixed",
"view_range": 1.0,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:item"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "ITEM",
"display_item": {
"id": "minecraft:air",
"Count": 0,
"tag": {
"Damage": 0
}
},
"item_model_transformation": "FIXED",
"transformation": {
"translation": [
-0.35,
-0.43,
-0.05
],
"left_rotation": [
0.7575899,
-0.30307037,
-0.57702374,
0.035348564
],
"scale": [
0.5,
0.50000006,
0.5
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "fixed",
"view_range": 1.0,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:item"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "ITEM",
"display_item": "minecraft:player_head",
"item_model_transformation": "FIXED",
"transformation": {
"translation": [
0.0,
-0.35,
0.0
],
"left_rotation": [
-0.13048689,
-0.0032032724,
-0.024331277,
0.9911462
],
"scale": [
1.0,
0.9999999,
0.9999999
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "fixed",
"view_range": 1.0,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:if_protected",
"graves:player_head"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "ITEM",
"display_item": "minecraft:skeleton_skull",
"item_model_transformation": "FIXED",
"transformation": {
"translation": [
0.0,
-0.35,
0.0
],
"left_rotation": [
-0.13048689,
-0.0032032724,
-0.024331277,
0.9911462
],
"scale": [
1.0,
0.9999999,
0.9999999
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "fixed",
"view_range": 1.0,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:if_unprotected"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "ITEM",
"display_item": {
"id": "universal_graves:icon",
"Count": 1,
"tag": {
"Texture": "remove_protection"
}
},
"item_model_transformation": "FIXED",
"transformation": {
"translation": [
0.0,
-0.44,
0.42
],
"left_rotation": [
-0.50000006,
0.0,
0.0,
0.8660254
],
"scale": [
0.35,
0.35000002,
0.35000002
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "fixed",
"view_range": 1.0,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:payment_required"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "TEXT",
"text": [
"<yellow>${cost}"
],
"text_width": -1,
"text_background": -1,
"text_opacity": -1,
"text_shadow": true,
"text_see_through": false,
"text_default_background": true,
"text_alignment": "center",
"transformation": {
"translation": [
0.0,
-0.31,
0.42
],
"left_rotation": [
-0.50000006,
0.0,
0.0,
0.8660254
],
"scale": [
0.35,
0.35000002,
0.35000002
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "fixed",
"view_range": 1.0,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:payment_required"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "TEXT",
"text": [
"<gold><lang:'text.graves.grave_of':'<yellow>${player}'>",
"<yellow>${death_cause}",
"<gray><lang:'text.graves.items_xp':'<white>${item_count}':'<white>${xp}'>",
{
"text": "<blue><lang:'text.graves.protected_time':'<white>${protection_time}'><r>",
"tags": [
"graves:if_protected",
"graves:has_protection_timer"
]
},
{
"text": "<red><lang:'text.graves.break_time':'<white>${break_time}'>",
"tags": [
"graves:has_breaking_timer"
]
}
],
"text_width": 9999,
"text_background": -1,
"text_opacity": -1,
"text_shadow": true,
"text_see_through": false,
"text_default_background": true,
"text_alignment": "center",
"transformation": {
"translation": [
0.0,
0.1,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.6,
0.6,
0.6
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"brightness": {
"block": 15,
"sky": 15
},
"view_range": 0.5,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:if_not_visual"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "TEXT",
"text": [
"${text_1}",
"${text_2}",
"${text_3}",
"${text_4}"
],
"text_width": 9999,
"text_background": -1,
"text_opacity": -1,
"text_shadow": true,
"text_see_through": false,
"text_default_background": true,
"text_alignment": "center",
"transformation": {
"translation": [
0.0,
0.1,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.6,
0.6,
0.6
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"brightness": {
"block": 15,
"sky": 15
},
"view_range": 0.5,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:if_player_made",
"graves:if_visual"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
},
{
"type": "TEXT",
"text": [
"<gold><lang:'text.graves.grave_of':'<yellow>${player}'>",
"<yellow>${death_cause}"
],
"text_width": 9999,
"text_background": -1,
"text_opacity": -1,
"text_shadow": true,
"text_see_through": false,
"text_default_background": true,
"text_alignment": "center",
"transformation": {
"translation": [
0.0,
0.1,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.6,
0.6,
0.6
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"brightness": {
"block": 15,
"sky": 15
},
"view_range": 0.5,
"shadow_radius": 0.0,
"shadow_strength": 0.0,
"culling": [
2.0,
2.0
],
"glow_color": -1,
"tags": [
"graves:if_visual",
"graves:if_not_player_made"
],
"rotate_position": true,
"rotate_yaw": true,
"position": [
0.0,
0.0,
0.0
]
}
]
}