Skip to content

Commit 02250b4

Browse files
committed
Swimming up with the wetsuit actually gives upward gravity instead of downward
1 parent 3d028d3 commit 02250b4

File tree

21 files changed

+56
-36
lines changed

21 files changed

+56
-36
lines changed

gm4/modeldata_registry.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,6 @@
949949
"leather_boots": {
950950
"gm4_boots_of_ostara:item/boots_of_ostara": 1,
951951
"gm4_boots_of_ostara:gui/advancement/boots_of_ostara": 3,
952-
"gm4_boots_of_ostara:item/flippers_of_ostara": 4,
953952
"gm4_boots_of_ostara:guidebook_icon/boots_of_ostara": 5,
954953
"gm4_weighted_armour:shamir/helious": 103,
955954
"gm4_metallurgy:shamir/defuse": 106,

gm4_boots_of_ostara/assets/translations.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ advancement.gm4.boots_of_ostara.description,Wear the Boots of Ostara
33
advancement.gm4.boots_of_ostara.title,Green Feet
44
item.gm4.boots_of_ostara,Boots of Ostara
55
item.gm4.boots_of_ostara.lore,Brings abundance beneath you!
6-
item.gm4.flippers_of_ostara,Flippers of Ostara
76
text.gm4.guidebook.module_desc.boots_of_ostara,"A pair of boots every gardener would love to have! Boots of Ostara allow you to easily spread Grass and Moss, and they even stop the Desire Lines module from creating that pesky dirt."
87
text.gm4.guidebook.boot_of_ostara.description,Boots of Ostara can be crafted to aid in the spreading of grass and moss.\n\nThe boots can be crafted in a Custom Crafter.
98
text.gm4.guidebook.boots_of_ostara.crafting,The recipe for the Boots of Ostara is as follows:

gm4_boots_of_ostara/beet.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ meta:
2323
template: generated_overlay
2424
broadcast:
2525
- reference: item/boots_of_ostara
26-
- reference: item/flippers_of_ostara
2726
- item: leather_boots
2827
reference: gui/advancement/boots_of_ostara
2928
template:

gm4_scuba_gear/data/gm4_scuba_gear/enchantment/flippers.json

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"description": "",
3-
"exclusive_set": "minecraft:depth_strider",
43
"supported_items": "minecraft:leather_boots",
54
"weight": 1,
65
"max_level": 1,
@@ -19,22 +18,40 @@
1918
"effects": {
2019
"minecraft:location_changed": [
2120
{
22-
"requirements": [
23-
{
24-
"condition": "minecraft:inverted",
25-
"term": {
26-
"condition": "minecraft:entity_properties",
27-
"entity": "this",
28-
"predicate": {
29-
"location": {
30-
"fluid": {
31-
"fluids": "#minecraft:water"
32-
}
21+
"requirements": {
22+
"condition": "minecraft:entity_properties",
23+
"entity": "this",
24+
"predicate": {
25+
"location": {
26+
"fluid": {
27+
"fluids": "#minecraft:water"
28+
}
29+
}
30+
}
31+
},
32+
"effect": {
33+
"type": "minecraft:attribute",
34+
"attribute": "minecraft:movement_speed",
35+
"id": "gm4_scuba_gear:flippers/on_land",
36+
"amount": 0.25,
37+
"operation": "add_multiplied_base"
38+
}
39+
},
40+
{
41+
"requirements": {
42+
"condition": "minecraft:inverted",
43+
"term": {
44+
"condition": "minecraft:entity_properties",
45+
"entity": "this",
46+
"predicate": {
47+
"location": {
48+
"fluid": {
49+
"fluids": "#minecraft:water"
3350
}
3451
}
3552
}
3653
}
37-
],
54+
},
3855
"effect": {
3956
"type": "minecraft:attribute",
4057
"attribute": "minecraft:movement_speed",

gm4_scuba_gear/data/gm4_scuba_gear/function/wetsuit_buoyancy/positive.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# located at @s, in water
44
# run from enchant, gm4_scuba_gear:enchantment/wetsuit
55

6-
item modify entity @s armor.legs gm4_scuba_gear:wetsuit_buoyancy/negative
6+
item modify entity @s armor.legs gm4_scuba_gear:wetsuit_buoyancy/positive
77

88
scoreboard players set @s gm4_sg_buoyancy 1

gm4_scuba_gear/data/gm4_scuba_gear/gm4_recipes/flippers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"output": {
1818
"result": {
1919
"type": "loot_table",
20-
"name": "gm4_scuba_gear:items/flippers",
20+
"name": "gm4_scuba_gear:item/flippers",
2121
"count": 1,
2222
"guidebook": {
2323
"display_color": 2367281

gm4_scuba_gear/data/gm4_scuba_gear/gm4_recipes/scuba_helmet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"output": {
1818
"result": {
1919
"type": "loot_table",
20-
"name": "gm4_scuba_gear:items/scuba_helmet",
20+
"name": "gm4_scuba_gear:item/scuba_helmet",
2121
"count": 1
2222
}
2323
}

gm4_scuba_gear/data/gm4_scuba_gear/gm4_recipes/scuba_tank.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"type": "normal",
2222
"result": {
2323
"type": "loot_table",
24-
"name": "gm4_scuba_gear:items/scuba_tank",
24+
"name": "gm4_scuba_gear:item/scuba_tank",
2525
"count": 1
2626
}
2727
}

gm4_scuba_gear/data/gm4_scuba_gear/gm4_recipes/wetsuit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"output": {
1919
"result": {
2020
"type": "loot_table",
21-
"name": "gm4_scuba_gear:items/wetsuit",
21+
"name": "gm4_scuba_gear:item/wetsuit",
2222
"count": 1,
2323
"guidebook": {
2424
"display_color": 2367281

gm4_scuba_gear/data/gm4_scuba_gear/loot_table/crafting/flippers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"entries": [
1616
{
1717
"type": "minecraft:loot_table",
18-
"value": "gm4_scuba_gear:items/flippers",
18+
"value": "gm4_scuba_gear:item/flippers",
1919
"functions": [
2020
{
2121
"function": "minecraft:set_count",

0 commit comments

Comments
 (0)