-
-
Notifications
You must be signed in to change notification settings - Fork 68
Orb of Ankou 1.21.5 #1128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Orb of Ankou 1.21.5 #1128
Changes from 9 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
6725ac7
fix attribute-based pneumas
BPR02 5a82789
fix blasting
BPR02 aabf756
fix dashing by using player motion library
BPR02 bdd533c
fix feigning jump
BPR02 40f1675
use attribute for agile
BPR02 083248b
fix typo in comment
BPR02 7ac8c78
fix pricking
BPR02 7fa574d
fix soaring
BPR02 ec00ea4
make shard and orb equippable into offhand
BPR02 af067dc
fix beet.yaml formatting
BPR02 c7293af
add loot tables for shards
BPR02 de76924
add smithed item ignore functionality
BPR02 0c96752
refactor some entity functions
BPR02 0339f55
fix spawn positions of entities
BPR02 16621c3
restore orb based on shard loot tables
BPR02 cfa4a97
set max stack size of shards and orb to 1
BPR02 79247dd
fix formatting
BPR02 0803577
fix function rename
BPR02 73243ae
fix weapon.mainhand slot call for loot command
BPR02 19ba211
keep pneuma order intact when restoring an orb
BPR02 1569383
fix congealed shard data
BPR02 8faeea8
implement lib_player_motion
BPR02 8460a2e
Merge branch 'update-1.21.5' into ooa-1.21.5
BPR02 a7a7451
implement custom version of player motion
BPR02 043e584
fix ooa to use proper player motion version
BPR02 8a45310
prevent wither rose particle from generating on obsidian
BPR02 f260674
update random position to use random command and macro
BPR02 f8862ea
Move original player motion license to main license
BPR02 b97a30c
properly remove rose particle markers
BPR02 ffcbc32
properly kill striding markers
BPR02 91a4b35
make items fire resistant
BPR02 bd97676
fix withering pneuma
BPR02 ef370f8
fix expeditious
BPR02 8f0341e
fix soaring
BPR02 3c6316e
actually fix soaring
BPR02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
5 changes: 0 additions & 5 deletions
5
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/agile.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
26 changes: 12 additions & 14 deletions
26
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/dashing/prepare.mcfunction
This file contains hidden or 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 |
|---|---|---|
| @@ -1,25 +1,23 @@ | ||
| # @s = player with dashing pneuma who stopped sneaking | ||
| # run from pneumas/sneak/stopped | ||
|
|
||
| execute rotated ~ 0 if block ^ ^0.9 ^.1 #gm4:no_collision if block ^ ^0.5 ^1.1 #gm4:no_collision run summon armor_stand ^ ^0.5 ^1 {Invisible:1b,Small:1b,Invulnerable:1b,CustomName:"Dashing Stand",Tags:["gm4_oa_dasher","gm4_oa_new_dasher","smithed.entity","smithed.strict"],attributes:[{id:"minecraft:max_health",base:1.0}]} | ||
| execute rotated ~ 0 if block ^ ^0.9 ^.1 #gm4:no_collision if block ^ ^0.5 ^1.1 #gm4:no_collision run summon marker ^ ^0.5 ^1 {CustomName:"Dashing Vector",Tags:["gm4_oa_dash_vector"]} | ||
| scoreboard players operation $current gm4_oa_id = @s gm4_oa_id | ||
|
|
||
| # store player pos | ||
| data modify storage gm4_oa_dashing:temp Pos set from entity @s Pos | ||
| execute store result score $target_x gm4_pneuma_data run data get storage gm4_oa_dashing:temp Pos[0] 100 | ||
| execute store result score $target_z gm4_pneuma_data run data get storage gm4_oa_dashing:temp Pos[2] 100 | ||
| execute store result score $target_x gm4_pneuma_data run data get storage gm4_oa_dashing:temp Pos[0] 1000 | ||
| execute store result score $target_z gm4_pneuma_data run data get storage gm4_oa_dashing:temp Pos[2] 1000 | ||
|
|
||
| # store sneak count | ||
| execute if score @s gm4_oa_snk_num matches 10..19 run scoreboard players set $multiplier gm4_pneuma_data 1 | ||
| execute if score @s gm4_oa_snk_num matches 20..39 run scoreboard players set $multiplier gm4_pneuma_data 2 | ||
| execute if score @s gm4_oa_snk_num matches 40..59 run scoreboard players set $multiplier gm4_pneuma_data 3 | ||
| execute if score @s gm4_oa_snk_num matches 60.. run scoreboard players set $multiplier gm4_pneuma_data 4 | ||
| execute if score @s gm4_oa_snk_num matches 10..19 run scoreboard players set $multiplier gm4_pneuma_data 8 | ||
| execute if score @s gm4_oa_snk_num matches 20..39 run scoreboard players set $multiplier gm4_pneuma_data 14 | ||
| execute if score @s gm4_oa_snk_num matches 40..59 run scoreboard players set $multiplier gm4_pneuma_data 18 | ||
| execute if score @s gm4_oa_snk_num matches 60.. run scoreboard players set $multiplier gm4_pneuma_data 24 | ||
|
|
||
| # give armor stand motion | ||
| ride @s mount @e[type=armor_stand,tag=gm4_oa_new_dasher,distance=..3,limit=1] | ||
| execute as @e[type=armor_stand,tag=gm4_oa_new_dasher,distance=..3,limit=1] at @s run function gm4_orb_of_ankou:pneumas/dashing/set_motion | ||
| tag @e[type=armor_stand,tag=gm4_oa_new_dasher,distance=..3,limit=1] remove gm4_oa_new_dasher | ||
| playsound minecraft:entity.player.small_fall player @a[distance=..8] ~ ~ ~ 0.7 0.6 | ||
| # set motion | ||
| tag @s add gm4_oa_dasher | ||
| execute as @e[type=marker,tag=gm4_oa_dash_vector,distance=..3,limit=1] run function gm4_orb_of_ankou:pneumas/dashing/set_motion | ||
| tag @s remove gm4_oa_dasher | ||
|
|
||
| # keep player on dash trajectory | ||
| schedule function gm4_orb_of_ankou:pneumas/dashing/temp_tick 1t | ||
| playsound minecraft:entity.player.small_fall player @a[distance=..8] ~ ~ ~ 0.7 0.6 |
This file contains hidden or 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
9 changes: 0 additions & 9 deletions
9
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/dashing/temp_tick.mcfunction
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/dashing/update_dasher.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
6 changes: 3 additions & 3 deletions
6
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/soaring/apply.mcfunction
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/soaring/ascend.mcfunction
This file contains hidden or 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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # @s = player with soaring pneuma looking up | ||
| # run from pneumas/soaring/apply | ||
|
|
||
| effect clear @s levitation | ||
| tag @s remove gm4_oa_soaring_idle | ||
| effect give @s levitation 2 3 true |
7 changes: 0 additions & 7 deletions
7
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/soaring/back.mcfunction
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/soaring/damaged.mcfunction
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/soaring/descend.mcfunction
This file contains hidden or 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,5 @@ | ||
| # @s = player with soaring pneuma looking down | ||
| # run from pneumas/soaring/apply | ||
|
|
||
| tag @s remove gm4_oa_soaring_idle | ||
| attribute @s minecraft:gravity modifier remove gm4_orb_of_ankou:soaring_gravity |
This file contains hidden or 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
5 changes: 5 additions & 0 deletions
5
...of_ankou/data/gm4_orb_of_ankou/function/pneumas/soaring/remove_fall_protection.mcfunction
This file contains hidden or 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,5 @@ | ||
| # @s = player that was previously soaring, and has landed | ||
| # run from main | ||
|
|
||
| tag @s remove gm4_oa_soaring_off_ground | ||
| attribute @s minecraft:fall_damage_multiplier modifier remove gm4_orb_of_ankou:soaring_fall_protection |
This file contains hidden or 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
6 changes: 0 additions & 6 deletions
6
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/temp_tick/agile.mcfunction
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/temp_tick/soaring_damaged.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.