Skip to content

Commit

Permalink
add gold chains and use chains on the lanterns
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Jul 21, 2024
1 parent 8575167 commit ce6874d
Show file tree
Hide file tree
Showing 27 changed files with 195 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
import com.github.minecraftschurlimods.bibliocraft.content.table.TableBlock;
import com.github.minecraftschurlimods.bibliocraft.init.BCBlocks;
import com.github.minecraftschurlimods.bibliocraft.util.DatagenUtil;
import net.minecraft.core.Direction;
import net.minecraft.data.PackOutput;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.DyeColor;
import net.minecraft.world.level.block.ChainBlock;
import net.neoforged.neoforge.client.model.generators.BlockModelBuilder;
import net.neoforged.neoforge.client.model.generators.BlockStateProvider;
import net.neoforged.neoforge.client.model.generators.ConfiguredModel;
import net.neoforged.neoforge.common.data.ExistingFileHelper;
Expand Down Expand Up @@ -83,6 +86,11 @@ protected void registerStatesAndModels() {
simpleBlock(BCBlocks.DINNER_PLATE.get(), models().getExistingFile(modLoc("block/dinner_plate")));
horizontalBlock(BCBlocks.DISC_RACK.get(), models().getExistingFile(modLoc("block/disc_rack")));
horizontalBlock(BCBlocks.WALL_DISC_RACK.get(), models().getExistingFile(modLoc("block/wall_disc_rack")));
getVariantBuilder(BCBlocks.GOLD_CHAIN.get()).forAllStates(state -> ConfiguredModel.builder()
.modelFile(models().withExistingParent("block/gold_chain", mcLoc("block/chain")).renderType("cutout").texture("all", modLoc("block/gold_chain")).texture("particle", modLoc("block/gold_chain")))
.rotationX(state.getValue(ChainBlock.AXIS) != Direction.Axis.Y ? 90 : 0)
.rotationY(state.getValue(ChainBlock.AXIS) == Direction.Axis.X ? 90 : 0)
.build());
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 @@ -37,6 +37,7 @@ protected void addTranslations() {
addDefaultBlock(BCBlocks.DINNER_PLATE);
addDefaultBlock(BCBlocks.DISC_RACK);
add(BCBlocks.WALL_DISC_RACK.get(), "Disc Rack");
addDefaultBlock(BCBlocks.GOLD_CHAIN);
addDefaultBlock(BCBlocks.IRON_FANCY_ARMOR_STAND);
addDefaultBlock(BCBlocks.SWORD_PEDESTAL);
add(BCItems.REDSTONE_BOOK.get(), "Redstone: Volume 1");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public BCItemModelProvider(PackOutput output, ExistingFileHelper existingFileHel
protected void registerModels() {
BibliocraftApi.getDatagenHelper().generateItemModels(this);
basicItem(BCItems.CLIPBOARD.get());
basicItem(BCItems.GOLD_CHAIN.get());
withExistingParent("fancy_gold_lamp", modLoc("block/fancy_gold_lamp_standing"));
withExistingParent("fancy_iron_lamp", modLoc("block/fancy_iron_lamp_standing"));
withExistingParent("fancy_gold_lantern", modLoc("block/fancy_gold_lantern_standing"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ protected void generate() {
add(BCBlocks.DINNER_PLATE.get(), DatagenUtil.createDefaultTable(BCBlocks.DINNER_PLATE.get()));
add(BCBlocks.DISC_RACK.get(), DatagenUtil.createNameableTable(BCBlocks.DISC_RACK.get()));
add(BCBlocks.WALL_DISC_RACK.get(), DatagenUtil.createNameableTable(BCBlocks.DISC_RACK.get()));
add(BCBlocks.GOLD_CHAIN.get(), DatagenUtil.createDefaultTable(BCBlocks.GOLD_CHAIN.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(CopyComponentsFunction.copyComponents(CopyComponentsFunction.Source.BLOCK_ENTITY).include(DataComponents.DYED_COLOR))));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,16 @@ protected void buildRecipes(RecipeOutput output) {
.define('S', ItemTags.WOODEN_SLABS)
.unlockedBy("has_wooden_slab", has(ItemTags.WOODEN_SLABS))
.save(output);
ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, BCItems.GOLD_CHAIN.get())
.pattern("N")
.pattern("I")
.pattern("N")
.define('I', Tags.Items.INGOTS_GOLD)
.define('N', Tags.Items.NUGGETS_GOLD)
.unlockedBy("has_gold_ingot", has(Tags.Items.INGOTS_GOLD))
.unlockedBy("has_gold_nugget", has(Tags.Items.NUGGETS_GOLD))
.unlockedBy("has_gold_chain", has(BCItems.GOLD_CHAIN))
.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.21 2024-07-18T15:08:41.0228802 Loot Tables
// 1.21 2024-07-21T18:06:41.33968 Loot Tables
de27c2af93e5cab5a9d4b946062ded6257a7e5d7 data/bibliocraft/loot_table/blocks/acacia_bookcase.json
76ad281e44358ad5de5d4b8120b7b1de0742103a data/bibliocraft/loot_table/blocks/acacia_fancy_armor_stand.json
318a3b2f6a21fbd5812a8d9262c53207f8fc71e0 data/bibliocraft/loot_table/blocks/acacia_label.json
Expand Down Expand Up @@ -241,6 +241,7 @@ d587878555ba8fd1de42ec97d2ece7c6f445c817 data/bibliocraft/loot_table/blocks/disc
03e6415f571c7b6ca4f6cc611d6edf65f5ec6c4d data/bibliocraft/loot_table/blocks/fancy_gold_lantern.json
cc3fa71a854770468fd0de03fd312d9680e062e2 data/bibliocraft/loot_table/blocks/fancy_iron_lamp.json
b7fb44b811acb31b5fe8bd84fd26e166ac2c6c3c data/bibliocraft/loot_table/blocks/fancy_iron_lantern.json
1a10d7fdceda498503e9bb89cc129bb18887f104 data/bibliocraft/loot_table/blocks/gold_chain.json
c1fb9db82ec1fc38dbe3b55b25ca5d9376e47424 data/bibliocraft/loot_table/blocks/gray_acacia_display_case.json
2a3d608d16e2c147a1b438db215ce20dbd9fe394 data/bibliocraft/loot_table/blocks/gray_acacia_seat.json
83f0f0752a06926b21451da2a207baa7a737120d data/bibliocraft/loot_table/blocks/gray_acacia_seat_back.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21 2024-07-18T15:11:48.0352186 Recipes
// 1.21 2024-07-21T18:06:41.4376781 Recipes
269deaa12a4f5857b6137aeee6f02144569207b8 data/bibliocraft/advancement/recipes/building_blocks/color/black/sword_pedestal.json
5a59727883c9c912fc122a07031cba028cab5ec7 data/bibliocraft/advancement/recipes/building_blocks/color/blue/sword_pedestal.json
6c38e7dbf1d245e147169dd82f86311e7874dd6d data/bibliocraft/advancement/recipes/building_blocks/color/brown/sword_pedestal.json
Expand Down Expand Up @@ -1320,6 +1320,7 @@ e4cbfe1f87ac0f537780fd5b19be25a71d202092 data/bibliocraft/advancement/recipes/de
f99c534a3c25ebeb1a46d18c75a05bd41d7b4893 data/bibliocraft/advancement/recipes/decorations/fancy_gold_lantern.json
93034f77105799fa0e26f73de2d9e1844686f435 data/bibliocraft/advancement/recipes/decorations/fancy_iron_lamp.json
64a8af53811aadb5a27fc3eee71309990c67f6c1 data/bibliocraft/advancement/recipes/decorations/fancy_iron_lantern.json
27febb026838fe7d5c00b9261b6e677ad73267a8 data/bibliocraft/advancement/recipes/decorations/gold_chain.json
977788d902aad7332bd26ee35112a89320bfb5a5 data/bibliocraft/advancement/recipes/decorations/wood/acacia/bookcase.json
f98b72e3ad681e7f4ab3ad801016d68561432478 data/bibliocraft/advancement/recipes/decorations/wood/acacia/fancy_armor_stand.json
7b2eed9f20df9a1c7963565a3e7c4806937eedce data/bibliocraft/advancement/recipes/decorations/wood/acacia/label.json
Expand Down Expand Up @@ -2720,6 +2721,7 @@ c23f8327280a6fe5317820a8b1ff5e3f5244c959 data/bibliocraft/recipe/fancy_gold_lamp
6365e0853de85a0fdd09d68b7eef48f3f8bf43f3 data/bibliocraft/recipe/fancy_gold_lantern.json
d831ca4c26a942cd487fd3b1659edd24a12d0672 data/bibliocraft/recipe/fancy_iron_lamp.json
b50ec25806b003ee56d8a2d4f1cec23e14ec849d data/bibliocraft/recipe/fancy_iron_lantern.json
7c3bddca5773e3dff7dcf5af58fdaacc1f4211e9 data/bibliocraft/recipe/gold_chain.json
0db8826f068f2cb63ae171b8d0f4cc15c878c24f data/bibliocraft/recipe/iron_fancy_armor_stand.json
f0583eb232b6f310d7e4f1f397aa3f88da36c195 data/bibliocraft/recipe/redstone_book.json
b277312279cd10d36327954b4eabd7385e8de37e data/bibliocraft/recipe/wood/acacia/bookcase.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21 2024-07-18T15:08:41.0489109 Item Models: bibliocraft
// 1.21 2024-07-21T18:22:11.1665865 Item Models: bibliocraft
4f9e90140d7161f62b8e8c1fcf9e6d67fb404ff2 assets/bibliocraft/models/item/acacia_bookcase.json
a785a9553cc8751ab507ae037fdaaac40d0ca475 assets/bibliocraft/models/item/acacia_fancy_armor_stand.json
90285e3e9d48b221e35a0ef303eb59bb455d98f9 assets/bibliocraft/models/item/acacia_label.json
Expand Down Expand Up @@ -374,6 +374,7 @@ bc76e81625d3ba09706eefdd4b3fdc63eb90cb24 assets/bibliocraft/models/item/fancy_go
97b090f654d3c5b75d237b87f2d8f4f4f8209105 assets/bibliocraft/models/item/fancy_gold_lantern.json
8325f2e5eb25fc4c263dee280940107d0809c172 assets/bibliocraft/models/item/fancy_iron_lamp.json
469a848a3d448464045b192ec5a6598a9bf45c9a assets/bibliocraft/models/item/fancy_iron_lantern.json
e6f2247586f0771c1862b07c9af5bccaaff35389 assets/bibliocraft/models/item/gold_chain.json
fe63431d94208b5ed78b0468a41010d25132866d assets/bibliocraft/models/item/gray_acacia_display_case.json
f4e4c3cd4d89e99dd504671754c1447b15dfb22e assets/bibliocraft/models/item/gray_acacia_fancy_seat_back.json
3a2e75d9da41539578a977d2c7a9b7b6c8a9cd10 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.21 2024-07-18T15:08:41.0208797 Languages: en_us for mod: bibliocraft
28b674adb12ac1dbc4c61098b24c09bf9a4dc85b assets/bibliocraft/lang/en_us.json
// 1.21 2024-07-21T18:06:41.3366821 Languages: en_us for mod: bibliocraft
b75a8ab395c0be1b1534400cb3b12cd86d3c5ba5 assets/bibliocraft/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21 2024-07-18T15:08:41.131527 Block States: bibliocraft
// 1.21 2024-07-21T18:28:58.1028985 Block States: bibliocraft
23f86a6b339d2fdc9c4dda555aa0311610f87d20 assets/bibliocraft/blockstates/acacia_bookcase.json
6c10a69af472e9dd59ec2c95c9c8a0898273dac2 assets/bibliocraft/blockstates/acacia_fancy_armor_stand.json
2a6c75a0b4b782b05656eb3b3c907447c3bfe6be assets/bibliocraft/blockstates/acacia_label.json
Expand Down Expand Up @@ -241,6 +241,7 @@ fb3afbf9467227b5f936669230ab2d364edabfe9 assets/bibliocraft/blockstates/dark_oak
a19b70a065650e78ee7408cd4fc39deba06b7255 assets/bibliocraft/blockstates/fancy_gold_lantern.json
64cd29c0cb60b5a4709f3ae3393317caef9a2027 assets/bibliocraft/blockstates/fancy_iron_lamp.json
5400c566f7d5bd5ec9fe3a203c53490e2da0f789 assets/bibliocraft/blockstates/fancy_iron_lantern.json
5a50d968aca84c2ecd6906a3c73878554492ea84 assets/bibliocraft/blockstates/gold_chain.json
b12d25fc7f1669f452afd2ec25bbb4514e6e4f6f assets/bibliocraft/blockstates/gray_acacia_display_case.json
ad1d75a1ef2cd4c814bc55f66274a8efc9d82955 assets/bibliocraft/blockstates/gray_acacia_seat.json
f9da8f51f17f1b09eb1791f87b53f2406e674ebc assets/bibliocraft/blockstates/gray_acacia_seat_back.json
Expand Down Expand Up @@ -2915,6 +2916,7 @@ a03c1fc13d0f96302a2ec1f9eb2038102bd20323 assets/bibliocraft/models/block/fancy_i
d4a70da018bae919a1970ec5f1f0e3fbc9310334 assets/bibliocraft/models/block/fancy_iron_lantern_hanging.json
8499958cfabed00b358eae6ef32e6c54482452bf assets/bibliocraft/models/block/fancy_iron_lantern_standing.json
2e56365948b632bf31cb5eaf38d0ba318219e00f assets/bibliocraft/models/block/fancy_iron_lantern_wall.json
8a61fe5bebfedf81577002b9b35978cf7d61a216 assets/bibliocraft/models/block/gold_chain.json
f565dd47bde8164edb39ced75ef80a93c2bf6191 assets/bibliocraft/models/block/wood/acacia/bookcase.json
a4bc30162f2f879a83ab4d3d8e87ab003097b1f9 assets/bibliocraft/models/block/wood/acacia/fancy_armor_stand_bottom.json
bdaf02c4a758bec5bc2366e106499934e2a3d948 assets/bibliocraft/models/block/wood/acacia/fancy_armor_stand_top.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"variants": {
"axis=x,waterlogged=false": {
"model": "bibliocraft:block/gold_chain",
"x": 90,
"y": 90
},
"axis=x,waterlogged=true": {
"model": "bibliocraft:block/gold_chain",
"x": 90,
"y": 90
},
"axis=y,waterlogged=false": {
"model": "bibliocraft:block/gold_chain"
},
"axis=y,waterlogged=true": {
"model": "bibliocraft:block/gold_chain"
},
"axis=z,waterlogged=false": {
"model": "bibliocraft:block/gold_chain",
"x": 90
},
"axis=z,waterlogged=true": {
"model": "bibliocraft:block/gold_chain",
"x": 90
}
}
}
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 @@ -241,6 +241,7 @@
"block.bibliocraft.fancy_gold_lantern": "Fancy Gold Lantern",
"block.bibliocraft.fancy_iron_lamp": "Fancy Iron Lamp",
"block.bibliocraft.fancy_iron_lantern": "Fancy Iron Lantern",
"block.bibliocraft.gold_chain": "Gold Chain",
"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,8 @@
{
"parent": "minecraft:block/chain",
"render_type": "minecraft:cutout",
"textures": {
"all": "bibliocraft:block/gold_chain",
"particle": "bibliocraft:block/gold_chain"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "bibliocraft:item/gold_chain"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_gold_chain": {
"conditions": {
"items": [
{
"items": "bibliocraft:gold_chain"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_gold_ingot": {
"conditions": {
"items": [
{
"items": "#c:ingots/gold"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_gold_nugget": {
"conditions": {
"items": [
{
"items": "#c:nuggets/gold"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "bibliocraft:gold_chain"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_gold_ingot",
"has_gold_nugget",
"has_gold_chain"
]
],
"rewards": {
"recipes": [
"bibliocraft:gold_chain"
]
}
}
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:gold_chain"
}
],
"rolls": 1.0
}
],
"random_sequence": "bibliocraft:blocks/gold_chain"
}
21 changes: 21 additions & 0 deletions src/generated/resources/data/bibliocraft/recipe/gold_chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"I": {
"tag": "c:ingots/gold"
},
"N": {
"tag": "c:nuggets/gold"
}
},
"pattern": [
"N",
"I",
"N"
],
"result": {
"count": 1,
"id": "bibliocraft:gold_chain"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import com.github.minecraftschurlimods.bibliocraft.util.ShapeUtil;
import net.minecraft.core.BlockPos;
import net.minecraft.core.particles.ParticleTypes;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.sounds.SoundSource;
import net.minecraft.util.RandomSource;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
Expand All @@ -27,8 +25,7 @@ public class FancyLanternBlock extends AbstractFancyLightBlock {
Shapes.box(0.3125, 0.6875, 0.3125, 0.6875, 0.75, 0.6875),
Shapes.box(0.375, 0.75, 0.375, 0.625, 0.8125, 0.625));
private static final VoxelShape HANGING_SHAPE = ShapeUtil.combine(STANDING_SHAPE,
Shapes.box(0.46875, 0.8125, 0.46875, 0.53125, 0.9375, 0.53125),
Shapes.box(0.375, 0.9375, 0.375, 0.625, 1, 0.625));
Shapes.box(0.40625, 0.8125, 0.40625, 0.59375, 1.0, 0.59375));
private static final VoxelShape NORTH_WALL_SHAPE = ShapeUtil.combine(STANDING_SHAPE,
Shapes.box(0.4375, 0.65625, 0.9375, 0.5625, 0.90625, 1),
Shapes.box(0.46875, 0.70625, 0.875, 0.53125, 0.83125, 0.9375),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.github.minecraftschurlimods.bibliocraft.util.init.WoodTypeDeferredHolder;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.ChainBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.neoforged.neoforge.registries.DeferredBlock;

Expand Down Expand Up @@ -55,6 +56,7 @@ public interface BCBlocks {
DeferredBlock<DinnerPlateBlock> DINNER_PLATE = BCRegistries.BLOCKS.register("dinner_plate", () -> new DinnerPlateBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SMOOTH_QUARTZ).noOcclusion()));
DeferredBlock<DiscRackBlock> DISC_RACK = BCRegistries.BLOCKS.register("disc_rack", () -> new DiscRackBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUKEBOX).noOcclusion()));
DeferredBlock<WallDiscRackBlock> WALL_DISC_RACK = BCRegistries.BLOCKS.register("wall_disc_rack", () -> new WallDiscRackBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUKEBOX).noOcclusion()));
DeferredBlock<ChainBlock> GOLD_CHAIN = BCRegistries.BLOCKS.register("gold_chain", () -> new ChainBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.CHAIN)));
DeferredBlock<FancyArmorStandBlock> IRON_FANCY_ARMOR_STAND = BCRegistries.BLOCKS.register("iron_fancy_armor_stand", () -> new FancyArmorStandBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK).noOcclusion()));
DeferredBlock<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 @@ -47,6 +47,7 @@ public interface BCCreativeTabs {
output.accept(BCItems.DESK_BELL);
output.accept(BCItems.DINNER_PLATE);
output.accept(BCItems.DISC_RACK);
output.accept(BCItems.GOLD_CHAIN);
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 @@ -49,6 +49,7 @@ public interface BCItems {
DeferredItem<BlockItem> DESK_BELL = BCRegistries.ITEMS.registerSimpleBlockItem(BCBlocks.DESK_BELL);
DeferredItem<BlockItem> DINNER_PLATE = BCRegistries.ITEMS.registerSimpleBlockItem(BCBlocks.DINNER_PLATE);
DeferredItem<DiscRackItem> DISC_RACK = BCRegistries.ITEMS.registerItem("disc_rack", DiscRackItem::new);
DeferredItem<BlockItem> GOLD_CHAIN = BCRegistries.ITEMS.registerSimpleBlockItem(BCBlocks.GOLD_CHAIN);
DeferredItem<DoubleHighBlockItem> IRON_FANCY_ARMOR_STAND = BCRegistries.ITEMS.register("iron_fancy_armor_stand", () -> new DoubleHighBlockItem(BCBlocks.IRON_FANCY_ARMOR_STAND.get(), PROPERTIES));
DeferredItem<BlockItem> SWORD_PEDESTAL = BCRegistries.ITEMS.register("sword_pedestal", () -> new BlockItem(BCBlocks.SWORD_PEDESTAL.get(), new Item.Properties().component(DataComponents.DYED_COLOR, SwordPedestalBlock.DEFAULT_COLOR)));
DeferredItem<RedstoneBookItem> REDSTONE_BOOK = BCRegistries.ITEMS.registerItem("redstone_book", RedstoneBookItem::new);
Expand Down
Loading

0 comments on commit ce6874d

Please sign in to comment.