Oops did I miss something?
This commit is contained in:
parent
0fad36a08c
commit
aec7840c26
6 changed files with 692 additions and 25 deletions
|
@ -9,6 +9,7 @@ import net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider;
|
|||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider;
|
||||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider;
|
||||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraft.data.client.BlockStateModelGenerator;
|
||||
import net.minecraft.data.client.ItemModelGenerator;
|
||||
|
@ -26,6 +27,7 @@ import net.minecraft.util.Util;
|
|||
import su.a71.new_soviet.registration.NSE_Blocks;
|
||||
import su.a71.new_soviet.registration.NSE_Custom;
|
||||
import su.a71.new_soviet.registration.NSE_Items;
|
||||
import su.a71.new_soviet.util.NSE_Tags;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
@ -42,6 +44,15 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
public void generate() {
|
||||
// Drops for building blocks
|
||||
addDrop(NSE_Blocks.SAND_TILES);
|
||||
addDrop(NSE_Blocks.NII_FLOOR);
|
||||
addDrop(NSE_Blocks.BIG_GREEN_TILES);
|
||||
addDrop(NSE_Blocks.BIG_GREEN_TILES_CRACKED);
|
||||
addDrop(NSE_Blocks.GREEN_BRICKS);
|
||||
addDrop(NSE_Blocks.CRACKED_GREEN_BRICKS);
|
||||
addDrop(NSE_Blocks.MOSSY_GREEN_BRICKS);
|
||||
addDrop(NSE_Blocks.GREEN_BRICKS_2);
|
||||
addDrop(NSE_Blocks.CRACKED_GREEN_BRICKS_2);
|
||||
addDrop(NSE_Blocks.MOSSY_GREEN_BRICKS_2);
|
||||
addDrop(NSE_Blocks.CRACKED_SAND_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_SAND_TILES);
|
||||
addDrop(NSE_Blocks.SMALL_SAND_TILES);
|
||||
|
@ -53,6 +64,16 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
addDrop(NSE_Blocks.CRACKED_SAND_BRICKS);
|
||||
addDrop(NSE_Blocks.MOSSY_SAND_BRICKS);
|
||||
addDrop(NSE_Blocks.BIG_SAND_BRICKS);
|
||||
//bricks
|
||||
addDrop(NSE_Blocks.BRICK_TILES);
|
||||
addDrop(NSE_Blocks.CRACKED_BRICK_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_BRICK_TILES);
|
||||
addDrop(NSE_Blocks.DIRTY_BRICK_TILES);
|
||||
addDrop(NSE_Blocks.DARK_BRICK_TILES);
|
||||
addDrop(NSE_Blocks.CRACKED_DARK_BRICK_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_DARK_BRICK_TILES);
|
||||
addDrop(NSE_Blocks.DIRTY_DARK_BRICK_TILES);
|
||||
//teal
|
||||
addDrop(NSE_Blocks.TEAL_TILES);
|
||||
addDrop(NSE_Blocks.CRACKED_TEAL_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_TEAL_TILES);
|
||||
|
@ -79,6 +100,12 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
addDrop(NSE_Blocks.CRACKED_CALCITE_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_CALCITE_TILES);
|
||||
addDrop(NSE_Blocks.DIAGONAL_CALCITE_TILES);
|
||||
//nii walls
|
||||
addDrop(NSE_Blocks.NII_WALL_1);
|
||||
addDrop(NSE_Blocks.CRACKED_NII_WALL_1);
|
||||
addDrop(NSE_Blocks.NII_WALL_2);
|
||||
addDrop(NSE_Blocks.NII_WALL_3);
|
||||
//dripstone
|
||||
addDrop(NSE_Blocks.DRIPSTONE_TILES);
|
||||
addDrop(NSE_Blocks.CRACKED_DRIPSTONE_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_DRIPSTONE_TILES);
|
||||
|
@ -92,6 +119,7 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
addDrop(NSE_Blocks.LIGHT_BLUE_TILES);
|
||||
addDrop(NSE_Blocks.CRACKED_LIGHT_BLUE_TILES);
|
||||
addDrop(NSE_Blocks.MOSSY_LIGHT_BLUE_TILES);
|
||||
addDrop(NSE_Blocks.VARIATED_LIGHT_BLUE_TILES);
|
||||
addDrop(NSE_Blocks.SMALL_LIGHT_BLUE_TILES);
|
||||
addDrop(NSE_Blocks.SMALL_CRACKED_LIGHT_BLUE_TILES);
|
||||
addDrop(NSE_Blocks.GLAZED_LIGHT_BLUE_TILES);
|
||||
|
@ -170,6 +198,18 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
addDrop(NSE_Blocks.WHITEWASH);
|
||||
addDrop(NSE_Blocks.CRACKED_WHITEWASH);
|
||||
addDrop(NSE_Blocks.VERY_CRACKED_WHITEWASH);
|
||||
addDrop(NSE_Blocks.SMALL_YELLOW_TILES);
|
||||
addDrop(NSE_Blocks.SMALL_CRACKED_YELLOW_TILES);
|
||||
addDrop(NSE_Blocks.MEAT);
|
||||
addDrop(NSE_Blocks.MEAT_EYE);
|
||||
addDrop(NSE_Blocks.MEAT_TEETH);
|
||||
addDrop(NSE_Blocks.CHISELED_BIRCH_DOOR);
|
||||
addDrop(NSE_Blocks.CHISELED_MANGROVE_DOOR);
|
||||
addDrop(NSE_Blocks.CHISELED_OAK_DOOR);
|
||||
addDrop(NSE_Blocks.CHISELED_SPRUCE_DOOR);
|
||||
addDrop(NSE_Blocks.BEIGE_WALLPAPER);
|
||||
addDrop(NSE_Blocks.BROWN_WALLPAPER);
|
||||
addDrop(NSE_Blocks.GREEN_WALLPAPER);
|
||||
|
||||
// Drops for furniture/electronics/appliances
|
||||
addDrop(NSE_Custom.TV);
|
||||
|
@ -179,7 +219,7 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
addDrop(NSE_Custom.SIREN);
|
||||
addDrop(NSE_Custom.LAMP);
|
||||
addDrop(NSE_Custom.CEILING_FAN);
|
||||
addDrop(NSE_Custom.LANDMINE);
|
||||
addDrop(NSE_Custom.SWITCH);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -194,6 +234,15 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
// Blocks mined with a pickaxe
|
||||
getOrCreateTagBuilder(BlockTags.PICKAXE_MINEABLE)
|
||||
.add(NSE_Blocks.SAND_TILES)
|
||||
.add(NSE_Blocks.NII_FLOOR)
|
||||
.add(NSE_Blocks.BIG_GREEN_TILES)
|
||||
.add(NSE_Blocks.BIG_GREEN_TILES_CRACKED)
|
||||
.add(NSE_Blocks.GREEN_BRICKS)
|
||||
.add(NSE_Blocks.CRACKED_GREEN_BRICKS)
|
||||
.add(NSE_Blocks.MOSSY_GREEN_BRICKS)
|
||||
.add(NSE_Blocks.GREEN_BRICKS_2)
|
||||
.add(NSE_Blocks.CRACKED_GREEN_BRICKS_2)
|
||||
.add(NSE_Blocks.MOSSY_GREEN_BRICKS_2)
|
||||
.add(NSE_Blocks.CRACKED_SAND_TILES)
|
||||
.add(NSE_Blocks.MOSSY_SAND_TILES)
|
||||
.add(NSE_Blocks.SMALL_SAND_TILES)
|
||||
|
@ -205,6 +254,21 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.add(NSE_Blocks.CRACKED_SAND_BRICKS)
|
||||
.add(NSE_Blocks.MOSSY_SAND_BRICKS)
|
||||
.add(NSE_Blocks.BIG_SAND_BRICKS)
|
||||
//bricks
|
||||
.add(NSE_Blocks.BRICK_TILES)
|
||||
.add(NSE_Blocks.CRACKED_BRICK_TILES)
|
||||
.add(NSE_Blocks.MOSSY_BRICK_TILES)
|
||||
.add(NSE_Blocks.DIRTY_BRICK_TILES)
|
||||
.add(NSE_Blocks.DARK_BRICK_TILES)
|
||||
.add(NSE_Blocks.CRACKED_DARK_BRICK_TILES)
|
||||
.add(NSE_Blocks.MOSSY_DARK_BRICK_TILES)
|
||||
.add(NSE_Blocks.DIRTY_DARK_BRICK_TILES)
|
||||
.add(NSE_Blocks.GLAZED_BRICK_TILES)
|
||||
.add(NSE_Blocks.CRACKED_GLAZED_BRICK_TILES)
|
||||
.add(NSE_Blocks.RED_BRICKS)
|
||||
.add(NSE_Blocks.CRACKED_RED_BRICKS)
|
||||
.add(NSE_Blocks.MOSSY_RED_BRICKS)
|
||||
//teal
|
||||
.add(NSE_Blocks.TEAL_TILES)
|
||||
.add(NSE_Blocks.CRACKED_TEAL_TILES)
|
||||
.add(NSE_Blocks.MOSSY_TEAL_TILES)
|
||||
|
@ -231,6 +295,12 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.add(NSE_Blocks.CRACKED_CALCITE_TILES)
|
||||
.add(NSE_Blocks.MOSSY_CALCITE_TILES)
|
||||
.add(NSE_Blocks.DIAGONAL_CALCITE_TILES)
|
||||
//nii walls
|
||||
.add(NSE_Blocks.NII_WALL_1)
|
||||
.add(NSE_Blocks.CRACKED_NII_WALL_1)
|
||||
.add(NSE_Blocks.NII_WALL_2)
|
||||
.add(NSE_Blocks.NII_WALL_3)
|
||||
//dripstone
|
||||
.add(NSE_Blocks.DRIPSTONE_TILES)
|
||||
.add(NSE_Blocks.CRACKED_DRIPSTONE_TILES)
|
||||
.add(NSE_Blocks.MOSSY_DRIPSTONE_TILES)
|
||||
|
@ -243,6 +313,7 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.add(NSE_Blocks.DIAGONAL_DEEPSLATE_TILES)
|
||||
.add(NSE_Blocks.LIGHT_BLUE_TILES)
|
||||
.add(NSE_Blocks.CRACKED_LIGHT_BLUE_TILES)
|
||||
.add(NSE_Blocks.VARIATED_LIGHT_BLUE_TILES)
|
||||
.add(NSE_Blocks.MOSSY_LIGHT_BLUE_TILES)
|
||||
.add(NSE_Blocks.SMALL_LIGHT_BLUE_TILES)
|
||||
.add(NSE_Blocks.SMALL_CRACKED_LIGHT_BLUE_TILES)
|
||||
|
@ -277,7 +348,9 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.add(NSE_Blocks.PURPLE_WARNING)
|
||||
.add(NSE_Blocks.MAGENTA_WARNING)
|
||||
.add(NSE_Blocks.METAL_PLATING)
|
||||
.add(NSE_Blocks.CONCRETE_WALL);
|
||||
.add(NSE_Blocks.CONCRETE_WALL)
|
||||
.add(NSE_Blocks.SMALL_YELLOW_TILES)
|
||||
.add(NSE_Blocks.SMALL_CRACKED_YELLOW_TILES);
|
||||
|
||||
// Blocks mined with an axe
|
||||
getOrCreateTagBuilder(BlockTags.AXE_MINEABLE)
|
||||
|
@ -310,10 +383,21 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.add(NSE_Blocks.BROWN_LINOLEUM)
|
||||
.add(NSE_Blocks.CYAN_LINOLEUM)
|
||||
.add(NSE_Blocks.CROSS_ORANGE_LINOLEUM)
|
||||
.add(NSE_Blocks.CROSS_BROWN_LINOLEUM);
|
||||
.add(NSE_Blocks.CROSS_BROWN_LINOLEUM)
|
||||
.add(NSE_Blocks.CHISELED_BIRCH_DOOR)
|
||||
.add(NSE_Blocks.CHISELED_MANGROVE_DOOR)
|
||||
.add(NSE_Blocks.CHISELED_OAK_DOOR)
|
||||
.add(NSE_Blocks.CHISELED_SPRUCE_DOOR)
|
||||
.add(NSE_Blocks.GREEN_WALLPAPER)
|
||||
.add(NSE_Blocks.BROWN_WALLPAPER)
|
||||
.add(NSE_Blocks.BEIGE_WALLPAPER)
|
||||
;
|
||||
|
||||
getOrCreateTagBuilder(BlockTags.SHOVEL_MINEABLE)
|
||||
.add(NSE_Custom.LANDMINE);
|
||||
getOrCreateTagBuilder(NSE_Tags.Blocks.RAKE_MINEABLE)
|
||||
.add(NSE_Blocks.MEAT)
|
||||
.add(NSE_Blocks.MEAT_EYE)
|
||||
.add(NSE_Blocks.MEAT_TEETH)
|
||||
.add(NSE_Blocks.PURPLE_GOO);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -472,6 +556,23 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.offerTo(exporter);
|
||||
}
|
||||
|
||||
private void rakeRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible output) {
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.DECORATIONS, output, 1)
|
||||
.pattern("III")
|
||||
.pattern(" N ")
|
||||
.pattern(" S ")
|
||||
.input('S', Items.STICK)
|
||||
.input('I', Items.IRON_INGOT)
|
||||
.input('N', Items.IRON_NUGGET)
|
||||
.criterion(RecipeProvider.hasItem(Items.STICK),
|
||||
RecipeProvider.conditionsFromItem(Items.STICK))
|
||||
.criterion(RecipeProvider.hasItem(Items.IRON_INGOT),
|
||||
RecipeProvider.conditionsFromItem(Items.IRON_INGOT))
|
||||
.criterion(RecipeProvider.hasItem(Items.IRON_NUGGET),
|
||||
RecipeProvider.conditionsFromItem(Items.IRON_NUGGET))
|
||||
.offerTo(exporter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void generate(Consumer<RecipeJsonProvider> exporter) {
|
||||
crissCrossRecipe(exporter, NSE_Blocks.SAND_TILES, Blocks.SMOOTH_SANDSTONE, Blocks.SMOOTH_RED_SANDSTONE);
|
||||
|
@ -486,8 +587,14 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
ceilingFanRecipe(exporter, NSE_Custom.CEILING_FAN);
|
||||
lampRecipe(exporter, NSE_Custom.LAMP);
|
||||
sickleRecipe(exporter, NSE_Items.SICKLE);
|
||||
rakeRecipe(exporter, NSE_Items.RAKE);
|
||||
|
||||
// Cracked blocks
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_BRICK_TILES, NSE_Blocks.BRICK_TILES);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_GLAZED_BRICK_TILES, NSE_Blocks.GLAZED_BRICK_TILES);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_DARK_BRICK_TILES, NSE_Blocks.DARK_BRICK_TILES);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_NII_WALL_1, NSE_Blocks.NII_WALL_1);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.SMALL_CRACKED_YELLOW_TILES, NSE_Blocks.SMALL_YELLOW_TILES);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_SAND_TILES, NSE_Blocks.SAND_TILES);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.SMALL_CRACKED_SAND_TILES, NSE_Blocks.SMALL_SAND_TILES);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_SAND_BRICKS, NSE_Blocks.SAND_BRICKS);
|
||||
|
@ -519,7 +626,11 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_RED_CONCRETE, NSE_Blocks.RED_CONCRETE);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_YELLOW_CONCRETE, NSE_Blocks.YELLOW_CONCRETE);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_GREEN_CONCRETE, NSE_Blocks.GREEN_CONCRETE);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_GREEN_BRICKS, NSE_Blocks.GREEN_BRICKS);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.CRACKED_GREEN_BRICKS_2, NSE_Blocks.GREEN_BRICKS_2);
|
||||
offerCrackingRecipe(exporter, NSE_Blocks.BIG_GREEN_TILES_CRACKED, NSE_Blocks.BIG_GREEN_TILES);
|
||||
|
||||
//Mos.Ru-ciepe
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_SAND_TILES, NSE_Blocks.SAND_TILES);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_SAND_BRICKS, NSE_Blocks.SAND_BRICKS);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_TEAL_TILES, NSE_Blocks.TEAL_TILES);
|
||||
|
@ -533,6 +644,12 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
mossRecipe(exporter, NSE_Blocks.MOSSY_GREEN_WHITE_TILES, NSE_Blocks.GREEN_WHITE_TILES);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_TUFF_TILES, NSE_Blocks.TUFF_TILES);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_TUFF_BRICKS, NSE_Blocks.TUFF_BRICKS);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_GREEN_BRICKS, NSE_Blocks.GREEN_BRICKS);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_GREEN_BRICKS_2, NSE_Blocks.GREEN_BRICKS_2);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_RED_BRICKS, NSE_Blocks.RED_BRICKS);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_BRICK_TILES, NSE_Blocks.BRICK_TILES);
|
||||
mossRecipe(exporter, NSE_Blocks.MOSSY_DARK_BRICK_TILES, NSE_Blocks.DARK_BRICK_TILES);
|
||||
|
||||
|
||||
warningStripeRecipe(exporter, NSE_Blocks.INDUSTRIAL_WARNING, Items.BLACK_DYE);
|
||||
warningStripeRecipe(exporter, NSE_Blocks.RED_WARNING, Items.RED_DYE);
|
||||
|
@ -575,6 +692,7 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
list.add(NSE_Blocks.DIORITE_BRICKS);
|
||||
list.add(NSE_Blocks.BIG_DIORITE_TILES);
|
||||
list.add(NSE_Blocks.SMALL_DIORITE_TILES);
|
||||
list.add(NSE_Blocks.NII_WALL_1);
|
||||
list.add(Blocks.POLISHED_DIORITE);
|
||||
}), RecipeCategory.BUILDING_BLOCKS);
|
||||
|
||||
|
@ -600,6 +718,7 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
stoneCuttingCategory(exporter, Util.make(Lists.newArrayList(), list -> {
|
||||
list.add(NSE_Blocks.LIGHT_BLUE_TILES);
|
||||
list.add(NSE_Blocks.LIGHT_BLUE_BRICKS);
|
||||
list.add(NSE_Blocks.VARIATED_LIGHT_BLUE_TILES);
|
||||
list.add(NSE_Blocks.GLAZED_LIGHT_BLUE_TILES);
|
||||
list.add(NSE_Blocks.SMALL_LIGHT_BLUE_TILES);
|
||||
}), RecipeCategory.BUILDING_BLOCKS);
|
||||
|
@ -665,6 +784,23 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
list.add(Blocks.SPRUCE_PLANKS);
|
||||
}), RecipeCategory.BUILDING_BLOCKS);
|
||||
|
||||
stoneCuttingCategory(exporter, Util.make(Lists.newArrayList(), list -> {
|
||||
list.add(NSE_Blocks.BRICK_TILES);
|
||||
list.add(NSE_Blocks.GLAZED_BRICK_TILES);
|
||||
list.add(Blocks.BRICKS);
|
||||
}), RecipeCategory.BUILDING_BLOCKS);
|
||||
|
||||
stoneCuttingCategory(exporter, Util.make(Lists.newArrayList(), list -> {
|
||||
list.add(NSE_Blocks.NII_WALL_3);
|
||||
list.add(Blocks.STONE);
|
||||
list.add(Blocks.STONE_BRICKS);
|
||||
}), RecipeCategory.BUILDING_BLOCKS);
|
||||
|
||||
stoneCuttingCategory(exporter, Util.make(Lists.newArrayList(), list -> {
|
||||
list.add(NSE_Blocks.NII_WALL_2);
|
||||
list.add(Blocks.SMOOTH_STONE);
|
||||
}), RecipeCategory.BUILDING_BLOCKS);
|
||||
|
||||
diceRecipe(exporter, NSE_Items.DICE_D4);
|
||||
diceRecipe(exporter, NSE_Items.DICE_D6);
|
||||
diceRecipe(exporter, NSE_Items.DICE_D20);
|
||||
|
@ -681,6 +817,66 @@ public class DataGeneration implements DataGeneratorEntrypoint {
|
|||
.input('X', Items.IRON_INGOT).input('Y', Items.IRON_NUGGET).input('Z', NSE_Items.LIGHT_BULB)
|
||||
.pattern(" X ").pattern(" Y ").pattern(" Z ")
|
||||
.criterion(hasItem(NSE_Items.LIGHT_BULB), conditionsFromItem(NSE_Items.LIGHT_BULB)).offerTo(exporter);
|
||||
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.NII_FLOOR, 4)
|
||||
.input('#', Items.DIORITE).input('G', Items.GRANITE).input('C', Items.COBBLESTONE)
|
||||
.pattern("#G").pattern("GC")
|
||||
.criterion(hasItem(Items.GRANITE), conditionsFromItem(Items.GRANITE))
|
||||
.criterion(hasItem(Items.DIORITE), conditionsFromItem(Items.DIORITE))
|
||||
.criterion(hasItem(Items.COBBLESTONE), conditionsFromItem(Items.COBBLESTONE))
|
||||
.offerTo(exporter);
|
||||
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.BIG_GREEN_TILES, 8)
|
||||
.input('#', NSE_Blocks.BIG_DIORITE_TILES).input('G', Items.GREEN_DYE)
|
||||
.pattern("###")
|
||||
.pattern("#G#")
|
||||
.pattern("###")
|
||||
.criterion(hasItem(Items.GREEN_DYE), conditionsFromItem(Items.GREEN_DYE))
|
||||
.criterion(hasItem(NSE_Blocks.BIG_DIORITE_TILES), conditionsFromItem(NSE_Blocks.BIG_DIORITE_TILES))
|
||||
.offerTo(exporter);
|
||||
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.GREEN_BRICKS, 8)
|
||||
.input('#', Items.BRICKS).input('G', Items.GREEN_DYE)
|
||||
.pattern("###")
|
||||
.pattern("#G#")
|
||||
.pattern("###")
|
||||
.criterion(hasItem(Items.GREEN_DYE), conditionsFromItem(Items.GREEN_DYE))
|
||||
.criterion(hasItem(Items.BRICKS), conditionsFromItem(Items.BRICKS))
|
||||
.offerTo(exporter);
|
||||
|
||||
ShapelessRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.GREEN_BRICKS_2, 2)
|
||||
.input(Items.BRICKS).input(NSE_Blocks.GREEN_BRICKS)
|
||||
.criterion(hasItem(NSE_Blocks.GREEN_BRICKS), conditionsFromItem(NSE_Blocks.GREEN_BRICKS))
|
||||
.criterion(hasItem(Items.BRICKS), conditionsFromItem(Items.BRICKS))
|
||||
.offerTo(exporter);
|
||||
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.SMALL_YELLOW_TILES, 8)
|
||||
.pattern("###")
|
||||
.pattern("#Y#")
|
||||
.pattern("###")
|
||||
.input('#', NSE_Blocks.SMALL_WHITE_TILES).input('Y', Items.YELLOW_DYE)
|
||||
.criterion(hasItem(NSE_Blocks.SMALL_WHITE_TILES), conditionsFromItem(NSE_Blocks.SMALL_WHITE_TILES))
|
||||
.criterion(hasItem(Items.YELLOW_DYE), conditionsFromItem(Items.YELLOW_DYE))
|
||||
.offerTo(exporter);
|
||||
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.RED_BRICKS, 8)
|
||||
.pattern("###")
|
||||
.pattern("#R#")
|
||||
.pattern("###")
|
||||
.input('#', Items.BRICKS).input('R', Items.RED_DYE)
|
||||
.criterion(hasItem(Items.BRICKS), conditionsFromItem(Items.BRICKS))
|
||||
.criterion(hasItem(Items.RED_DYE), conditionsFromItem(Items.RED_DYE))
|
||||
.offerTo(exporter);
|
||||
|
||||
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, NSE_Blocks.DARK_BRICK_TILES, 8)
|
||||
.pattern("###")
|
||||
.pattern("#D#")
|
||||
.pattern("###")
|
||||
.input('#', NSE_Blocks.BRICK_TILES).input('D', Items.BROWN_DYE)
|
||||
.criterion(hasItem(NSE_Blocks.BRICK_TILES), conditionsFromItem(NSE_Blocks.BRICK_TILES))
|
||||
.criterion(hasItem(Items.BROWN_DYE), conditionsFromItem(Items.BROWN_DYE))
|
||||
.offerTo(exporter);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue