-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4971781
commit 3db0047
Showing
29 changed files
with
438 additions
and
11 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
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
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
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
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8
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,2 +1,2 @@ | ||
// 1.20.1 2024-02-23T14:58:29.713925 Languages: en_us | ||
a2f1d7a5a137b1a602a3df80c490404ee081a555 assets/railcraft/lang/en_us.json | ||
// 1.20.1 2024-02-23T16:56:41.871174276 Languages: en_us | ||
e539a84f64868a5c36f85e849eae8433b1241776 assets/railcraft/lang/en_us.json |
47 changes: 47 additions & 0 deletions
47
src/generated/resources/assets/railcraft/blockstates/token_signal_box.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,47 @@ | ||
{ | ||
"multipart": [ | ||
{ | ||
"apply": { | ||
"model": "railcraft:block/signal_box_cap" | ||
}, | ||
"when": { | ||
"cap": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "railcraft:block/signal_box_connector" | ||
}, | ||
"when": { | ||
"north": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "railcraft:block/signal_box_connector", | ||
"y": 90 | ||
}, | ||
"when": { | ||
"east": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "railcraft:block/signal_box_connector", | ||
"y": 180 | ||
}, | ||
"when": { | ||
"south": "true" | ||
} | ||
}, | ||
{ | ||
"apply": { | ||
"model": "railcraft:block/signal_box_connector", | ||
"y": 270 | ||
}, | ||
"when": { | ||
"west": "true" | ||
} | ||
} | ||
] | ||
} |
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
6 changes: 6 additions & 0 deletions
6
src/generated/resources/assets/railcraft/models/block/token_signal_box.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 @@ | ||
{ | ||
"parent": "railcraft:block/signal_box", | ||
"textures": { | ||
"up": "railcraft:entity/signal_box/token_signal_box" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/generated/resources/assets/railcraft/models/item/token_signal_box.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,3 @@ | ||
{ | ||
"parent": "railcraft:block/token_signal_box" | ||
} |
35 changes: 35 additions & 0 deletions
35
src/generated/resources/data/railcraft/advancements/recipes/misc/token_signal_box.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,35 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_radio_circuit": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"railcraft:radio_circuit" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "railcraft:token_signal_box" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_radio_circuit", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"railcraft:token_signal_box" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
21 changes: 21 additions & 0 deletions
21
src/generated/resources/data/railcraft/loot_tables/blocks/token_signal_box.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,21 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
], | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "railcraft:token_signal_box" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
], | ||
"random_sequence": "railcraft:blocks/token_signal_box" | ||
} |
24 changes: 24 additions & 0 deletions
24
src/generated/resources/data/railcraft/recipes/token_signal_box.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,24 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"a": { | ||
"item": "minecraft:iron_ingot" | ||
}, | ||
"b": { | ||
"item": "railcraft:radio_circuit" | ||
}, | ||
"c": { | ||
"item": "minecraft:redstone" | ||
} | ||
}, | ||
"pattern": [ | ||
" c ", | ||
"aba", | ||
"aca" | ||
], | ||
"result": { | ||
"item": "railcraft:token_signal_box" | ||
}, | ||
"show_notification": true | ||
} |
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
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
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
15 changes: 15 additions & 0 deletions
15
src/main/java/mods/railcraft/client/renderer/blockentity/TokenSignalBoxRenderer.java
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,15 @@ | ||
package mods.railcraft.client.renderer.blockentity; | ||
|
||
import mods.railcraft.api.core.RailcraftConstants; | ||
import net.minecraft.resources.ResourceLocation; | ||
|
||
public class TokenSignalBoxRenderer extends AbstractSignalBoxRenderer { | ||
|
||
public static final ResourceLocation TEXTURE_LOCATION = | ||
RailcraftConstants.rl("entity/signal_box/token_signal_box"); | ||
|
||
@Override | ||
protected ResourceLocation getTopTextureLocation() { | ||
return TEXTURE_LOCATION; | ||
} | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.