Add some more pool variant blocks

This commit is contained in:
Zontreck 2024-02-21 17:30:15 -07:00
parent b0405eb534
commit 65365cd3a0
25 changed files with 227 additions and 1 deletions

View file

@ -217,4 +217,24 @@ public class ModBlocks {
public static final RegistryObject<Block> DARK_RED_CARPET = registerWithItem(BLOCKS.register("dark_red_carpet", ()->new CarpetBlock(BlockBehaviour.Properties.copy(Blocks.RED_CARPET))), new Item.Properties());
public static final RegistryObject<Block> GREEN_POOL_TILE = registerWithItem(BLOCKS.register("green_pool_tile", ()->new Block(stone)), new Item.Properties());
public static final RegistryObject<Block> GREEN_POOL_TILE_STAIRS = registerWithItem(BLOCKS.register("green_pool_tile_stairs", ()->new StairBlock(GREEN_POOL_TILE.get()::defaultBlockState, stone)), new Item.Properties());
public static final RegistryObject<Block> GREEN_POOL_TILE_SLAB = registerWithItem(BLOCKS.register("green_pool_tile_slab", ()->new SlabBlock(stone)), new Item.Properties());
public static final RegistryObject<Block> GREEN_POOL_LIGHT = registerWithItem(BLOCKS.register("green_pool_light", ()->new Block(poolLightClean)), new Item.Properties());
public static final RegistryObject<Block> DIRTY_GREEN_POOL_TILE = registerWithItem(BLOCKS.register("dirty_green_pool_tile", ()->new Block(stone)), new Item.Properties());
public static final RegistryObject<Block> DIRTY_GREEN_POOL_LIGHT = registerWithItem(BLOCKS.register("dirty_green_pool_light", ()->new Block(poolLightDirty)), new Item.Properties());
public static final RegistryObject<Block> FILTHY_GREEN_POOL_LIGHT = registerWithItem(BLOCKS.register("filthy_green_pool_light", ()->new Block(poolLightFilthy)), new Item.Properties());
public static final RegistryObject<Block> DIRTY_GREEN_POOL_TILE_STAIRS = registerWithItem(BLOCKS.register("dirty_green_pool_tile_stairs", ()->new StairBlock(DIRTY_GREEN_POOL_TILE.get()::defaultBlockState, stone)), new Item.Properties());
public static final RegistryObject<Block> DIRTY_GREEN_POOL_TILE_SLAB = registerWithItem(BLOCKS.register("dirty_green_pool_tile_slab", ()->new SlabBlock(stone)), new Item.Properties());
}

View file

@ -64,6 +64,15 @@ public class ModBlockStatesProvider extends BlockStateProvider
blockWithItem(ModBlocks.DARK_RED_WOOL);
carpetBlock(ModBlocks.DARK_RED_CARPET, ModBlocks.DARK_RED_WOOL);
blockWithItem(ModBlocks.GREEN_POOL_TILE);
stairBlock(ModBlocks.GREEN_POOL_TILE_STAIRS, ModBlocks.GREEN_POOL_TILE);
slabBlock(ModBlocks.GREEN_POOL_TILE_SLAB, ModBlocks.GREEN_POOL_TILE);
blockWithItem(ModBlocks.GREEN_POOL_LIGHT);
blockWithItem(ModBlocks.DIRTY_GREEN_POOL_LIGHT);
blockWithItem(ModBlocks.FILTHY_GREEN_POOL_LIGHT);
blockWithItem(ModBlocks.DIRTY_GREEN_POOL_TILE);
stairBlock(ModBlocks.DIRTY_GREEN_POOL_TILE_STAIRS, ModBlocks.DIRTY_GREEN_POOL_TILE);
slabBlock(ModBlocks.DIRTY_GREEN_POOL_TILE_SLAB, ModBlocks.DIRTY_GREEN_POOL_TILE);
}

View file

@ -58,6 +58,9 @@ public class ModItemModelsProvider extends ItemModelProvider
item(ModItems.DARK_RED_DYE);
item(ModItems.RED_BRICK);
item(ModItems.DARK_RED_BRICK);
item(ModItems.LIME_BRICK);
item(ModItems.GREEN_BRICK);
/*

View file

@ -98,6 +98,15 @@ public class ModBlockLootTablesProvider extends BlockLootSubProvider
dropSelf(ModBlocks.DIRTY_RED_POOL_TILE_SLAB.get());
dropSelf(ModBlocks.DARK_RED_WOOL.get());
dropSelf(ModBlocks.DARK_RED_CARPET.get());
dropSelf(ModBlocks.GREEN_POOL_TILE.get());
dropSelf(ModBlocks.GREEN_POOL_LIGHT.get());
dropSelf(ModBlocks.GREEN_POOL_TILE_SLAB.get());
dropSelf(ModBlocks.GREEN_POOL_TILE_STAIRS.get());
dropSelf(ModBlocks.DIRTY_GREEN_POOL_TILE.get());
dropSelf(ModBlocks.DIRTY_GREEN_POOL_LIGHT.get());
dropSelf(ModBlocks.DIRTY_GREEN_POOL_TILE_SLAB.get());
dropSelf(ModBlocks.DIRTY_GREEN_POOL_TILE_STAIRS.get());
dropSelf(ModBlocks.FILTHY_GREEN_POOL_LIGHT.get());

View file

@ -74,6 +74,10 @@ public class ModItems {
public static final RegistryObject<Item> DARK_RED_BRICK = CreativeModeTabs.addToOTEModTab(ITEMS.register("dark_red_brick", ()->new Item(new Item.Properties())));
public static final RegistryObject<Item> LIME_BRICK = CreativeModeTabs.addToOTEModTab(ITEMS.register("lime_brick", ()->new Item(new Item.Properties())));
public static final RegistryObject<Item> GREEN_BRICK = CreativeModeTabs.addToOTEModTab(ITEMS.register("green_brick", ()->new Item(new Item.Properties())));
//public static final RegistryObject<Item> POSSUM_SPAWN_EGG = ITEMS.register("possum_spawn_egg", () -> new ForgeSpawnEggItem(ModEntityTypes.POSSUM, 0x938686, 0xc68787, new Item.Properties())));