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

438 lines
8.3 KiB
JSON
Raw Permalink Normal View History

{
"format": 0,
"tick_time": 20,
"elements": [
{
"type": "ITEM",
"display_item": "minecraft:player_head",
"item_model_transformation": "FIXED",
"transformation": {
"translation": [
0.0,
0.0,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.8,
0.8,
0.8
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"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.0,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.8,
0.8,
0.8
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"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": "PARTICLE",
"particle": {
"field_25127": {},
"field_11196": false,
"field_11197": {}
},
"wait_duration": 3,
"delta": {
"x": 0.2,
"y": 0.2,
"z": 0.2
},
"speed": 0.01,
"count": 2,
"tags": [],
"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.3
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.35,
0.35,
0.1
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"view_range": 0.2,
"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.3
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.35,
0.35,
0.35
],
"right_rotation": [
-0.0,
-0.0,
-0.0,
1.0
]
},
"billboard": "center",
"view_range": 0.2,
"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.25,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.4,
0.4,
0.4
],
"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.25,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.4,
0.4,
0.4
],
"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.25,
0.0
],
"left_rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.4,
0.4,
0.4
],
"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
]
}
]
}