This repository was archived by the owner on Oct 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
3a5442c
commit aed1425
Showing
29 changed files
with
1,077 additions
and
16 deletions.
There are no files selected for viewing
Empty file.
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,13 @@ | ||
{ | ||
"author": "Chikorita-Lover", | ||
"name": "Skeleton Preset", | ||
"version": "1.0.0", | ||
"id": "1be48056-4767-442c-a145-eb45f4df7fc1", | ||
"description": "Adds a skeleton preset.", | ||
"api_version": 2, | ||
"target": "v2", | ||
"tags": [ | ||
"Presets" | ||
], | ||
"releaseTimestamp": 1615227999474 | ||
} |
16 changes: 16 additions & 0 deletions
16
.bridge/extensions/SkeletonPreset/presets/skeleton/animation.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,16 @@ | ||
{ | ||
"format_version" : "1.8.0", | ||
"animations" : { | ||
"animation.{{IDENTIFIER}}.attack" : { | ||
"loop" : true, | ||
"bones" : { | ||
"leftarm" : { | ||
"rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0))", "5.73 - math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ] | ||
}, | ||
"rightarm" : { | ||
"rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0))", "-5.73 + math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.bridge/extensions/SkeletonPreset/presets/skeleton/animation_controller.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,13 @@ | ||
{ | ||
"format_version" : "1.10.0", | ||
"animation_controllers" : { | ||
"controller.animation.{{IDENTIFIER}}.attack" : { | ||
"initial_state" : "default", | ||
"states" : { | ||
"default" : { | ||
"animations" : [ "skeleton_attack" ] | ||
} | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
.bridge/extensions/SkeletonPreset/presets/skeleton/client_entity.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,63 @@ | ||
{ | ||
"format_version": "1.8.0", | ||
"minecraft:client_entity": { | ||
"description": { | ||
"identifier": "{{PROJECT_PREFIX}}:{{IDENTIFIER}}", | ||
"materials": { | ||
"default": "skeleton" | ||
}, | ||
"textures": { | ||
"default": "textures/entity/{{IDENTIFIER}}" | ||
}, | ||
"geometry": { | ||
"default": "geometry.{{IDENTIFIER}}" | ||
}, | ||
"spawn_egg": { | ||
"texture": "egg_{{IDENTIFIER}}", | ||
"texture_index": 0 | ||
}, | ||
"scripts": { | ||
"pre_animation": [ | ||
"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" | ||
] | ||
}, | ||
"animations": { | ||
"look_at_target_default": "animation.humanoid.look_at_target.default", | ||
"look_at_target_gliding": "animation.humanoid.look_at_target.gliding", | ||
"look_at_target_swimming": "animation.humanoid.look_at_target.swimming", | ||
"move": "animation.humanoid.move", | ||
"riding.arms": "animation.humanoid.riding.arms", | ||
"riding.legs": "animation.humanoid.riding.legs", | ||
"holding": "animation.humanoid.holding", | ||
"brandish_spear": "animation.humanoid.brandish_spear", | ||
"charging": "animation.humanoid.charging", | ||
"attack.rotations": "animation.humanoid.attack.rotations", | ||
"sneaking": "animation.humanoid.sneaking", | ||
"bob": "animation.humanoid.bob", | ||
"damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", | ||
"bow_and_arrow": "animation.humanoid.bow_and_arrow", | ||
"swimming": "animation.zombie.swimming", | ||
"use_item_progress": "animation.humanoid.use_item_progress", | ||
"skeleton_attack": "animation.{{IDENTIFIER}}.attack" | ||
}, | ||
"animation_controllers": [ | ||
{ "look_at_target": "controller.animation.humanoid.look_at_target" }, | ||
{ "move": "controller.animation.humanoid.move" }, | ||
{ "riding": "controller.animation.humanoid.riding" }, | ||
{ "holding": "controller.animation.humanoid.holding" }, | ||
{ "brandish_spear": "controller.animation.humanoid.brandish_spear" }, | ||
{ "charging": "controller.animation.humanoid.charging" }, | ||
{ "attack": "controller.animation.humanoid.attack" }, | ||
{ "sneaking": "controller.animation.humanoid.sneaking" }, | ||
{ "bob": "controller.animation.humanoid.bob" }, | ||
{ "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, | ||
{ "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, | ||
{ "swimming": "controller.animation.zombie.swimming" }, | ||
{ "use_item_progress": "controller.animation.humanoid.use_item_progress" }, | ||
{ "skeleton_attack": "controller.animation.{{IDENTIFIER}}.attack" } | ||
], | ||
"render_controllers": [ "controller.render.{{IDENTIFIER}}" ], | ||
"enable_attachables": true | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
.bridge/extensions/SkeletonPreset/presets/skeleton/en_US.lang
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,2 @@ | ||
item.spawn_egg.entity.{{PROJECT_PREFIX}}:{{IDENTIFIER}}.name=Spawn {{IDENTIFIER_NAME}} | ||
entity.{{PROJECT_PREFIX}}:{{IDENTIFIER}}.name={{IDENTIFIER_NAME}} |
Oops, something went wrong.