-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
68 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 +1 @@ | ||
{"projectID":0,"modpackName":"Create Origin","modpackVersion":"3.0.2","useMetadata":false} | ||
{"projectID":0,"modpackName":"Create Origin","modpackVersion":"3.0.3","useMetadata":false} |
This file contains 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,3 +1,3 @@ | ||
title = 'Create Origin 3.0.2' | ||
title = 'Create Origin 3.0.3' | ||
icon16 = 'customwindowtitle/icon16.png' | ||
icon32 = 'customwindowtitle/icon32.png' |
4 changes: 4 additions & 0 deletions
4
...oader/data/CreateOriginModify/data/chunk_loaders/functions/create_chunk_loader.mcfunction
This file contains 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,4 @@ | ||
summon minecraft:item_frame ~ ~ ~ {Tags:["chuLoa.marker"],Fixed:1b,Invisible:1b,Facing:1b} | ||
particle minecraft:smoke ~0.5 ~0.5 ~0.5 0.4 0.4 0.4 0.02 150 | ||
playsound minecraft:block.respawn_anchor.charge block @a ~ ~ ~ 1 0.5 | ||
kill @s |
6 changes: 6 additions & 0 deletions
6
...ader/data/CreateOriginModify/data/chunk_loaders/functions/destroy_chunk_loader.mcfunction
This file contains 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,6 @@ | ||
forceload remove ~ ~ | ||
execute store result score #doTileDrops chuLoa.dummy run gamerule doTileDrops | ||
execute if score #doTileDrops chuLoa.dummy matches 1 run summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:nether_star",Count:1b},PickupDelay:10s} | ||
particle minecraft:smoke ~ ~0.5 ~ 0.25 0.25 0.25 0.02 150 | ||
playsound minecraft:block.respawn_anchor.deplete block @a ~ ~ ~ 1 0.5 | ||
kill @s |
1 change: 1 addition & 0 deletions
1
config/openloader/data/CreateOriginModify/data/chunk_loaders/functions/load.mcfunction
This file contains 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 @@ | ||
scoreboard objectives add chuLoa.dummy dummy |
3 changes: 3 additions & 0 deletions
3
config/openloader/data/CreateOriginModify/data/chunk_loaders/functions/schedule.mcfunction
This file contains 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,3 @@ | ||
schedule function chunk_loaders:schedule 1s | ||
execute as @e[type=minecraft:item] at @s positioned ~ ~-0.25 ~ if block ~ ~ ~ minecraft:lodestone align xyz unless entity @e[type=minecraft:item_frame,tag=chuLoa.marker,dx=0,dy=0,dz=0] if entity @s[nbt={Item:{id:"minecraft:nether_star",Count:1b}}] run function chunk_loaders:try_to_create_chunk_loader | ||
execute at @e[type=minecraft:item_frame,tag=chuLoa.marker] align xyz run particle minecraft:smoke ~0.5 ~0.5 ~0.5 0.25 0.25 0.25 0.02 4 |
2 changes: 2 additions & 0 deletions
2
config/openloader/data/CreateOriginModify/data/chunk_loaders/functions/tick.mcfunction
This file contains 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,2 @@ | ||
schedule function chunk_loaders:tick 1t | ||
execute as @e[type=minecraft:item_frame,tag=chuLoa.marker] at @s unless block ~ ~ ~ minecraft:lodestone run function chunk_loaders:destroy_chunk_loader |
3 changes: 3 additions & 0 deletions
3
...ata/CreateOriginModify/data/chunk_loaders/functions/try_to_create_chunk_loader.mcfunction
This file contains 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,3 @@ | ||
execute store success score #success chuLoa.dummy run forceload add ~ ~ | ||
execute if score #success chuLoa.dummy matches 1 run function chunk_loaders:create_chunk_loader | ||
execute unless score #success chuLoa.dummy matches 1 run data merge entity @s {CustomName:'{"text":"This chunk is already force-loaded.","color":"red"}',CustomNameVisible:1b} |
4 changes: 4 additions & 0 deletions
4
config/openloader/data/CreateOriginModify/data/chunk_loaders/functions/uninstall.mcfunction
This file contains 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,4 @@ | ||
scoreboard objectives remove chuLoa.dummy | ||
schedule clear chunk_loaders:tick | ||
schedule clear chunk_loaders:schedule | ||
execute as @e[type=minecraft:item_frame,tag=chuLoa.marker] at @s run function chunk_loaders:destroy_chunk_loader |
2 changes: 1 addition & 1 deletion
2
...penloader/data/CreateOriginModify/data/createorigin/advancements/createorigin/beacon.json
This file contains 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
41 changes: 41 additions & 0 deletions
41
...er/data/CreateOriginModify/data/createorigin/advancements/createorigin/chunk_loaders.json
This file contains 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,41 @@ | ||
{ | ||
"display": { | ||
"icon": { | ||
"item": "minecraft:lodestone" | ||
}, | ||
"title": "区块加载器", | ||
"description": { | ||
"text": "将一颗下界之星丢在磁石上,制成一个区块加载器,它可以让它所在的区块一直加载下去,直到它被破坏。", | ||
"color": "gold" | ||
}, | ||
"show_toast": true, | ||
"announce_to_chat": false | ||
}, | ||
"parent": "createorigin:createorigin/root", | ||
"criteria": { | ||
"nether_star": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"minecraft:nether_star" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"lodestone": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"minecraft:lodestone" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
config/openloader/data/CreateOriginModify/data/minecraft/tags/functions/load.json
This file contains 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 @@ | ||
{"replace":false,"values":["chunk_loaders:load","chunk_loaders:tick","chunk_loaders:schedule"]} |
Binary file not shown.
Binary file renamed
BIN
+1.45 MB
...ntoryProfilesNext-fabric-1.18.2-1.6.5.jar → ...ntoryProfilesNext-fabric-1.18.2-1.7.0.jar
Binary file not shown.