-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mod package folder for the slower version
- Loading branch information
Showing
12 changed files
with
141 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
modLoader = 'lowcodefml' | ||
loaderVersion = '[40,)' | ||
license = 'MIT' | ||
showAsResourcePack = false | ||
mods = [ | ||
{ modId = 'mr_darcenos_minecarts', version = '1-slower.1.2', displayName = "Darceno's Minecarts", description = 'Improves minecarts for transportation, making them faster and able to load chunks.', logoFile = 'darcenos-minecarts_pack.png', updateJSONURL = 'https://api.modrinth.com/updates/RZw0JtqY/forge_updates.json', credits = 'Generated by Modrinth', authors = 'darceno', displayURL = 'https://modrinth.com/datapack/darcenos-minecarts' }, | ||
] | ||
issueTrackerURL = 'https://github.com/darceno/darcenosminecarts/issues' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
mod-darcenos-minecarts-slower/data/minecraft/recipes/powered_rail.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,25 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"#": { | ||
"item": "minecraft:stick" | ||
}, | ||
"R": { | ||
"item": "minecraft:redstone" | ||
}, | ||
"X": { | ||
"item": "minecraft:gold_ingot" | ||
} | ||
}, | ||
"pattern": [ | ||
"X X", | ||
"X#X", | ||
"XRX" | ||
], | ||
"result": { | ||
"count": 12, | ||
"item": "minecraft:powered_rail" | ||
}, | ||
"show_notification": true | ||
} |
6 changes: 6 additions & 0 deletions
6
mod-darcenos-minecarts-slower/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,6 @@ | ||
{ | ||
"values": | ||
[ | ||
"vanillapluscarts:load" | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
mod-darcenos-minecarts-slower/data/minecraft/tags/functions/tick.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,6 @@ | ||
{ | ||
"values": | ||
[ | ||
"vanillapluscarts:tick" | ||
] | ||
} |
2 changes: 2 additions & 0 deletions
2
mod-darcenos-minecarts-slower/data/vanillapluscarts/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,2 @@ | ||
scoreboard objectives add VanillaPlusCartsXSpeed dummy | ||
scoreboard objectives add VanillaPlusCartsZSpeed dummy |
7 changes: 7 additions & 0 deletions
7
mod-darcenos-minecarts-slower/data/vanillapluscarts/functions/speed.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,7 @@ | ||
execute store result score @s VanillaPlusCartsXSpeed run data get entity @s Motion[0] 100 | ||
execute store result score @s VanillaPlusCartsZSpeed run data get entity @s Motion[2] 100 | ||
|
||
execute as @s[scores={VanillaPlusCartsXSpeed=50..}] at @s if block ~1 ~ ~ #minecraft:rails[shape=east_west] run tp @s ~0.5 ~ ~ | ||
execute as @s[scores={VanillaPlusCartsXSpeed=..-50}] at @s if block ~-1 ~ ~ #minecraft:rails[shape=east_west] run tp @s ~-0.5 ~ ~ | ||
execute as @s[scores={VanillaPlusCartsZSpeed=50..}] at @s if block ~ ~ ~1 #minecraft:rails[shape=north_south] run tp @s ~ ~ ~0.5 | ||
execute as @s[scores={VanillaPlusCartsZSpeed=..-50}] at @s if block ~ ~ ~-1 #minecraft:rails[shape=north_south] run tp @s ~ ~ ~-0.5 |
77 changes: 77 additions & 0 deletions
77
mod-darcenos-minecarts-slower/data/vanillapluscarts/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,77 @@ | ||
execute as @e[type=minecraft:minecart] at @s if entity @e[type=!minecraft:minecart,distance=..0.5] run function vanillapluscarts:speed | ||
execute as @e[type=minecraft:chest_minecart] at @s if entity @e[type=!minecraft:minecart,distance=..0.5] run function vanillapluscarts:speed | ||
|
||
forceload remove all | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~ ~ #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~-1 ~ ~ #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~ ~ ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~ ~ ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~ ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~-1 ~ ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~ ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~ ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~1 ~ #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~-1 ~ #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~-1 ~1 ~ #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~-1 ~-1 ~ #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~ ~1 ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~ ~-1 ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~ ~1 ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~ ~-1 ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~1 ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~-1 ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~-1 ~1 ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~-1 ~-1 ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~1 ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~-1 ~1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~1 ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
execute as @e[type=minecart] run execute at @s if entity @e[type=!minecraft:minecart,distance=..0.5] if block ~1 ~-1 ~-1 #minecraft:rails run forceload add ~ ~ ~ ~ | ||
|
||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~ ~ #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~-1 ~ ~ #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~ ~ ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~ ~ ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~ ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~-1 ~ ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~ ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~ ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~1 ~ #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~-1 ~ #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~-1 ~1 ~ #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~-1 ~-1 ~ #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~ ~1 ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~ ~-1 ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~ ~1 ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~ ~-1 ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~1 ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~-1 ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~-1 ~1 ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~-1 ~-1 ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~1 ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~-1 ~1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
|
||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~1 ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ | ||
execute as @e[type=chest_minecart] run execute at @s if block ~1 ~-1 ~-1 #minecraft:rails run execute at @s run forceload add ~ ~ ~ ~ |
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 @@ | ||
{"schemaVersion":1,"id":"mr_darcenos_minecarts","version":"1-slower.1.2","name":"Darceno's Minecarts","description":"Improves minecarts for transportation, making them faster and able to load chunks.","authors":["darceno"],"contact":{"homepage":"https://modrinth.com/datapack/darcenos-minecarts","sources":"https://github.com/darceno/darcenosminecarts","issues":"https://github.com/darceno/darcenosminecarts/issues"},"license":"MIT","icon":"darcenos-minecarts_pack.png","environment":"*","depends":{"fabric-resource-loader-v0":"*"}} |
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,7 @@ | ||
{ | ||
"pack":{ | ||
"pack_format": 15, | ||
"supported_formats": {"min_inclusive": 15, "max_inclusive": 26}, | ||
"description": [{"text":"Darceno's Minecarts - slower version","color":"aqua"}] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
{"schema_version":1,"quilt_loader":{"group":"com.modrinth","id":"mr_darcenos_minecarts","version":"1-slower.1.2","metadata":{"name":"Darceno's Minecarts","description":"Improves minecarts for transportation, making them faster and able to load chunks.","contributors":{"darceno":"Owner"},"contact":{"homepage":"https://modrinth.com/datapack/darcenos-minecarts","sources":"https://github.com/darceno/darcenosminecarts","issues":"https://github.com/darceno/darcenosminecarts/issues"},"icon":"darcenos-minecarts_pack.png"},"intermediate_mappings":"net.fabricmc:intermediary","depends":[{"id":"quilt_resource_loader","versions":"*","unless":"fabric-resource-loader-v0"}]}} |