Skip to content

Commit

Permalink
desk bells
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Mar 6, 2024
1 parent dfb1579 commit 66b5108
Show file tree
Hide file tree
Showing 35 changed files with 382 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-03-06T00:41:06.6775135 Loot Tables
// 1.20.4 2024-03-06T16:24:28.2344764 Loot Tables
de27c2af93e5cab5a9d4b946062ded6257a7e5d7 data/bibliocraft/loot_tables/blocks/acacia_bookcase.json
76ad281e44358ad5de5d4b8120b7b1de0742103a data/bibliocraft/loot_tables/blocks/acacia_fancy_armor_stand.json
318a3b2f6a21fbd5812a8d9262c53207f8fc71e0 data/bibliocraft/loot_tables/blocks/acacia_label.json
Expand Down Expand Up @@ -218,6 +218,7 @@ bcdf8c19ca859a4ac5bb4459adaf1e9c1358c95c data/bibliocraft/loot_tables/blocks/dar
53a97c4baa542e1f2f60b506949eb482eb3001b0 data/bibliocraft/loot_tables/blocks/dark_oak_shelf.json
2e7d458673f22bf3d2953a1814626741ce4d015b data/bibliocraft/loot_tables/blocks/dark_oak_table.json
983390f19e35abdaf323822a20559fa5ed7dd2a1 data/bibliocraft/loot_tables/blocks/dark_oak_tool_rack.json
3891865bc9a5cab504fc14234c7bb6959264b927 data/bibliocraft/loot_tables/blocks/desk_bell.json
c1fb9db82ec1fc38dbe3b55b25ca5d9376e47424 data/bibliocraft/loot_tables/blocks/gray_acacia_display_case.json
2a3d608d16e2c147a1b438db215ce20dbd9fe394 data/bibliocraft/loot_tables/blocks/gray_acacia_seat.json
83f0f0752a06926b21451da2a207baa7a737120d data/bibliocraft/loot_tables/blocks/gray_acacia_seat_back.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// 1.20.4 2024-03-06T16:24:28.3504764 Sound Definitions
e34bbd29e26f4ac4e3c41786f3c4a661d0dc7fe3 assets/bibliocraft/sounds.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-03-06T00:41:06.7985133 Recipes
// 1.20.4 2024-03-06T16:24:28.2664769 Recipes
4b0d99f7f8ad3b6d25efd913add7ad2c43782562 data/bibliocraft/advancements/recipes/building_blocks/acacia_bookcase.json
bcab4008a31a765a736701f9350bc541c42c3e11 data/bibliocraft/advancements/recipes/building_blocks/acacia_fancy_armor_stand.json
793b249d2c89d24fc3149266e599d48eddf6b258 data/bibliocraft/advancements/recipes/building_blocks/acacia_label.json
Expand Down Expand Up @@ -1326,6 +1326,7 @@ d9d63cae79d895e741f5a7f29c05483994245c84 data/bibliocraft/advancements/recipes/b
cac5cf356e5c2ffcb5d2d619bdb96c8b67081d68 data/bibliocraft/advancements/recipes/building_blocks/yellow_warped_small_seat_back.json
47778c307fac204d24b824229f2b6528d8424468 data/bibliocraft/advancements/recipes/building_blocks/yellow_warped_tall_seat_back.json
f8fc40806586e76190152f0c70ab3fd2c635872c data/bibliocraft/advancements/recipes/decorations/cookie_jar.json
3e79301426a7ce43cf3571a395d3a9b1c4ee9612 data/bibliocraft/advancements/recipes/decorations/desk_bell.json
6c0d34e3be551f780ed81f1ad2d4730908cc655f data/bibliocraft/advancements/recipes/redstone/redstone_book.json
2ff19c78d83abf77878ba97461d9b326db8597a1 data/bibliocraft/recipes/acacia_bookcase.json
e3c48e6258684e929fb86964fb7667bfbedb8ce6 data/bibliocraft/recipes/acacia_fancy_armor_stand.json
Expand Down Expand Up @@ -1678,6 +1679,7 @@ bb5a7486115a2976e09932f1d266d63cd66fdbe5 data/bibliocraft/recipes/dark_oak_potio
1786a0d744c74ef60757498df7da5cef8ceecf0b data/bibliocraft/recipes/dark_oak_shelf.json
a4c19352c66ad06dff4d63ee879177a72ad4299a data/bibliocraft/recipes/dark_oak_table.json
2e6eb8da8b99b22b36a32577226b5bdfb5e65668 data/bibliocraft/recipes/dark_oak_tool_rack.json
7494c23fc5bdb1733e15b2caaa3c88655e781d67 data/bibliocraft/recipes/desk_bell.json
47475cdb9a586ded92a87cf2eb73eedada0809f5 data/bibliocraft/recipes/gray_acacia_display_case.json
8cb3fe2b226bd5591ee9c133a5c4b6b32c67bd76 data/bibliocraft/recipes/gray_acacia_fancy_seat_back.json
d1701e0814847bb71bd2b0af47e0a8b2aff5d441 data/bibliocraft/recipes/gray_acacia_flat_seat_back.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-02-29T22:49:11.3078731 Tags for minecraft:block mod id bibliocraft
// 1.20.4 2024-03-06T16:24:28.3114782 Tags for minecraft:block mod id bibliocraft
dc932537352be3adc3e92269d526190a3da02a50 data/bibliocraft/tags/blocks/bookcases.json
5a8af07da9101bc61f37664975dbd42ea97db36b data/bibliocraft/tags/blocks/display_cases.json
474090b2b5b40b58b63496e56ed06e543323d894 data/bibliocraft/tags/blocks/fancy_armor_stands.json
Expand All @@ -11,4 +11,4 @@ b36437d21d0432b2ab7edfd7edff70b4ffa6e53b data/bibliocraft/tags/blocks/shelves.js
70a350b86a4e5ad8cd8eb0f62e66e6b83e927781 data/bibliocraft/tags/blocks/tables.json
45344246afda217d9e4e32c8437cf25b49cf9e9d data/bibliocraft/tags/blocks/tool_racks.json
590462d66e70ff61bbd9051470046192d8fce7d3 data/minecraft/tags/blocks/mineable/axe.json
0ef0bc96b759fb0c4f03720f6361c460a38cc34d data/minecraft/tags/blocks/mineable/pickaxe.json
736ef038af594c3362df60ee22cf24f7c799c64f data/minecraft/tags/blocks/mineable/pickaxe.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-03-06T00:41:06.7045134 Item Models: bibliocraft
// 1.20.4 2024-03-06T16:24:28.2454759 Item Models: bibliocraft
36c2ae88060a10b2ba6510d8a8dcbdb484c8f69c assets/bibliocraft/models/item/acacia_bookcase.json
a785a9553cc8751ab507ae037fdaaac40d0ca475 assets/bibliocraft/models/item/acacia_fancy_armor_stand.json
36e85fc9a78d924c13cb53669ed5d5544119084a assets/bibliocraft/models/item/acacia_label.json
Expand Down Expand Up @@ -350,6 +350,7 @@ b848a9f15da42164e075acfb1a3e631d740610d6 assets/bibliocraft/models/item/cyan_war
db6277b1d40adaa163fbcbd1d14f3eebf29ff5b2 assets/bibliocraft/models/item/dark_oak_shelf.json
53f4c506d07b3a5aa4514b39354bd8012617fdf9 assets/bibliocraft/models/item/dark_oak_table.json
5c4fdf480c243541990c32680c36df9d3fbf1425 assets/bibliocraft/models/item/dark_oak_tool_rack.json
a26aa17c3c887ca31158ac457696582499aaa2fe assets/bibliocraft/models/item/desk_bell.json
dcaf942a478ec941d2c1390c8d99e3518133f8ec assets/bibliocraft/models/item/gray_acacia_display_case.json
d7840c991f467f101b6cc53364a7728bf8016d61 assets/bibliocraft/models/item/gray_acacia_fancy_seat_back.json
18a9450b20f4d29ed34c92c8e6bc8967ade257cc assets/bibliocraft/models/item/gray_acacia_flat_seat_back.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 1.20.4 2024-03-06T00:41:06.6735142 Languages: en_us for mod: bibliocraft
73a36a9f7643fa5bbe7e49d8d1a13030212eb19f assets/bibliocraft/lang/en_us.json
// 1.20.4 2024-03-06T16:24:28.2284767 Languages: en_us for mod: bibliocraft
7b6dc85f35cbd0bf052a95f95e755eef57ed4413 assets/bibliocraft/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-03-06T00:41:06.964533 Block States: bibliocraft
// 1.20.4 2024-03-06T16:24:28.3124765 Block States: bibliocraft
659072bd1b446090a3a10a19573cba259369019e assets/bibliocraft/blockstates/acacia_bookcase.json
d058f1fedcbf3371725ec1f3c766558f2050448e assets/bibliocraft/blockstates/acacia_fancy_armor_stand.json
e70228355b54ccf1cdeea621bc1ddd9b614ef4ef assets/bibliocraft/blockstates/acacia_label.json
Expand Down Expand Up @@ -218,6 +218,7 @@ aac309de26f2c9a8f39f825482b5b015386aa925 assets/bibliocraft/blockstates/dark_oak
53c4a7f81e773eb2b0179801d28edb74f59e08b3 assets/bibliocraft/blockstates/dark_oak_shelf.json
0e4c42cad7a2d08ae005bc2c7889d675b21340e2 assets/bibliocraft/blockstates/dark_oak_table.json
83a7d8369684d59e8386d1d23ea688eace4e8b06 assets/bibliocraft/blockstates/dark_oak_tool_rack.json
73b556a04d812f19dc8e886e061f1a02248ccba8 assets/bibliocraft/blockstates/desk_bell.json
11162091f4e08ca742bf71397b1fcc9280b22f28 assets/bibliocraft/blockstates/gray_acacia_display_case.json
9fb3aec139680da0cb359c143f11af27031a7382 assets/bibliocraft/blockstates/gray_acacia_seat.json
0c7e02af9cd96467fab254679d570ed16ea57d89 assets/bibliocraft/blockstates/gray_acacia_seat_back.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "bibliocraft:block/desk_bell"
}
}
}
1 change: 1 addition & 0 deletions src/generated/resources/assets/bibliocraft/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@
"block.bibliocraft.dark_oak_shelf": "Dark Oak Shelf",
"block.bibliocraft.dark_oak_table": "Dark Oak Table",
"block.bibliocraft.dark_oak_tool_rack": "Dark Oak Tool Rack",
"block.bibliocraft.desk_bell": "Desk Bell",
"block.bibliocraft.gray_acacia_display_case": "Gray Acacia Display Case",
"block.bibliocraft.gray_acacia_seat": "Gray Acacia Seat",
"block.bibliocraft.gray_acacia_seat_back": "Gray Acacia Seat Back",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "bibliocraft:block/desk_bell"
}
10 changes: 10 additions & 0 deletions src/generated/resources/assets/bibliocraft/sounds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"desk_bell": {
"sounds": [
"bibliocraft:desk_bell_1",
"bibliocraft:desk_bell_2",
"bibliocraft:desk_bell_3",
"bibliocraft:desk_bell_4"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_redstone": {
"conditions": {
"items": [
{
"tag": "forge:dusts/redstone"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "bibliocraft:desk_bell"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_redstone"
]
],
"rewards": {
"recipes": [
"bibliocraft:desk_bell"
]
}
}
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": "bibliocraft:desk_bell"
}
],
"rolls": 1.0
}
],
"random_sequence": "bibliocraft:blocks/desk_bell"
}
23 changes: 23 additions & 0 deletions src/generated/resources/data/bibliocraft/recipes/desk_bell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"B": {
"item": "minecraft:stone_button"
},
"I": {
"tag": "forge:ingots/iron"
},
"R": {
"tag": "forge:dusts/redstone"
}
},
"pattern": [
" B ",
" I ",
"IRI"
],
"result": {
"item": "bibliocraft:desk_bell"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"values": [
"bibliocraft:cookie_jar",
"bibliocraft:desk_bell",
"bibliocraft:iron_fancy_armor_stand",
"bibliocraft:sword_pedestal"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
package com.github.minecraftschurlimods.bibliocraft.content;

import com.github.minecraftschurlimods.bibliocraft.init.BCSoundEvents;
import com.github.minecraftschurlimods.bibliocraft.util.ShapeUtil;
import com.github.minecraftschurlimods.bibliocraft.util.content.BCWaterloggedBlock;
import net.minecraft.core.BlockPos;
import net.minecraft.sounds.SoundSource;
import net.minecraft.world.InteractionHand;
import net.minecraft.world.InteractionResult;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;

@SuppressWarnings("deprecation")
public class DeskBellBlock extends BCWaterloggedBlock {
private static final VoxelShape SHAPE = ShapeUtil.combine(
Shapes.box(0.375, 0, 0.375, 0.625, 0.125, 0.625),
Shapes.box(0.40625, 0.125, 0.40625, 0.59375, 0.15625, 0.59375),
Shapes.box(0.40625, 0, 0.34375, 0.59375, 0.09375, 0.375),
Shapes.box(0.40625, 0, 0.625, 0.59375, 0.09375, 0.65625),
Shapes.box(0.34375, 0, 0.40625, 0.375, 0.09375, 0.59375),
Shapes.box(0.625, 0, 0.40625, 0.65625, 0.09375, 0.59375),
Shapes.box(0.484375, 0.15625, 0.484375, 0.515625, 0.171875, 0.515625),
Shapes.box(0.46875, 0.171875, 0.46875, 0.53125, 0.203125, 0.53125));

public DeskBellBlock(Properties properties) {
super(properties);
}

@Override
public VoxelShape getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) {
return SHAPE;
}

@Override
public void neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) {
super.neighborChanged(state, level, pos, neighborBlock, neighborPos, movedByPiston);
if (!level.isClientSide() && level.hasNeighborSignal(pos.below())) {
playSound(level, pos);
}
}

@Override
public InteractionResult use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) {
playSound(level, pos);
return InteractionResult.SUCCESS;
}

private void playSound(Level level, BlockPos pos) {
level.playSound(null, pos, BCSoundEvents.DESK_BELL.get(), SoundSource.BLOCKS, 1, 1);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.github.minecraftschurlimods.bibliocraft.datagen.assets.BCBlockStateProvider;
import com.github.minecraftschurlimods.bibliocraft.datagen.assets.BCEnglishLanguageProvider;
import com.github.minecraftschurlimods.bibliocraft.datagen.assets.BCItemModelProvider;
import com.github.minecraftschurlimods.bibliocraft.datagen.assets.BCSoundDefinitionsProvider;
import com.github.minecraftschurlimods.bibliocraft.datagen.data.BCBlockTagsProvider;
import com.github.minecraftschurlimods.bibliocraft.datagen.data.BCItemTagsProvider;
import com.github.minecraftschurlimods.bibliocraft.datagen.data.BCLootTableProvider;
Expand Down Expand Up @@ -32,6 +33,7 @@ private static void gatherData(GatherDataEvent event) {
generator.addProvider(event.includeClient(), new BCEnglishLanguageProvider(output));
generator.addProvider(event.includeClient(), new BCBlockStateProvider(output, existingFileHelper));
generator.addProvider(event.includeClient(), new BCItemModelProvider(output, existingFileHelper));
generator.addProvider(event.includeClient(), new BCSoundDefinitionsProvider(output, existingFileHelper));

generator.addProvider(event.includeServer(), new BCLootTableProvider(output));
generator.addProvider(event.includeServer(), new BCRecipeProvider(output));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ protected void registerStatesAndModels() {
getVariantBuilder(BCBlocks.COOKIE_JAR.get()).forAllStates(state -> ConfiguredModel.builder()
.modelFile(models().getExistingFile(modLoc("block/template/cookie_jar" + (state.getValue(CookieJarBlock.OPEN) ? "_open" : ""))))
.build());
simpleBlock(BCBlocks.DESK_BELL.get(), models().getExistingFile(modLoc("block/desk_bell")));
DatagenUtil.doubleHighHorizontalBlockModel(this, BCBlocks.IRON_FANCY_ARMOR_STAND, models().getExistingFile(modLoc("block/template/fancy_armor_stand/iron_bottom")), models().getExistingFile(modLoc("block/template/fancy_armor_stand/iron_top")), false);
DatagenUtil.horizontalBlockModel(this, BCBlocks.SWORD_PEDESTAL, state -> models().getExistingFile(modLoc("block/sword_pedestal")), false);
for (TableBlock.Type type : TableBlock.Type.values()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public BCEnglishLanguageProvider(PackOutput output) {
protected void addTranslations() {
BibliocraftDatagenHelper.get().generateEnglishTranslations(this);
add(BCBlocks.COOKIE_JAR.get(), "Cookie Jar");
add(BCBlocks.DESK_BELL.get(), "Desk Bell");
add(BCBlocks.IRON_FANCY_ARMOR_STAND.get(), "Iron Fancy Armor Stand");
add(BCBlocks.SWORD_PEDESTAL.get(), "Sword Pedestal");
add(BCItems.REDSTONE_BOOK.get(), "Redstone: Volume 1");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public BCItemModelProvider(PackOutput output, ExistingFileHelper existingFileHel
protected void registerModels() {
BibliocraftDatagenHelper.get().generateItemModels(this);
withExistingParent("cookie_jar", modLoc("block/template/cookie_jar"));
withExistingParent("desk_bell", modLoc("block/desk_bell"));
withExistingParent("iron_fancy_armor_stand", modLoc("block/template/fancy_armor_stand/iron_inventory"));
withExistingParent("sword_pedestal", modLoc("block/sword_pedestal"));
withExistingParent("redstone_book", mcLoc("item/written_book"));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.github.minecraftschurlimods.bibliocraft.datagen.assets;

import com.github.minecraftschurlimods.bibliocraft.Bibliocraft;
import com.github.minecraftschurlimods.bibliocraft.init.BCSoundEvents;
import net.minecraft.data.PackOutput;
import net.minecraft.resources.ResourceLocation;
import net.neoforged.neoforge.common.data.ExistingFileHelper;
import net.neoforged.neoforge.common.data.SoundDefinition;
import net.neoforged.neoforge.common.data.SoundDefinitionsProvider;

public class BCSoundDefinitionsProvider extends SoundDefinitionsProvider {
public BCSoundDefinitionsProvider(PackOutput output, ExistingFileHelper helper) {
super(output, Bibliocraft.MOD_ID, helper);
}

@Override
public void registerSounds() {
add(BCSoundEvents.DESK_BELL.get(), SoundDefinition.definition().with(
sound(new ResourceLocation(Bibliocraft.MOD_ID, "desk_bell_1")),
sound(new ResourceLocation(Bibliocraft.MOD_ID, "desk_bell_2")),
sound(new ResourceLocation(Bibliocraft.MOD_ID, "desk_bell_3")),
sound(new ResourceLocation(Bibliocraft.MOD_ID, "desk_bell_4"))
));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ protected void addTags(HolderLookup.Provider lookupProvider) {
BibliocraftDatagenHelper.get().generateBlockTags(this::tag);
tag(BCTags.Blocks.FANCY_ARMOR_STANDS).addTag(BCTags.Blocks.FANCY_ARMOR_STANDS_WOOD).add(BCBlocks.IRON_FANCY_ARMOR_STAND.get());
tag(BlockTags.MINEABLE_WITH_AXE).addTags(BCTags.Blocks.BOOKCASES, BCTags.Blocks.DISPLAY_CASES, BCTags.Blocks.FANCY_ARMOR_STANDS_WOOD, BCTags.Blocks.LABELS, BCTags.Blocks.POTION_SHELVES, BCTags.Blocks.SEATS, BCTags.Blocks.SHELVES, BCTags.Blocks.TOOL_RACKS);
tag(BlockTags.MINEABLE_WITH_PICKAXE).add(BCBlocks.IRON_FANCY_ARMOR_STAND.get(), BCBlocks.SWORD_PEDESTAL.get());
tag(BlockTags.MINEABLE_WITH_PICKAXE).add(BCBlocks.COOKIE_JAR.get(), BCBlocks.DESK_BELL.get(), BCBlocks.IRON_FANCY_ARMOR_STAND.get(), BCBlocks.SWORD_PEDESTAL.get());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ private BCBlockLootProvider() {
protected void generate() {
BibliocraftDatagenHelper.get().generateLootTables(this::add);
add(BCBlocks.COOKIE_JAR.get(), DatagenUtil.createNameableTable(BCBlocks.COOKIE_JAR.get()));
add(BCBlocks.DESK_BELL.get(), DatagenUtil.createDefaultTable(BCBlocks.DESK_BELL.get()));
add(BCBlocks.IRON_FANCY_ARMOR_STAND.get(), DatagenUtil.createFancyArmorStandTable(BCBlocks.IRON_FANCY_ARMOR_STAND.get()));
add(BCBlocks.SWORD_PEDESTAL.get(), DatagenUtil.createStandardTable(LootItem.lootTableItem(BCBlocks.SWORD_PEDESTAL.get()).apply(CopyNbtFunction.copyData(ContextNbtProvider.BLOCK_ENTITY).copy("color", "display.color"))));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ protected void buildRecipes(RecipeOutput output) {
.define('R', Tags.Items.DUSTS_REDSTONE)
.unlockedBy("has_redstone", has(Tags.Items.DUSTS_REDSTONE))
.save(output);
ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, BCItems.DESK_BELL.get())
.pattern(" B ")
.pattern(" I ")
.pattern("IRI")
.define('B', Items.STONE_BUTTON)
.define('I', Tags.Items.INGOTS_IRON)
.define('R', Tags.Items.DUSTS_REDSTONE)
.unlockedBy("has_redstone", has(Tags.Items.DUSTS_REDSTONE))
.save(output);
ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, BCItems.IRON_FANCY_ARMOR_STAND.get())
.pattern(" I ")
.pattern(" I ")
Expand Down
Loading

0 comments on commit 66b5108

Please sign in to comment.