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

@ -48,7 +48,7 @@ mod_name=Thresholds
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3
# The mod version. See https://semver.org/
mod_version=1201.4.022024.0459
mod_version=1201.4.022124.1729
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

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())));

View file

@ -46,6 +46,8 @@
"item.otemod.dark_red_dye": "Dark Red Dye",
"item.otemod.red_brick": "Red Brick",
"item.otemod.dark_red_brick": "Dark Red Brick",
"item.otemod.lime_brick": "Lime Brick",
"item.otemod.green_brick": "Green Brick",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:green_dye"
},
{
"item": "minecraft:brick"
}
],
"result": {
"item": "otemod:green_brick",
"count": 1
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:lime_dye"
},
{
"item": "minecraft:brick"
}
],
"result": {
"item": "otemod:lime_brick",
"count": 1
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "otemod:pool_light"
},
{
"item": "minecraft:slime_ball"
}
],
"result": {
"item": "otemod:dirty_pool_light",
"count": 1
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AAA"
],
"key": {
"A": {
"item": "otemod:dirty_pool_tile"
}
},
"result": {
"item": "otemod:dirty_pool_tile_slab",
"count": 6
}
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"A ",
"AA ",
"AAA"
],
"key": {
"A": {
"item": "otemod:dirty_pool_tile"
}
},
"result": {
"item": "otemod:dirty_pool_tile_stairs",
"count": 4
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:slime_ball"
},
{
"item": "otemod:pool_tile"
}
],
"result": {
"item": "otemod:dirty_pool_tile",
"count": 4
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "otemod:dirty_pool_light"
},
{
"item": "minecraft:slime_block"
}
],
"result": {
"item": "otemod:filthy_pool_light",
"count": 1
}
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AAA",
"ABA",
"AAA"
],
"key": {
"A": {
"item": "otemod:pool_tile"
},
"B": {
"item": "minecraft:glowstone"
}
},
"result": {
"item": "otemod:pool_light",
"count": 4
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AAA"
],
"key": {
"A": {
"item": "otemod:pool_tile"
}
},
"result": {
"item": "otemod:pool_tile_slab",
"count": 6
}
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"A ",
"AA ",
"AAA"
],
"key": {
"A": {
"item": "otemod:pool_tile"
}
},
"result": {
"item": "otemod:pool_tile_stairs",
"count": 4
}
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"ABB",
"BAA",
"ABA"
],
"key": {
"A": {
"item": "otemod:lime_brick"
},
"B": {
"item": "otemod:green_brick"
}
},
"result": {
"item": "otemod:green_pool_tile",
"count": 4
}
}