Skip to content

Commit

Permalink
dinner plate block, plus some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Apr 9, 2024
1 parent 1ca02a8 commit 3d50db9
Show file tree
Hide file tree
Showing 26 changed files with 465 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ protected void registerStatesAndModels() {
.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")));
simpleBlock(BCBlocks.DINNER_PLATE.get(), models().getExistingFile(modLoc("block/dinner_plate")));
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 @@ -19,6 +19,7 @@ protected void addTranslations() {
add(BCItems.CLIPBOARD.get(), "Clipboard");
add(BCBlocks.COOKIE_JAR.get(), "Cookie Jar");
add(BCBlocks.DESK_BELL.get(), "Desk Bell");
add(BCBlocks.DINNER_PLATE.get(), "Dinner Plate");
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 @@ -17,6 +17,7 @@ protected void registerModels() {
basicItem(BCItems.CLIPBOARD.get());
withExistingParent("cookie_jar", modLoc("block/template/cookie_jar"));
withExistingParent("desk_bell", modLoc("block/desk_bell"));
withExistingParent("dinner_plate", modLoc("block/dinner_plate"));
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
Expand Up @@ -42,6 +42,7 @@ protected void generate() {
BibliocraftApi.getDatagenHelper().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.DINNER_PLATE.get(), DatagenUtil.createDefaultTable(BCBlocks.DINNER_PLATE.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 @@ -44,7 +44,9 @@ protected void buildRecipes(RecipeOutput output) {
.define('I', Tags.Items.DYES_BLACK)
.define('F', Tags.Items.FEATHERS)
.define('P', Items.PAPER)
.define('L', ItemTags.WOODEN_PRESSURE_PLATES);
.define('L', ItemTags.WOODEN_PRESSURE_PLATES)
.unlockedBy("has_paper", has(Items.PAPER))
.save(output);
ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, BCItems.COOKIE_JAR.get())
.pattern(" I ")
.pattern("GCG")
Expand All @@ -64,6 +66,11 @@ 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.DINNER_PLATE.get())
.pattern("SSS")
.define('S', Items.SMOOTH_QUARTZ_SLAB)
.unlockedBy("has_smooth_quartz", has(Items.SMOOTH_QUARTZ_SLAB))
.save(output);
ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, BCItems.IRON_FANCY_ARMOR_STAND.get())
.pattern(" I ")
.pattern(" I ")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-03-10T23:25:32.7580788 Loot Tables
// 1.20.4 2024-04-09T21:38:47.11197 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 @@ -219,6 +219,7 @@ bcdf8c19ca859a4ac5bb4459adaf1e9c1358c95c data/bibliocraft/loot_tables/blocks/dar
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
cf9121b8b07d7ee97f6af9300ec65bd2d609fc20 data/bibliocraft/loot_tables/blocks/dinner_plate.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
@@ -1,4 +1,4 @@
// 1.20.4 2024-03-10T23:25:32.951931 Recipes
// 1.20.4 2024-04-09T21:38:47.142763 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 @@ -1327,6 +1327,8 @@ cac5cf356e5c2ffcb5d2d619bdb96c8b67081d68 data/bibliocraft/advancements/recipes/b
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
93842d45200d0c9299e984181448249c17cd4937 data/bibliocraft/advancements/recipes/decorations/dinner_plate.json
6bfa53b6fce6d45683be632e2617ccbc3e1c366a data/bibliocraft/advancements/recipes/misc/clipboard.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 @@ -1587,6 +1589,7 @@ eb95cf60fed0b0e41bb1532d3230b7e154db2a7d data/bibliocraft/recipes/cherry_potion_
9e56986c16eaac11dfec437b84a05649af645bc9 data/bibliocraft/recipes/cherry_shelf.json
17156e495559a0d4a2b32da8a07ae37b086b3905 data/bibliocraft/recipes/cherry_table.json
b3b41bf9ded6094102fa4f665228971134a61246 data/bibliocraft/recipes/cherry_tool_rack.json
81a98d749410f9d8278584cd6a7a83bb8547c2b9 data/bibliocraft/recipes/clipboard.json
7fabf961ca7aa7cb7943c006e887551c0c6ddad1 data/bibliocraft/recipes/cookie_jar.json
29d169317d7b247b29d6a1858a44c0eed1fefac5 data/bibliocraft/recipes/crimson_bookcase.json
485f28e6ea33255d3ee1ae8848613b1aaa612949 data/bibliocraft/recipes/crimson_fancy_armor_stand.json
Expand Down Expand Up @@ -1680,6 +1683,7 @@ bb5a7486115a2976e09932f1d266d63cd66fdbe5 data/bibliocraft/recipes/dark_oak_potio
a4c19352c66ad06dff4d63ee879177a72ad4299a data/bibliocraft/recipes/dark_oak_table.json
2e6eb8da8b99b22b36a32577226b5bdfb5e65668 data/bibliocraft/recipes/dark_oak_tool_rack.json
7494c23fc5bdb1733e15b2caaa3c88655e781d67 data/bibliocraft/recipes/desk_bell.json
7e43f6023e20331833a503a9136f569233dc945e data/bibliocraft/recipes/dinner_plate.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-04-07T15:45:49.609325 Item Models: bibliocraft
// 1.20.4 2024-04-09T21:38:47.1259217 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 @@ -352,6 +352,7 @@ db6277b1d40adaa163fbcbd1d14f3eebf29ff5b2 assets/bibliocraft/models/item/dark_oak
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
57f10bfc4ae388b6cc81fed8e5da57d9ecbd12f4 assets/bibliocraft/models/item/dinner_plate.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-04-07T15:45:49.6043422 Languages: en_us for mod: bibliocraft
559c81a4948f893a0171d2deeb263bb1eb16fb5b assets/bibliocraft/lang/en_us.json
// 1.20.4 2024-04-09T21:38:47.108993 Languages: en_us for mod: bibliocraft
f3049f0a4f5f84cadb8e2960e1eaf682df44d96e 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-10T23:25:33.0985317 Block States: bibliocraft
// 1.20.4 2024-04-09T21:42:35.4864233 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 @@ -219,6 +219,7 @@ aac309de26f2c9a8f39f825482b5b015386aa925 assets/bibliocraft/blockstates/dark_oak
0e4c42cad7a2d08ae005bc2c7889d675b21340e2 assets/bibliocraft/blockstates/dark_oak_table.json
83a7d8369684d59e8386d1d23ea688eace4e8b06 assets/bibliocraft/blockstates/dark_oak_tool_rack.json
73b556a04d812f19dc8e886e061f1a02248ccba8 assets/bibliocraft/blockstates/desk_bell.json
996109a6263ed37c7552555d48e2c50a83042982 assets/bibliocraft/blockstates/dinner_plate.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/dinner_plate"
}
}
}
1 change: 1 addition & 0 deletions src/main/generated/assets/bibliocraft/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
"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.dinner_plate": "Dinner Plate",
"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/dinner_plate"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_smooth_quartz": {
"conditions": {
"items": [
{
"items": [
"minecraft:smooth_quartz_slab"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "bibliocraft:dinner_plate"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_smooth_quartz"
]
],
"rewards": {
"recipes": [
"bibliocraft:dinner_plate"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_paper": {
"conditions": {
"items": [
{
"items": [
"minecraft:paper"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "bibliocraft:clipboard"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_paper"
]
],
"rewards": {
"recipes": [
"bibliocraft:clipboard"
]
}
}
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:dinner_plate"
}
],
"rolls": 1.0
}
],
"random_sequence": "bibliocraft:blocks/dinner_plate"
}
26 changes: 26 additions & 0 deletions src/main/generated/data/bibliocraft/recipes/clipboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"F": {
"tag": "forge:feathers"
},
"I": {
"tag": "forge:dyes/black"
},
"L": {
"tag": "minecraft:wooden_pressure_plates"
},
"P": {
"item": "minecraft:paper"
}
},
"pattern": [
"I F",
"PPP",
" L "
],
"result": {
"item": "bibliocraft:clipboard"
}
}
15 changes: 15 additions & 0 deletions src/main/generated/data/bibliocraft/recipes/dinner_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"S": {
"item": "minecraft:smooth_quartz_slab"
}
},
"pattern": [
"SSS"
],
"result": {
"item": "bibliocraft:dinner_plate"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package com.github.minecraftschurlimods.bibliocraft.content.dinnerplate;

import com.github.minecraftschurlimods.bibliocraft.util.ShapeUtil;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.state.BlockState;
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 DinnerPlateBlock extends Block {
public static final VoxelShape SHAPE = ShapeUtil.combine(
Shapes.box(0.25, 0, 0.3125, 0.75, 0.0625, 0.6875),
Shapes.box(0.1875, 0, 0.375, 0.25, 0.0625, 0.625),
Shapes.box(0.75, 0, 0.375, 0.8125, 0.0625, 0.625),
Shapes.box(0.71875, 0.03125, 0.34375, 0.78125, 0.09375, 0.65625),
Shapes.box(0.34375, 0.03125, 0.21875, 0.65625, 0.09375, 0.28125),
Shapes.box(0.21875, 0.03125, 0.34375, 0.28125, 0.09375, 0.65625),
Shapes.box(0.34375, 0.03125, 0.71875, 0.65625, 0.09375, 0.78125),
Shapes.box(0.28125, 0.03125, 0.28125, 0.40625, 0.09375, 0.34375),
Shapes.box(0.28125, 0.03125, 0.34375, 0.34375, 0.09375, 0.40625),
Shapes.box(0.59375, 0.03125, 0.28125, 0.71875, 0.09375, 0.34375),
Shapes.box(0.65625, 0.03125, 0.34375, 0.71875, 0.09375, 0.40625),
Shapes.box(0.59375, 0.03125, 0.65625, 0.71875, 0.09375, 0.71875),
Shapes.box(0.65625, 0.03125, 0.59375, 0.71875, 0.09375, 0.65625),
Shapes.box(0.28125, 0.03125, 0.65625, 0.40625, 0.09375, 0.71875),
Shapes.box(0.28125, 0.03125, 0.59375, 0.34375, 0.09375, 0.65625));

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

@Override
public VoxelShape getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) {
return SHAPE;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
package com.github.minecraftschurlimods.bibliocraft.content.dinnerplate;

import net.minecraft.MethodsReturnNonnullByDefault;

import javax.annotation.ParametersAreNonnullByDefault;
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.github.minecraftschurlimods.bibliocraft.content.DeskBellBlock;
import com.github.minecraftschurlimods.bibliocraft.content.bookcase.BookcaseBlock;
import com.github.minecraftschurlimods.bibliocraft.content.cookiejar.CookieJarBlock;
import com.github.minecraftschurlimods.bibliocraft.content.dinnerplate.DinnerPlateBlock;
import com.github.minecraftschurlimods.bibliocraft.content.displaycase.DisplayCaseBlock;
import com.github.minecraftschurlimods.bibliocraft.content.displaycase.WallDisplayCaseBlock;
import com.github.minecraftschurlimods.bibliocraft.content.fancyarmorstand.FancyArmorStandBlock;
Expand Down Expand Up @@ -37,6 +38,7 @@ public interface BCBlocks {
ColoredWoodTypeDeferredHolder<Block, SeatBackBlock> SEAT_BACK = coloredWoodenBlock("seat_back", SeatBackBlock::new);
DeferredHolder<Block, CookieJarBlock> COOKIE_JAR = BCRegistries.BLOCKS.register("cookie_jar", () -> new CookieJarBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.GLASS)));
DeferredHolder<Block, DeskBellBlock> DESK_BELL = BCRegistries.BLOCKS.register("desk_bell", () -> new DeskBellBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK).noOcclusion()));
DeferredHolder<Block, DinnerPlateBlock> DINNER_PLATE = BCRegistries.BLOCKS.register("dinner_plate", () -> new DinnerPlateBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SMOOTH_QUARTZ).noOcclusion()));
DeferredHolder<Block, FancyArmorStandBlock> IRON_FANCY_ARMOR_STAND = BCRegistries.BLOCKS.register("iron_fancy_armor_stand", () -> new FancyArmorStandBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK).noOcclusion()));
DeferredHolder<Block, SwordPedestalBlock> SWORD_PEDESTAL = BCRegistries.BLOCKS.register("sword_pedestal", () -> new SwordPedestalBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SMOOTH_STONE).noOcclusion()));
//TODO Clipboard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public interface BCCreativeTabs {
output.accept(BCItems.CLIPBOARD);
output.accept(BCItems.COOKIE_JAR);
output.accept(BCItems.DESK_BELL);
output.accept(BCItems.DINNER_PLATE);
output.accept(BCItems.IRON_FANCY_ARMOR_STAND);
for (DyeColor color : DyeColor.values()) {
ItemStack stack = new ItemStack(BCItems.SWORD_PEDESTAL.get());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public interface BCItems {
DeferredItem<ClipboardItem> CLIPBOARD = BCRegistries.ITEMS.register("clipboard", ClipboardItem::new);
DeferredItem<BlockItem> COOKIE_JAR = BCRegistries.ITEMS.registerSimpleBlockItem(BCBlocks.COOKIE_JAR);
DeferredItem<BlockItem> DESK_BELL = BCRegistries.ITEMS.registerSimpleBlockItem(BCBlocks.DESK_BELL);
DeferredItem<BlockItem> DINNER_PLATE = BCRegistries.ITEMS.registerSimpleBlockItem(BCBlocks.DINNER_PLATE);
DeferredItem<DoubleHighBlockItem> IRON_FANCY_ARMOR_STAND = BCRegistries.ITEMS.register("iron_fancy_armor_stand", () -> new DoubleHighBlockItem(BCBlocks.IRON_FANCY_ARMOR_STAND.get(), PROPERTIES));
DeferredItem<SwordPedestalItem> SWORD_PEDESTAL = BCRegistries.ITEMS.register("sword_pedestal", SwordPedestalItem::new);
DeferredItem<RedstoneBookItem> REDSTONE_BOOK = BCRegistries.ITEMS.registerItem("redstone_book", RedstoneBookItem::new);
Expand Down
Loading

0 comments on commit 3d50db9

Please sign in to comment.