-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
352 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"format_version": "1.10.0", | ||
"animation_controllers": { | ||
"controller.animation.1ps": { | ||
"initial_state": "stop", | ||
"states": { | ||
"stop": { | ||
"transitions": [ | ||
{ | ||
"start": "query.is_sleeping" | ||
} | ||
] | ||
}, | ||
"start": { | ||
"animations": [ | ||
"start_1ps" | ||
], | ||
"transitions": [ | ||
{ | ||
"stop": "!query.is_sleeping" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
animation_controllers/death_counter_j5cfmnkccwt7ppim3lsyue.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"format_version": "1.10.0", | ||
"animation_controllers": { | ||
"controller.animation.death_counter_j5cfmnkccwt7ppim3lsyue": { | ||
"initial_state": "alive", | ||
"states": { | ||
"alive": { | ||
"transitions": [ | ||
{ | ||
"dead": "!query.is_alive" | ||
} | ||
], | ||
"on_exit": [ | ||
"/scoreboard players add @s deaths_J5CfmnKCc 1" | ||
] | ||
}, | ||
"dead": { | ||
"transitions": [ | ||
{ | ||
"alive": "query.is_alive" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"format_version": "1.8.0", | ||
"animations": { | ||
"animation.start_1ps": { | ||
"loop": false, | ||
"animation_length": 5.0, | ||
"timeline": { | ||
"0.0": "/me \u00c2\u00a7ewent to bed. Sweet dreams.", | ||
"4.9": [ | ||
"/weather rain", | ||
"/title @s actionbar \u00c2\u00a7eGood Morning!" | ||
], | ||
"5.0": [ | ||
"/toggledownfall", | ||
"/time set 23992" | ||
] | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
animations/death_counter_start_j5cfmnkccwt7ppim3lsyue.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"format_version": "1.10.0", | ||
"animations": { | ||
"animation.start_death_counter_j5cfmnkccwt7ppim3lsyue": { | ||
"timeline": { | ||
"0.0": [ | ||
"/scoreboard objectives add deaths_J5CfmnKCc dummy Deaths", | ||
"/scoreboard objectives setdisplay list deaths_J5CfmnKCc descending" | ||
] | ||
}, | ||
"animation_length": 1.0, | ||
"loop": false | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,232 @@ | ||
{ | ||
"format_version": "1.18.20", | ||
"minecraft:entity": { | ||
"description": { | ||
"identifier": "minecraft:player", | ||
"is_spawnable": false, | ||
"is_summonable": false, | ||
"is_experimental": false, | ||
"scripts": { | ||
"animate": [ | ||
"1ps", | ||
"death_counter_j5cfmnkccwt7ppim3lsyue", | ||
"start_death_counter_j5cfmnkccwt7ppim3lsyue" | ||
] | ||
}, | ||
"animations": { | ||
"1ps": "controller.animation.1ps", | ||
"start_1ps": "animation.start_1ps", | ||
"death_counter_j5cfmnkccwt7ppim3lsyue": "controller.animation.death_counter_j5cfmnkccwt7ppim3lsyue", | ||
"start_death_counter_j5cfmnkccwt7ppim3lsyue": "animation.start_death_counter_j5cfmnkccwt7ppim3lsyue" | ||
} | ||
}, | ||
"component_groups": { | ||
"minecraft:add_bad_omen": { | ||
"minecraft:spell_effects": { | ||
"add_effects": [ | ||
{ | ||
"effect": "bad_omen", | ||
"duration": 6000, | ||
"visible": false, | ||
"display_on_screen_animation": true | ||
} | ||
] | ||
}, | ||
"minecraft:timer": { | ||
"time": [ | ||
0, | ||
0 | ||
], | ||
"looping": false, | ||
"time_down_event": { | ||
"event": "minecraft:clear_add_bad_omen", | ||
"target": "self" | ||
} | ||
} | ||
}, | ||
"minecraft:clear_bad_omen_spell_effect": { | ||
"minecraft:spell_effects": {} | ||
}, | ||
"minecraft:raid_trigger": { | ||
"minecraft:raid_trigger": { | ||
"triggered_event": { | ||
"event": "minecraft:remove_raid_trigger", | ||
"target": "self" | ||
} | ||
}, | ||
"minecraft:spell_effects": { | ||
"remove_effects": "bad_omen" | ||
} | ||
} | ||
}, | ||
"components": { | ||
"minecraft:experience_reward": { | ||
"on_death": "Math.Min(query.player_level * 7, 100)" | ||
}, | ||
"minecraft:type_family": { | ||
"family": [ | ||
"player" | ||
] | ||
}, | ||
"minecraft:is_hidden_when_invisible": {}, | ||
"minecraft:loot": { | ||
"table": "loot_tables/empty.json" | ||
}, | ||
"minecraft:collision_box": { | ||
"width": 0.6, | ||
"height": 1.8 | ||
}, | ||
"minecraft:can_climb": {}, | ||
"minecraft:movement": { | ||
"value": 0.1 | ||
}, | ||
"minecraft:hurt_on_condition": { | ||
"damage_conditions": [ | ||
{ | ||
"filters": { | ||
"test": "in_lava", | ||
"subject": "self", | ||
"operator": "==", | ||
"value": true | ||
}, | ||
"cause": "lava", | ||
"damage_per_tick": 4 | ||
} | ||
] | ||
}, | ||
"minecraft:attack": { | ||
"damage": 1 | ||
}, | ||
"minecraft:exhaustion_values": { | ||
"heal": 6, | ||
"jump": 0.05, | ||
"sprint_jump": 0.2, | ||
"mine": 0.005, | ||
"attack": 0.1, | ||
"damage": 0.1, | ||
"walk": 0, | ||
"sprint": 0.01, | ||
"swim": 0.01 | ||
}, | ||
"minecraft:player.saturation": { | ||
"value": 5, | ||
"max": 20 | ||
}, | ||
"minecraft:player.exhaustion": { | ||
"value": 0, | ||
"max": 20 | ||
}, | ||
"minecraft:player.level": { | ||
"value": 0, | ||
"max": 24791 | ||
}, | ||
"minecraft:player.experience": { | ||
"value": 0, | ||
"max": 1 | ||
}, | ||
"minecraft:breathable": { | ||
"total_supply": 15, | ||
"suffocate_time": -1, | ||
"inhale_time": 3.75, | ||
"generates_bubbles": false | ||
}, | ||
"minecraft:nameable": { | ||
"always_show": true, | ||
"allow_name_tag_renaming": false | ||
}, | ||
"minecraft:physics": {}, | ||
"minecraft:pushable": { | ||
"is_pushable": false, | ||
"is_pushable_by_piston": true | ||
}, | ||
"minecraft:insomnia": { | ||
"days_until_insomnia": 3 | ||
}, | ||
"minecraft:rideable": { | ||
"seat_count": 2, | ||
"family_types": [ | ||
"parrot_tame" | ||
], | ||
"pull_in_entities": true, | ||
"seats": [ | ||
{ | ||
"position": [ | ||
0.4, | ||
-0.2, | ||
-0.1 | ||
], | ||
"min_rider_count": 0, | ||
"max_rider_count": 0, | ||
"lock_rider_rotation": 0 | ||
}, | ||
{ | ||
"position": [ | ||
-0.4, | ||
-0.2, | ||
-0.1 | ||
], | ||
"min_rider_count": 1, | ||
"max_rider_count": 2, | ||
"lock_rider_rotation": 0 | ||
} | ||
] | ||
}, | ||
"minecraft:conditional_bandwidth_optimization": {}, | ||
"minecraft:block_climber": {}, | ||
"minecraft:environment_sensor": { | ||
"triggers": { | ||
"filters": { | ||
"all_of": [ | ||
{ | ||
"test": "has_mob_effect", | ||
"subject": "self", | ||
"value": "bad_omen" | ||
}, | ||
{ | ||
"test": "is_in_village", | ||
"subject": "self", | ||
"value": true | ||
} | ||
] | ||
}, | ||
"event": "minecraft:trigger_raid" | ||
} | ||
} | ||
}, | ||
"events": { | ||
"minecraft:gain_bad_omen": { | ||
"add": { | ||
"component_groups": [ | ||
"minecraft:add_bad_omen" | ||
] | ||
} | ||
}, | ||
"minecraft:clear_add_bad_omen": { | ||
"remove": { | ||
"component_groups": [ | ||
"minecraft:add_bad_omen" | ||
] | ||
}, | ||
"add": { | ||
"component_groups": [ | ||
"minecraft:clear_bad_omen_spell_effect" | ||
] | ||
} | ||
}, | ||
"minecraft:trigger_raid": { | ||
"add": { | ||
"component_groups": [ | ||
"minecraft:raid_trigger" | ||
] | ||
} | ||
}, | ||
"minecraft:remove_raid_trigger": { | ||
"remove": { | ||
"component_groups": [ | ||
"minecraft:raid_trigger" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"format_version": 2, | ||
"header": { | ||
"description": "Multiplayer compatible one-player sleep v2.2 by AvgZing, death counter addition by RavinMaddHatter.", | ||
"name": "AvgZing 1-Player Sleep + Death Counter", | ||
"uuid": "107c45e9-0e6a-465a-83a7-3203229ab807", | ||
"version": [ | ||
2, | ||
2, | ||
1 | ||
], | ||
"min_engine_version": [ | ||
1, | ||
18, | ||
10 | ||
] | ||
}, | ||
"modules": [ | ||
{ | ||
"type": "data", | ||
"uuid": "851782bb-5b70-41cd-bb34-6e198304afd3", | ||
"version": [ | ||
2, | ||
2, | ||
1 | ||
] | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.