Skip to content

Commit

Permalink
Add concrete and stone tile
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Nov 10, 2023
1 parent e20cc88 commit 45c2458
Show file tree
Hide file tree
Showing 143 changed files with 3,110 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,66 @@ public class GeneratedModBlocks {
public static final RegistryObject<Item> WALLPAPER_1_SLAB_ITEM = ITEMS.register("generated/wood/wallpaper_1_slab", () -> new BlockItem(WALLPAPER_1_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> WALLPAPER_1_STAIRS = BLOCKS.register("generated/wood/wallpaper_1_stairs", () -> new ModStairs(WALLPAPER_1.get().defaultBlockState(), BlockBehaviour.Properties.copy(WALLPAPER_1.get())));
public static final RegistryObject<Item> WALLPAPER_1_STAIRS_ITEM = ITEMS.register("generated/wood/wallpaper_1_stairs", () -> new BlockItem(WALLPAPER_1_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_1 = BLOCKS.register("generated/stone/concrete_1_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_1_ITEM = ITEMS.register("generated/stone/concrete_1", () -> new BlockItem(CONCRETE_1.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_1_SLAB = BLOCKS.register("generated/stone/concrete_1_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_1.get())));
public static final RegistryObject<Item> CONCRETE_1_SLAB_ITEM = ITEMS.register("generated/stone/concrete_1_slab", () -> new BlockItem(CONCRETE_1_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_1_STAIRS = BLOCKS.register("generated/stone/concrete_1_stairs", () -> new ModStairs(CONCRETE_1.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_1.get())));
public static final RegistryObject<Item> CONCRETE_1_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_1_stairs", () -> new BlockItem(CONCRETE_1_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_2 = BLOCKS.register("generated/stone/concrete_2_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_2_ITEM = ITEMS.register("generated/stone/concrete_2", () -> new BlockItem(CONCRETE_2.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_2_SLAB = BLOCKS.register("generated/stone/concrete_2_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_2.get())));
public static final RegistryObject<Item> CONCRETE_2_SLAB_ITEM = ITEMS.register("generated/stone/concrete_2_slab", () -> new BlockItem(CONCRETE_2_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_2_STAIRS = BLOCKS.register("generated/stone/concrete_2_stairs", () -> new ModStairs(CONCRETE_2.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_2.get())));
public static final RegistryObject<Item> CONCRETE_2_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_2_stairs", () -> new BlockItem(CONCRETE_2_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_3 = BLOCKS.register("generated/stone/concrete_3_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_3_ITEM = ITEMS.register("generated/stone/concrete_3", () -> new BlockItem(CONCRETE_3.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_3_SLAB = BLOCKS.register("generated/stone/concrete_3_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_3.get())));
public static final RegistryObject<Item> CONCRETE_3_SLAB_ITEM = ITEMS.register("generated/stone/concrete_3_slab", () -> new BlockItem(CONCRETE_3_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_3_STAIRS = BLOCKS.register("generated/stone/concrete_3_stairs", () -> new ModStairs(CONCRETE_3.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_3.get())));
public static final RegistryObject<Item> CONCRETE_3_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_3_stairs", () -> new BlockItem(CONCRETE_3_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_4 = BLOCKS.register("generated/stone/concrete_4_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_4_ITEM = ITEMS.register("generated/stone/concrete_4", () -> new BlockItem(CONCRETE_4.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_4_SLAB = BLOCKS.register("generated/stone/concrete_4_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_4.get())));
public static final RegistryObject<Item> CONCRETE_4_SLAB_ITEM = ITEMS.register("generated/stone/concrete_4_slab", () -> new BlockItem(CONCRETE_4_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_4_STAIRS = BLOCKS.register("generated/stone/concrete_4_stairs", () -> new ModStairs(CONCRETE_4.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_4.get())));
public static final RegistryObject<Item> CONCRETE_4_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_4_stairs", () -> new BlockItem(CONCRETE_4_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_5 = BLOCKS.register("generated/stone/concrete_5_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_5_ITEM = ITEMS.register("generated/stone/concrete_5", () -> new BlockItem(CONCRETE_5.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_5_SLAB = BLOCKS.register("generated/stone/concrete_5_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_5.get())));
public static final RegistryObject<Item> CONCRETE_5_SLAB_ITEM = ITEMS.register("generated/stone/concrete_5_slab", () -> new BlockItem(CONCRETE_5_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_5_STAIRS = BLOCKS.register("generated/stone/concrete_5_stairs", () -> new ModStairs(CONCRETE_5.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_5.get())));
public static final RegistryObject<Item> CONCRETE_5_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_5_stairs", () -> new BlockItem(CONCRETE_5_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_6 = BLOCKS.register("generated/stone/concrete_6_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_6_ITEM = ITEMS.register("generated/stone/concrete_6", () -> new BlockItem(CONCRETE_6.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_6_SLAB = BLOCKS.register("generated/stone/concrete_6_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_6.get())));
public static final RegistryObject<Item> CONCRETE_6_SLAB_ITEM = ITEMS.register("generated/stone/concrete_6_slab", () -> new BlockItem(CONCRETE_6_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_6_STAIRS = BLOCKS.register("generated/stone/concrete_6_stairs", () -> new ModStairs(CONCRETE_6.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_6.get())));
public static final RegistryObject<Item> CONCRETE_6_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_6_stairs", () -> new BlockItem(CONCRETE_6_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_7 = BLOCKS.register("generated/stone/concrete_7_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> CONCRETE_7_ITEM = ITEMS.register("generated/stone/concrete_7", () -> new BlockItem(CONCRETE_7.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_7_SLAB = BLOCKS.register("generated/stone/concrete_7_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(CONCRETE_7.get())));
public static final RegistryObject<Item> CONCRETE_7_SLAB_ITEM = ITEMS.register("generated/stone/concrete_7_slab", () -> new BlockItem(CONCRETE_7_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> CONCRETE_7_STAIRS = BLOCKS.register("generated/stone/concrete_7_stairs", () -> new ModStairs(CONCRETE_7.get().defaultBlockState(), BlockBehaviour.Properties.copy(CONCRETE_7.get())));
public static final RegistryObject<Item> CONCRETE_7_STAIRS_ITEM = ITEMS.register("generated/stone/concrete_7_stairs", () -> new BlockItem(CONCRETE_7_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_1 = BLOCKS.register("generated/stone/stone_tiles_1_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> STONE_TILES_1_ITEM = ITEMS.register("generated/stone/stone_tiles_1", () -> new BlockItem(STONE_TILES_1.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_1_SLAB = BLOCKS.register("generated/stone/stone_tiles_1_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(STONE_TILES_1.get())));
public static final RegistryObject<Item> STONE_TILES_1_SLAB_ITEM = ITEMS.register("generated/stone/stone_tiles_1_slab", () -> new BlockItem(STONE_TILES_1_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_1_STAIRS = BLOCKS.register("generated/stone/stone_tiles_1_stairs", () -> new ModStairs(STONE_TILES_1.get().defaultBlockState(), BlockBehaviour.Properties.copy(STONE_TILES_1.get())));
public static final RegistryObject<Item> STONE_TILES_1_STAIRS_ITEM = ITEMS.register("generated/stone/stone_tiles_1_stairs", () -> new BlockItem(STONE_TILES_1_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_2 = BLOCKS.register("generated/stone/stone_tiles_2_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> STONE_TILES_2_ITEM = ITEMS.register("generated/stone/stone_tiles_2", () -> new BlockItem(STONE_TILES_2.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_2_SLAB = BLOCKS.register("generated/stone/stone_tiles_2_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(STONE_TILES_2.get())));
public static final RegistryObject<Item> STONE_TILES_2_SLAB_ITEM = ITEMS.register("generated/stone/stone_tiles_2_slab", () -> new BlockItem(STONE_TILES_2_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_2_STAIRS = BLOCKS.register("generated/stone/stone_tiles_2_stairs", () -> new ModStairs(STONE_TILES_2.get().defaultBlockState(), BlockBehaviour.Properties.copy(STONE_TILES_2.get())));
public static final RegistryObject<Item> STONE_TILES_2_STAIRS_ITEM = ITEMS.register("generated/stone/stone_tiles_2_stairs", () -> new BlockItem(STONE_TILES_2_STAIRS.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_3 = BLOCKS.register("generated/stone/stone_tiles_3_block", () -> new Block(BlockBehaviour.Properties.of(Material.STONE).sound(SoundType.STONE).strength(8f, 8f).lightLevel(state -> 0).explosionResistance(8f).requiresCorrectToolForDrops()));
public static final RegistryObject<Item> STONE_TILES_3_ITEM = ITEMS.register("generated/stone/stone_tiles_3", () -> new BlockItem(STONE_TILES_3.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_3_SLAB = BLOCKS.register("generated/stone/stone_tiles_3_slab", () -> new SlabBlock(BlockBehaviour.Properties.copy(STONE_TILES_3.get())));
public static final RegistryObject<Item> STONE_TILES_3_SLAB_ITEM = ITEMS.register("generated/stone/stone_tiles_3_slab", () -> new BlockItem(STONE_TILES_3_SLAB.get(), itemBuilder()));
public static final RegistryObject<Block> STONE_TILES_3_STAIRS = BLOCKS.register("generated/stone/stone_tiles_3_stairs", () -> new ModStairs(STONE_TILES_3.get().defaultBlockState(), BlockBehaviour.Properties.copy(STONE_TILES_3.get())));
public static final RegistryObject<Item> STONE_TILES_3_STAIRS_ITEM = ITEMS.register("generated/stone/stone_tiles_3_stairs", () -> new BlockItem(STONE_TILES_3_STAIRS.get(), itemBuilder()));
/*###GENERATED CODE - DO NOT EDIT - MANUALLY EDITED CODE WILL BE LOST###*/

private static Item.Properties itemBuilder() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "addemall:block/generated/stone/concrete_1_block" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"variants": {
"type=bottom": {
"model": "addemall:block/generated/stone/concrete_1_slab"
},
"type=double": {
"model": "addemall:block/generated/stone/concrete_1_block"
},
"type=top": {
"model": "addemall:block/generated/stone/concrete_1_slab_top"
}
}
}
Loading

0 comments on commit 45c2458

Please sign in to comment.