Skip to content

Commit

Permalink
Make silky cloth by casting rose gold on cobwebs
Browse files Browse the repository at this point in the history
To aid in this for those with unlucky worldgen, severing lets you obtain cobwebs from spiders
  • Loading branch information
KnightMiner committed May 3, 2024
1 parent 737dafd commit 0b3c8de
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 57 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
{
"type": "minecraft:crafting_shaped",
"key": {
"g": {
"tag": "forge:ingots/rose_gold"
},
"s": {
"tag": "forge:string"
}
"type": "tconstruct:casting_table",
"cast": {
"item": "minecraft:cobweb"
},
"pattern": [
"sss",
"sgs",
"sss"
],
"result": {
"item": "tconstruct:silky_cloth"
}
"cast_consumed": true,
"cooling_time": 52,
"fluid": {
"amount": 90,
"tag": "tconstruct:molten_rose_gold"
},
"result": "tconstruct:silky_cloth"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "tconstruct:severing",
"entity": {
"types": [
"minecraft:spider",
"minecraft:cave_spider"
]
},
"result": "minecraft:cobweb"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import net.minecraft.data.DataGenerator;
import net.minecraft.data.recipes.FinishedRecipe;
import net.minecraft.data.recipes.ShapedRecipeBuilder;
import net.minecraft.data.recipes.ShapelessRecipeBuilder;
import net.minecraft.data.recipes.SpecialRecipeBuilder;
import net.minecraft.resources.ResourceLocation;
Expand Down Expand Up @@ -146,14 +145,10 @@ private void addItemRecipes(Consumer<FinishedRecipe> consumer) {
.save(consumer, prefix(TinkerCommons.jeweledApple, folder));

// silky cloth
ShapedRecipeBuilder.shaped(TinkerModifiers.silkyCloth)
.define('s', Tags.Items.STRING)
.define('g', TinkerMaterials.roseGold.getIngotTag())
.pattern("sss")
.pattern("sgs")
.pattern("sss")
.unlockedBy("has_item", has(Tags.Items.INGOTS_GOLD))
.save(consumer, prefix(TinkerModifiers.silkyCloth, folder));
ItemCastingRecipeBuilder.tableRecipe(TinkerModifiers.silkyCloth)
.setCast(Items.COBWEB, true)
.setFluidAndTime(TinkerFluids.moltenRoseGold, false, FluidValues.INGOT)
.save(consumer, prefix(TinkerModifiers.silkyCloth, folder));

// wither bone purifying
ShapelessRecipeBuilder.shapeless(Items.BONE)
Expand Down Expand Up @@ -1672,6 +1667,9 @@ private void addHeadRecipes(Consumer<FinishedRecipe> consumer) {
// beeyeing
SeveringRecipeBuilder.severing(EntityIngredient.of(EntityType.SPIDER, EntityType.CAVE_SPIDER), Items.SPIDER_EYE)
.save(consumer, location(folder + "spider_eye"));
// besilking
SeveringRecipeBuilder.severing(EntityIngredient.of(EntityType.SPIDER, EntityType.CAVE_SPIDER), Items.COBWEB)
.save(consumer, location(folder + "cobweb"));
// be-internal-combustion-device
SeveringRecipeBuilder.severing(EntityIngredient.of(EntityType.CREEPER), Blocks.TNT)
.save(consumer, location(folder + "creeper_tnt"));
Expand Down

0 comments on commit 0b3c8de

Please sign in to comment.