Skip to content

Commit 2f689b0

Browse files
authored
Orb of Ankou 1.21.5 (#1128)
* fix attribute-based pneumas * fix blasting * fix dashing by using player motion library * fix feigning jump * use attribute for agile NOTE: breaks old agile items, need an upgrade path * fix typo in comment * fix pricking NOTE: breaks old pricking soul essence * fix soaring * make shard and orb equippable into offhand * fix beet.yaml formatting * add loot tables for shards * add smithed item ignore functionality * refactor some entity functions - inline functions that aren't called from multiple places - use random - shard and essence entities grab loot table item instead of copying exact item (to act as an upgrade path) - TODO: orb upgrade path using data from shard loot tables * fix spawn positions of entities * restore orb based on shard loot tables * set max stack size of shards and orb to 1 * fix formatting * fix function rename * fix weapon.mainhand slot call for loot command * keep pneuma order intact when restoring an orb * fix congealed shard data * implement lib_player_motion - adds the player motion library as a namespaced and versioned GM4 library with proper call function tags * implement custom version of player motion - basically a fork that is renamespaced, version-checked, and uses the GM4 forceloaded chunk - licensing might not be correct in the release download * fix ooa to use proper player motion version * prevent wither rose particle from generating on obsidian * update random position to use random command and macro * Move original player motion license to main license * properly remove rose particle markers * properly kill striding markers * make items fire resistant * fix withering pneuma * fix expeditious * fix soaring * actually fix soaring - no longer need to look up for the first no-gravity - picking up or dropping items no longer resets the no-gravity - first sneak when equipping will activate the no-gravity
1 parent fbb193f commit 2f689b0

169 files changed

Lines changed: 3182 additions & 2225 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

gm4/contributors.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,9 @@
130130
{
131131
"name": "Venomousbirds",
132132
"links": ["https://venomousbirds.artstation.com/"]
133+
},
134+
{
135+
"name": "MulverineX",
136+
"links": ["https://modrinth.com/user/MulverineX"]
133137
}
134138
]

gm4_orb_of_ankou/beet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ pipeline:
1616
- gm4_metallurgy.shamir_model_template
1717
- gm4.plugins.extend.module
1818
- gm4.plugins.include.lib_custom_crafters
19+
- gm4.plugins.include.lib_player_motion
1920

2021
meta:
2122
gm4:
2223
versioning:
2324
required:
2425
gm4_metallurgy: 1.5.0
2526
lib_custom_crafters: 3.4.0
27+
lib_player_motion: 1.0.0
2628
schedule_loops:
2729
- main
2830
- tick

gm4_orb_of_ankou/data/gm4_orb_of_ankou/advancement/triggers/shoot_crossbow.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,7 @@
22
"criteria": {
33
"crossbow_shot": {
44
"trigger": "minecraft:shot_crossbow",
5-
"conditions": {
6-
"item": {
7-
"components": {
8-
"minecraft:charged_projectiles": [
9-
{
10-
"id": "minecraft:arrow"
11-
}
12-
]
13-
}
14-
}
15-
}
5+
"conditions": {}
166
}
177
},
188
"rewards": {

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/init.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ scoreboard objectives add gm4_oa_snk_num dummy
2121
scoreboard objectives add gm4_oa_marker dummy
2222
scoreboard objectives add gm4_oa_feign_t dummy
2323
scoreboard objectives add gm4_oa_sniff dummy
24+
scoreboard objectives add gm4_oa_jump_stop dummy
2425
scoreboard objectives add gm4_health health
2526
scoreboard objectives add gm4_oa_sneak minecraft.custom:minecraft.sneak_time
2627
scoreboard objectives add gm4_oa_swim minecraft.custom:minecraft.swim_one_cm

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/main.mcfunction

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ effect give @a[gamemode=!spectator,tag=gm4_pneuma_gliding,scores={gm4_oa_swim=1.
1010
scoreboard players reset @a gm4_oa_swim
1111

1212
# soaring
13-
tag @a[tag=gm4_oa_soaring_off_ground,nbt={OnGround:1b}] remove gm4_oa_soaring_off_ground
14-
effect give @a[gamemode=!spectator,tag=gm4_oa_soaring_off_ground] jump_boost 2 255 true
13+
execute as @a[tag=gm4_oa_soaring_off_ground,nbt={OnGround:1b}] run function gm4_orb_of_ankou:pneumas/soaring/remove_fall_protection
1514

1615
# sniffing
1716
scoreboard players remove @a[scores={gm4_oa_sniff=1..}] gm4_oa_sniff 1

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/player.mcfunction

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ execute at @s[tag=gm4_pneuma_synergetic] run function gm4_orb_of_ankou:pneumas/s
1010
# soaring
1111
execute at @s[tag=gm4_oa_soaring_active] run function gm4_orb_of_ankou:pneumas/soaring/apply
1212

13+
# disable jump revert
14+
scoreboard players remove @a[scores={gm4_oa_jump_stop=1..}] gm4_oa_jump_stop 1
15+
execute as @a[scores={gm4_oa_jump_stop=1}] run attribute @s minecraft:jump_strength modifier remove gm4_orb_of_ankou:prevent_jump

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/advancement_triggers/player_damaged.mcfunction

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ effect give @s[tag=gm4_pneuma_aggressive] strength 3 1 true
1010
execute if entity @s[tag=gm4_pneuma_volatile] run function gm4_orb_of_ankou:pneumas/volatile
1111

1212
execute if entity @s[tag=gm4_pneuma_feigning,scores={gm4_health=..10}] run function gm4_orb_of_ankou:pneumas/feigning/apply
13-
14-
execute if entity @s[tag=gm4_oa_soaring_off_ground] run function gm4_orb_of_ankou:pneumas/soaring/damaged

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/advancement_triggers/shot_crossbow.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# run from advancement "trigers/shoot_crossbow"
33

44
advancement revoke @s only gm4_orb_of_ankou:triggers/shoot_crossbow
5-
execute if entity @s[tag=gm4_pneuma_blasting,nbt={Inventory:[{id:"minecraft:blaze_powder"}]}] run function gm4_orb_of_ankou:pneumas/blasting
5+
execute if entity @s[tag=gm4_pneuma_blasting,nbt={Inventory:[{id:"minecraft:blaze_powder"}]}] if entity @e[type=minecraft:arrow,limit=1,distance=..2] run function gm4_orb_of_ankou:pneumas/blasting

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/agile.mcfunction

Lines changed: 0 additions & 5 deletions
This file was deleted.

gm4_orb_of_ankou/data/gm4_orb_of_ankou/function/pneumas/blasting.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# run from advancement_triggers/shoot_crossbow
33

44
# summon fireball at player's location
5-
summon minecraft:small_fireball ~ ~1 ~ {Tags:["gm4_oa_fireball"],power:[0.0,0.0,0.0],Motion:[0.0,0.0,0.0]}
5+
summon minecraft:small_fireball ~ ~1 ~ {Tags:["gm4_oa_fireball"],Motion:[0.0,0.0,0.0]}
66

77
# copy motion of arrow to fireball
8-
data modify entity @e[type=small_fireball,tag=gm4_oa_fireball,distance=..2,limit=1] power set from entity @e[type=minecraft:arrow,limit=1,distance=..2] Motion
8+
data modify entity @e[type=small_fireball,tag=gm4_oa_fireball,distance=..2,limit=1] Motion set from entity @e[type=minecraft:arrow,limit=1,distance=..2] Motion
99
kill @e[type=arrow,distance=..2,limit=1]
1010

1111
# clear blaze powder from player

0 commit comments

Comments
 (0)