Skip to content

Commit

Permalink
v3.0.3
Browse files Browse the repository at this point in the history
- 去除Fastload
- 加入区块加载器
- 更新部分mod
  • Loading branch information
Chikage0o0 committed Aug 29, 2022
1 parent 36c7ecb commit 84fedd9
Show file tree
Hide file tree
Showing 14 changed files with 68 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/bcc.json
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}
2 changes: 1 addition & 1 deletion config/customwindowtitle-client.toml
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'
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
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scoreboard objectives add chuLoa.dummy dummy
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
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
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}
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "createorigin:createorigin/root",
"parent": "createorigin:createorigin/chunk_loaders",
"display": {
"icon": {
"item": "minecraft:beacon"
Expand Down
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"
]
}
]
}
}
}
}
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 removed mods/Fastload-1.1.5.jar
Binary file not shown.
Binary file not shown.

0 comments on commit 84fedd9

Please sign in to comment.