Skip to content

Commit

Permalink
Update v1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KurojakiKaoru committed Jun 12, 2022
1 parent 681c5b1 commit 4421340
Show file tree
Hide file tree
Showing 874 changed files with 54,811 additions and 15,813 deletions.
34 changes: 34 additions & 0 deletions animation_controllers/allay.animation_controllers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.allay.general": {
"initial_state": "idling",
"states": {
"idling": {
"animations": [ "idle" ],
"transitions": [
{ "flying": "query.modified_move_speed > 0.2"}
],
"blend_transition": 0.2
},
"flying": {
"animations": [ "fly" ],
"transitions": [
{ "idling": "query.modified_move_speed < 0.2"}
],
"blend_transition": 0.2
}
}
},
"controller.animation.allay.holding": {
"initial_state": "holding",
"states": {
"holding": {
"animations": [
{ "hold_item": "variable.is_holding_left || variable.is_holding_right" }
]
}
}
}
}
}
5 changes: 3 additions & 2 deletions animation_controllers/fox.animation_controllers.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"walk" : "query.modified_move_speed"
}
],
"transitions" : [
"blend_transition": 2.0,
"transitions": [
{
"default" : "query.is_on_ground"
}
Expand Down Expand Up @@ -102,7 +103,7 @@
"blend_transition" : 0.2,
"transitions" : [
{
"default" : "query.is_on_ground && !query.is_interested && !query.is_stalking"
"default": "!query.has_target && query.is_on_ground"
},
{
"crouch" : "query.is_on_ground && !query.is_interested && query.is_stalking"
Expand Down
81 changes: 81 additions & 0 deletions animation_controllers/frog.animation_controllers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.frog.general": {
"initial_state": "on_land",
"states": {
"on_land": {
"animations": [
{ "walk": "math.min(1.0, query.modified_move_speed * 10)" }
],
"transitions": [
{ "idling_water": "query.is_in_water && query.modified_move_speed < 0.15" },
{ "swimming": "query.is_in_water && query.modified_move_speed > 0.15" },
{ "jumping": "query.is_jump_goal_jumping"}
]
},
"jumping": {
"animations": [
{ "jump": "query.is_jump_goal_jumping" }
],
"transitions": [
{ "on_land": "!query.is_in_water && !query.is_jump_goal_jumping" },
{ "idling_water": "query.is_in_water && query.modified_move_speed < 0.15" },
{ "swimming": "query.is_in_water && query.modified_move_speed > 0.15" }
]

},
"idling_water": {
"animations": [
"idle_water"
],
"transitions": [
{ "on_land": "!query.is_in_water" },
{ "swimming": "query.is_in_water && query.modified_move_speed > 0.15" }
]
},
"swimming": {
"animations": [
{ "swim": "math.min(1.0, query.modified_move_speed * 10)" }
],
"transitions": [
{ "on_land": "!query.is_in_water" },
{ "idling_water": "query.is_in_water && query.modified_move_speed < 0.15" }
]
}
}
},
"controller.animation.frog.eat_mob": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{ "eating": "query.is_eating_mob" }
]
},
"eating": {
"animations": [ "tongue" ],
"transitions": [
{ "default": "!query.is_eating_mob" }
]
}
}
},
"controller.animation.frog.croaking": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{ "croaking": "query.is_croaking" }
]
},
"croaking": {
"animations": [ "croak" ],
"transitions": [
{ "default": "!query.is_croaking || query.is_eating_mob" }
]
}
}
}
}
}
9 changes: 7 additions & 2 deletions animation_controllers/player.animation_controllers.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@
"states" : {
"first_person" : {
"animations" : [
"first_person_swap_item",
{
"first_person_swap_item": "!query.blocking"
},
{
"first_person_shield_block": "query.blocking"
},
{
"first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'map'"
},
Expand Down Expand Up @@ -209,7 +214,7 @@
"swimming.legs" : "variable.swim_amount > 0.0"
},
{
"use_item_progress" : "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 ) && !variable.is_brandishing_spear && !variable.is_holding_spyglass"
"use_item_progress": "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 ) && !variable.is_brandishing_spear && !variable.is_holding_spyglass && !query.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow')"
},
{
"sleeping" : "query.is_sleeping && query.is_alive"
Expand Down
7 changes: 5 additions & 2 deletions animation_controllers/shield.animation_controllers.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@
"blocking": {
"animations": [
{
"wield_main_hand_first_person_block": "query.get_equipped_item_name('off_hand') != 'shield' && query.get_equipped_item_name == 'shield' && c.item_slot == 'main_hand'"
"wield_main_hand_first_person": "!variable.is_blocking_main_hand && c.item_slot == 'main_hand'"
},
{
"wield_off_hand_first_person_block": "query.get_equipped_item_name('off_hand') == 'shield' && c.item_slot != 'main_hand'"
"wield_main_hand_first_person_block": "variable.is_blocking_main_hand && c.item_slot == 'main_hand'"
},
{
"wield_off_hand_first_person_block": "variable.is_blocking_off_hand && c.item_slot == 'off_hand'"
}
],
"transitions": [
Expand Down
15 changes: 15 additions & 0 deletions animation_controllers/tadpole.animation_controllers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.tadpole.general": {
"initial_state": "default",
"states": {
"default": {
"animations": [
{ "swim": "math.min(1.0, query.modified_move_speed * 10)" }
]
}
}
}
}
}
125 changes: 125 additions & 0 deletions animation_controllers/warden.animation_controllers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"format_version" : "1.10.0",
"animation_controllers" : {
"controller.animation.warden.shiver" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"shiver" : "variable.tendril_animation > 0"
}
]
},
"shiver" : {
"animations" : [ "shiver" ],
"transitions" : [
{
"default" : "variable.tendril_animation <= 0"
}
]
}
}
},
"controller.animation.warden.hurt" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"hurting" : "query.hurt_time > 0"
}
]
},
"hurting" : {
"animations" : [ "hurt" ],
"transitions" : [
{
"default" : "query.hurt_time <= 0"
}
]
}
}
},
"controller.animation.warden.sniff" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"sniff" : "query.is_sniffing"
}
]
},
"sniff" : {
"animations" : [ "sniff" ],
"transitions" : [
{
"default" : "!query.is_sniffing"
}
]
}
}
},
"controller.animation.warden.roar" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"roar" : "query.is_roaring"
}
]
},
"roar" : {
"animations" : [ "roar" ],
"transitions" : [
{
"default" : "!query.is_roaring"
}
]
}
}
},
"controller.animation.warden.melee_attacking" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"attack" : "variable.attack_time > 0.0"
}
]
},
"attack" : {
"animations" : [ "melee_attack" ],
"transitions" : [
{
"default" : "variable.attack_time <= 0.0"
}
]
}
}
},
"controller.animation.warden.sonic_boom" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"sonic_attack" : "query.is_sonic_boom"
}
]
},
"sonic_attack" : {
"animations" : [ "sonic_boom" ],
"transitions" : [
{
"default" : "!query.is_sonic_boom"
}
]
}
}
}
}
}
Loading

0 comments on commit 4421340

Please sign in to comment.