Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gm4_soul_glass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Beacons need a bit more corruption. This data pack reverses their effects<!--$pmc:headerSize-->

### Features
- Crafted by smelting Soul Sand in a Blast Furnace
- Crafted by smelting Soul Sand in a Furnace
- Applies an inverted effect when placed on-top of a Beacon
- Beacon power can be disabled by either moving the glass block or turning off the beacon
- For example: Speed becomes Slowness, Haste becomes Mining Fatigue
Expand Down
2 changes: 1 addition & 1 deletion gm4_soul_glass/assets/translations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ item.gm4.soul_glass,Soul Glass
advancement.gm4.soul_glass.title,Corruption at its Finest
advancement.gm4.soul_glass.description,Corrupt the effects of a beacon
text.gm4.guidebook.module_desc.soul_glass,"Reverse the effects of beacons with corrupting glass! But be careful, a poison Beacon may sound great at first, but is incredibly painful in pratice."
text.gm4.guidebook.soul_glass.description,"Soul Sand can be smelted in a blast furnace to get Soul Glass.\n\nWhen placed directly over a beacon, soul glass will corrupt the effects."
text.gm4.guidebook.soul_glass.description,"Soul Sand can be smelted in a furnace to get Soul Glass.\n\nWhen placed directly over a beacon, soul glass will corrupt the effects."
text.gm4.guidebook.soul_glass.usage,If soul glass is moved from its original location it will lose its properties.\n\nThe exception is moving it with a sticky piston up to one block away.
text.gm4.guidebook.soul_glass.corrupted_effects,Corrupted Effects:
2 changes: 1 addition & 1 deletion gm4_soul_glass/beet.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: gm4_soul_glass
name: Soul Glass
version: 1.5.X
version: 1.6.X

data_pack:
load: .
Expand Down
6 changes: 3 additions & 3 deletions gm4_soul_glass/data/gm4_soul_glass/function/main.mcfunction
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kill old blast furnace markers, remove this later
kill @e[type=marker,tag=gm4_sg_furnace]
schedule function gm4_soul_glass:main 16t

# process soul glass
execute as @e[type=marker,tag=gm4_soul_glass] at @s run function gm4_soul_glass:process

schedule function gm4_soul_glass:main 16t
# Kill old blast furnace markers, remove this later
kill @e[type=marker,tag=gm4_sg_furnace]
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
{
"translate": "text.gm4.guidebook.soul_glass.description",
"fallback": "Soul Sand can be smelted in a blast furnace to get Soul Glass.\n\nWhen placed directly over a beacon, soul glass will corrupt the effects."
"fallback": "Soul Sand can be smelted in a furnace to get Soul Glass.\n\nWhen placed directly over a beacon, soul glass will corrupt the effects."
}
]
]
Expand Down
2 changes: 1 addition & 1 deletion gm4_soul_glass/data/gm4_soul_glass/recipe/soul_glass.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"type": "minecraft:blasting",
"type": "minecraft:smelting",
"ingredient": "minecraft:soul_sand",
"result": {
"id": "minecraft:brown_stained_glass",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# @dummy ~1.5 ~1 ~0.5
# @timeout 900

item replace entity @s weapon.mainhand with blast_furnace
item replace entity @s weapon.mainhand with furnace
execute at @s run tp @s ~ ~ ~ facing ~ ~-1 ~1
dummy @s use block ~1 ~ ~1 up
assert block ~1 ~1 ~1 blast_furnace
assert block ~1 ~1 ~1 furnace

item replace block ~1 ~1 ~1 container.0 with soul_sand
item replace block ~1 ~1 ~1 container.1 with coal
Expand Down
Loading