forked from P3NG00/OhHowTheCraftingHasTabled
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
24 changed files
with
226 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
7 changes: 7 additions & 0 deletions
7
src/main/generated/assets/variantcraftingtables/blockstates/tr_rubber_crafting_table.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,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "variantcraftingtables:block/tr_rubber_crafting_table" | ||
} | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
src/main/generated/assets/variantcraftingtables/models/block/tr_rubber_crafting_table.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,12 @@ | ||
{ | ||
"parent": "minecraft:block/cube", | ||
"textures": { | ||
"down": "techreborn:block/rubber_planks", | ||
"east": "variantcraftingtables:block/tr_rubber_crafting_table_side", | ||
"north": "variantcraftingtables:block/tr_rubber_crafting_table_front", | ||
"particle": "variantcraftingtables:block/tr_rubber_crafting_table_front", | ||
"south": "variantcraftingtables:block/tr_rubber_crafting_table_side", | ||
"up": "variantcraftingtables:block/tr_rubber_crafting_table_top", | ||
"west": "variantcraftingtables:block/tr_rubber_crafting_table_front" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/assets/variantcraftingtables/models/item/tr_rubber_crafting_table.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": "variantcraftingtables:block/tr_rubber_crafting_table" | ||
} |
43 changes: 43 additions & 0 deletions
43
...erated/data/variantcraftingtables/advancements/recipes/misc/tr_rubber_crafting_table.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,43 @@ | ||
{ | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"techreborn" | ||
] | ||
} | ||
], | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_rubber_planks": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"techreborn:rubber_planks" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "variantcraftingtables:tr_rubber_crafting_table" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_rubber_planks", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"variantcraftingtables:tr_rubber_crafting_table" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
28 changes: 28 additions & 0 deletions
28
...ain/generated/data/variantcraftingtables/loot_tables/blocks/tr_rubber_crafting_table.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,28 @@ | ||
{ | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"techreborn" | ||
] | ||
} | ||
], | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
], | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "variantcraftingtables:tr_rubber_crafting_table" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/generated/data/variantcraftingtables/recipes/tr_rubber_crafting_table.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 @@ | ||
{ | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"techreborn" | ||
] | ||
} | ||
], | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"#": { | ||
"item": "techreborn:rubber_planks" | ||
} | ||
}, | ||
"pattern": [ | ||
"##", | ||
"##" | ||
], | ||
"result": { | ||
"item": "variantcraftingtables:tr_rubber_crafting_table" | ||
}, | ||
"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
34 changes: 34 additions & 0 deletions
34
src/main/java/net/xanthian/variantcraftingtables/block/compatability/TechReborn.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,34 @@ | ||
package net.xanthian.variantcraftingtables.block.compatability; | ||
|
||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings; | ||
|
||
import net.minecraft.block.Block; | ||
import net.minecraft.item.BlockItem; | ||
import net.minecraft.registry.Registries; | ||
import net.minecraft.registry.Registry; | ||
import net.minecraft.util.Identifier; | ||
import net.xanthian.variantcraftingtables.Initialise; | ||
import net.xanthian.variantcraftingtables.block.VariantCraftingTableBlock; | ||
|
||
public class TechReborn { | ||
|
||
// Vanilla | ||
public static Block TR_RUBBER_CRAFTING_TABLE; | ||
|
||
public static void registerTechRebornTables() { | ||
TR_RUBBER_CRAFTING_TABLE = registerCraftingTable("tr_rubber_crafting_table"); | ||
|
||
} | ||
|
||
public static Block register(String Id, Block block) { | ||
Identifier identifier = new Identifier(Initialise.MOD_ID, Id.toLowerCase()); | ||
Registry.register(Registries.BLOCK, identifier, block); | ||
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings())); | ||
|
||
return block; | ||
} | ||
|
||
public static Block registerCraftingTable(String id) { | ||
return register(id, new VariantCraftingTableBlock()); | ||
} | ||
} |
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.