From 0cb6deb97cc04df11d33891120d4534dba2e1cb8 Mon Sep 17 00:00:00 2001 From: stfwi Date: Sun, 17 Mar 2019 13:19:44 +0100 Subject: [PATCH] 1.12.2: Treated wood window added. Model files auto-sanatized. Explicit spwan-in-block prevention. --- 1.12/gradle.properties | 2 +- 1.12/meta/update.json | 3 +- 1.12/readme.md | 9 ++ .../engineersdecor/ModEngineersDecor.java | 35 ++++-- .../engineersdecor/blocks/BlockDecor.java | 21 ++-- .../blocks/BlockDecorDirected.java | 12 +- .../blocks/BlockDecorGlassBlock.java | 8 +- .../blocks/BlockDecorLadder.java | 21 ++++ .../blocks/BlockDecorStairs.java | 5 + .../engineersdecor/blocks/BlockDecorWall.java | 8 ++ .../wile/engineersdecor/blocks/ModBlocks.java | 13 +- .../blockstates/slag_brick_wall.json | 20 ++++ .../blockstates/treated_wood_window.json | 11 ++ .../assets/engineersdecor/lang/en_us.lang | 10 +- .../furniture/treated_wood_stool_model.json | 1 - .../furniture/treated_wood_table_model.json | 1 - .../furniture/treated_wood_window_model.json | 111 ++++++++++++++++++ .../block/ladder/metal_rung_ladder_model.json | 1 - .../block/ladder/metal_rung_steps_model.json | 1 - .../block/stairs/decor_inner_roof_model.json | 2 +- .../block/stairs/decor_outer_roof_model.json | 2 +- .../stairs/decor_straight_roof_model.json | 2 +- .../wall/clinker_brick_wall_inventory.json | 1 - .../block/wall/concrete_wall_inventory.json | 1 - .../block/wall/slag_brick_wall_default.json | 9 ++ .../block/wall/slag_brick_wall_inventory.json | 47 ++++++++ .../block/wall/slag_brick_wall_post.json | 23 ++++ .../block/wall/slag_brick_wall_side.json | 21 ++++ .../clinker_brick_wall_recipe_decompose.json | 23 ++++ .../rebar_concrete_wall_recipe_decompose.json | 23 ++++ .../recipes/slag_brick_wall_recipe.json | 24 ++++ .../slag_brick_wall_recipe_decompose.json | 23 ++++ .../recipes/treated_wood_window_recipe.json | 29 +++++ .../clinker_brick/clinker_brick_top.png | Bin 501 -> 521 bytes .../iestyle/treated_wood_rough_texture.png | Bin 565 -> 508 bytes .../slag_brick/slag_brick_pole_side.png | Bin 0 -> 450 bytes .../blocks/slag_brick/slag_brick_top.png | Bin 0 -> 506 bytes .../blocks/slag_brick/slag_brick_wall.png | Bin 0 -> 692 bytes 1.12/tasks.js | 4 +- meta/update.json | 6 +- readme.md | 20 ++-- 41 files changed, 500 insertions(+), 53 deletions(-) create mode 100644 1.12/src/main/resources/assets/engineersdecor/blockstates/slag_brick_wall.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/blockstates/treated_wood_window.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_window_model.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_default.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_inventory.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_post.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_side.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_wall_recipe_decompose.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/recipes/rebar_concrete_wall_recipe_decompose.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe_decompose.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/recipes/treated_wood_window_recipe.json create mode 100644 1.12/src/main/resources/assets/engineersdecor/textures/blocks/slag_brick/slag_brick_pole_side.png create mode 100644 1.12/src/main/resources/assets/engineersdecor/textures/blocks/slag_brick/slag_brick_top.png create mode 100644 1.12/src/main/resources/assets/engineersdecor/textures/blocks/slag_brick/slag_brick_wall.png diff --git a/1.12/gradle.properties b/1.12/gradle.properties index 16429ab..71cb9dd 100644 --- a/1.12/gradle.properties +++ b/1.12/gradle.properties @@ -3,7 +3,7 @@ org.gradle.daemon=false org.gradle.jvmargs=-Xmx8G version_minecraft=1.12.2 version_forge=14.23.5.2768 -version_engineersdecor=1.0.2-b2 +version_engineersdecor=1.0.2-b3 # # jar signing data loaded from signing.properties in the project root. # diff --git a/1.12/meta/update.json b/1.12/meta/update.json index aeb2975..4333697 100644 --- a/1.12/meta/update.json +++ b/1.12/meta/update.json @@ -1,6 +1,7 @@ { "homepage": "https://www.curseforge.com/minecraft/mc-mods/engineers-decor/", "1.12.2": { + "1.0.2-b3": "[A] Added slag brick wall.\n[A] Added wall decomposition recipes.\n[A] Added treated wood window.\n[M] Climbing/descending mod ladders is faster when looking up or down and not sneaking.\n[M] Panzer glass material definition changed.\n[M] Explicitly preventing spawning in and on \"non-full\" blocks of the mod.", "1.0.2-b2": "[A] Added rebar concrete tile stairs.\n[A] Added treated wood window sill.\n[A] Added decomposition recipes for stairs and tiles.\n[M] Changed stair recipe yield quantity from 9 to 6.", "1.0.2-b1": "[A] Added rebar concrete tile.\n[A] Added panzer glass (explosion-resistant reinforced glass).\n[M] Treated wood crafting table supports shift-click to transfer stacks between player inventory and crafting table storage (thanks majijn for the hint).", "1.0.1": "[R] Release based on v1.0.1-b4 * Treated wood crafting table * Clinker brick wall * Treated wood stool * Inset spot light * Recipe fixes * Logo updated", @@ -16,6 +17,6 @@ }, "promos": { "1.12.2-recommended": "1.0.1", - "1.12.2-latest": "1.0.2-b2" + "1.12.2-latest": "1.0.2-b3" } } \ No newline at end of file diff --git a/1.12/readme.md b/1.12/readme.md index cedd1a3..ad85219 100644 --- a/1.12/readme.md +++ b/1.12/readme.md @@ -10,6 +10,15 @@ Mod sources for Minecraft version 1.12.2. ---- ## Revision history + - v1.0.2-b3 [A] Added slag brick wall. + [A] Added wall decomposition recipes. + [A] Added treated wood window. + [M] Climbing/descending mod ladders is faster when + looking up or down and not sneaking. + [M] Panzer glass material definition changed. + [M] Explicitly preventing spawning in and on "non-full" + blocks of the mod. + - v1.0.2-b2 [A] Added rebar concrete tile stairs. [A] Added treated wood window sill. [A] Added decomposition recipes for stairs and tiles. diff --git a/1.12/src/main/java/wile/engineersdecor/ModEngineersDecor.java b/1.12/src/main/java/wile/engineersdecor/ModEngineersDecor.java index 2f57c24..f91ddae 100644 --- a/1.12/src/main/java/wile/engineersdecor/ModEngineersDecor.java +++ b/1.12/src/main/java/wile/engineersdecor/ModEngineersDecor.java @@ -13,9 +13,12 @@ import net.minecraft.entity.player.EntityPlayer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.entity.living.LivingEvent; import net.minecraftforge.fml.common.network.IGuiHandler; import net.minecraftforge.fml.common.network.NetworkRegistry; import wile.engineersdecor.blocks.BlockDecorCraftingTable; +import wile.engineersdecor.blocks.BlockDecorLadder; import wile.engineersdecor.detail.ModConfig; import wile.engineersdecor.blocks.ModBlocks; import net.minecraftforge.client.event.ModelRegistryEvent; @@ -63,13 +66,13 @@ public class ModEngineersDecor public interface IProxy { - default void preInit(FMLPreInitializationEvent e) {} - default void init(FMLInitializationEvent e) {} - default void postInit(FMLPostInitializationEvent e) {} + default void preInit(final FMLPreInitializationEvent e) {} + default void init(final FMLInitializationEvent e) {} + default void postInit(final FMLPostInitializationEvent e) {} } @Mod.EventHandler - public void preInit(FMLPreInitializationEvent event) + public void preInit(final FMLPreInitializationEvent event) { logger = event.getModLog(); logger.info(MODNAME + ": Version " + MODMCVERSION + "-" + MODVERSION + ( (MODBUILDID=="@"+"MOD_BUILDID"+"@") ? "" : (" "+MODBUILDID) ) + "."); @@ -79,33 +82,34 @@ public class ModEngineersDecor logger.info(MODNAME + ": Found valid fingerprint " + MODFINGERPRINT + "."); } proxy.preInit(event); + MinecraftForge.EVENT_BUS.register(new PlayerEventHandler()); } @Mod.EventHandler - public void init(FMLInitializationEvent event) + public void init(final FMLInitializationEvent event) { proxy.init(event); NetworkRegistry.INSTANCE.registerGuiHandler(this, new ModEngineersDecor.GuiHandler()); } @Mod.EventHandler - public void postInit(FMLPostInitializationEvent event) + public void postInit(final FMLPostInitializationEvent event) { ModConfig.onPostInit(event); proxy.postInit(event); } @Mod.EventBusSubscriber public static final class RegistrationSubscriptions { @SubscribeEvent - public static void registerBlocks(RegistryEvent.Register event) + public static void registerBlocks(final RegistryEvent.Register event) { ModBlocks.registerBlocks(event); } @SubscribeEvent - public static void registerItems(RegistryEvent.Register event) + public static void registerItems(final RegistryEvent.Register event) { ModBlocks.registerItemBlocks(event); } @SideOnly(Side.CLIENT) @SubscribeEvent - public static void registerModels(ModelRegistryEvent event) + public static void registerModels(final ModelRegistryEvent event) { ModBlocks.initModels(); } } @@ -145,4 +149,17 @@ public class ModEngineersDecor } + @Mod.EventBusSubscriber + public static class PlayerEventHandler + { + @SubscribeEvent + public void update(final LivingEvent.LivingUpdateEvent event) + { + if(!(event.getEntity() instanceof EntityPlayer)) return; + final EntityPlayer player = (EntityPlayer)event.getEntity(); + if(player.world == null) return; + if(player.isOnLadder()) BlockDecorLadder.onPlayerUpdateEvent(player); + } + } + } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecor.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecor.java index 010981c..0c81304 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecor.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecor.java @@ -47,7 +47,7 @@ public class BlockDecor extends Block public static final long CFG_LOOK_PLACEMENT = 0x0000000000000004L; // placed in direction the player is looking when placing. public static final long CFG_FACING_PLACEMENT = 0x0000000000000008L; // placed on the facing the player has clicked. public static final long CFG_OPPOSITE_PLACEMENT = 0x0000000000000020L; // placed placed in the opposite direction of the face the player clicked. - + public static final long CFG_TRANSLUCENT = 0x0000000000000040L; // indicates a block/pane is glass like (transparent, etc) public static final long CFG_LIGHT_VALUE_MASK = 0x0000000000000f00L; // fixed value for getLightValue() public static final long CFG_LIGHT_VALUE_SHIFT = 8L; @@ -79,7 +79,13 @@ public class BlockDecor extends Block @Override @SideOnly(Side.CLIENT) public BlockRenderLayer getRenderLayer() - { return ((config & CFG_CUTOUT)!=0) ? BlockRenderLayer.CUTOUT : BlockRenderLayer.SOLID; } + { return ((config & CFG_CUTOUT)!=0) ? (BlockRenderLayer.CUTOUT) : ( ((config & CFG_TRANSLUCENT)!=0) ? (BlockRenderLayer.TRANSLUCENT) : (BlockRenderLayer.SOLID)); } + + @Override + @SideOnly(Side.CLIENT) + @SuppressWarnings("deprecation") + public boolean shouldSideBeRendered(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing side) + { return true; } @Override @SuppressWarnings("deprecation") @@ -89,17 +95,21 @@ public class BlockDecor extends Block @Override @SuppressWarnings("deprecation") public boolean isNormalCube(IBlockState state) - { return ((config & CFG_CUTOUT)==0); } + { return ((config & (CFG_CUTOUT|CFG_TRANSLUCENT))==0); } @Override @SuppressWarnings("deprecation") public boolean isOpaqueCube(IBlockState state) - { return ((config & CFG_CUTOUT)==0); } + { return ((config & (CFG_CUTOUT|CFG_TRANSLUCENT))==0); } @Override public boolean canSpawnInBlock() { return false; } + @Override + public boolean canHarvestBlock(IBlockAccess world, BlockPos pos, EntityPlayer player) + { return true; } + @Override @SuppressWarnings("deprecation") public EnumPushReaction getPushReaction(IBlockState state) @@ -166,7 +176,4 @@ public class BlockDecor extends Block public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer, EnumHand hand) { return super.getStateForPlacement(world, pos, facing, hitX, hitY, hitZ, meta, placer, hand); } - @Override - public boolean canHarvestBlock(IBlockAccess world, BlockPos pos, EntityPlayer player) - { return true; } } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorDirected.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorDirected.java index 184300b..95bea2d 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorDirected.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorDirected.java @@ -21,12 +21,9 @@ import net.minecraft.world.World; import net.minecraft.world.IBlockAccess; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; -import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; -import net.minecraftforge.fml.relauncher.Side; -import net.minecraftforge.fml.relauncher.SideOnly; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.ArrayList; @@ -65,6 +62,10 @@ public class BlockDecorDirected extends BlockDecor public boolean isNormalCube(IBlockState state) { return false; } + @Override + public boolean canCreatureSpawn(IBlockState state, IBlockAccess world, BlockPos pos, net.minecraft.entity.EntityLiving.SpawnPlacementType type) + { return false; } + @Override @SuppressWarnings("deprecation") public BlockFaceShape getBlockFaceShape(IBlockAccess world, IBlockState state, BlockPos pos, EnumFacing face) @@ -80,11 +81,6 @@ public class BlockDecorDirected extends BlockDecor public AxisAlignedBB getCollisionBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) { return getBoundingBox(state, world, pos); } - @Override - @SideOnly(Side.CLIENT) - public BlockRenderLayer getRenderLayer() - { return BlockRenderLayer.CUTOUT; } - @Override public IBlockState getStateFromMeta(int meta) { return this.getDefaultState().withProperty(FACING, EnumFacing.byIndex(meta & 0x7)); } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorGlassBlock.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorGlassBlock.java index ee9d749..3a5ede5 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorGlassBlock.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorGlassBlock.java @@ -56,6 +56,10 @@ public class BlockDecorGlassBlock extends BlockDecor public boolean isOpaqueCube(IBlockState state) { return false; } + @Override + public boolean canCreatureSpawn(IBlockState state, IBlockAccess world, BlockPos pos, net.minecraft.entity.EntityLiving.SpawnPlacementType type) + { return false; } + @Override @SuppressWarnings("deprecation") public BlockFaceShape getBlockFaceShape(IBlockAccess world, IBlockState state, BlockPos pos, EnumFacing face) @@ -74,11 +78,11 @@ public class BlockDecorGlassBlock extends BlockDecor @Override @SuppressWarnings("deprecation") public boolean isFullCube(IBlockState state) - { return true; } + { return false; } @Override @SuppressWarnings("deprecation") public boolean isNormalCube(IBlockState state) - { return true; } + { return false; } } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorLadder.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorLadder.java index 5233523..49a35f3 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorLadder.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorLadder.java @@ -16,7 +16,10 @@ import net.minecraft.block.BlockLadder; import net.minecraft.block.SoundType; import net.minecraft.block.material.EnumPushReaction; import net.minecraft.client.util.ITooltipFlag; +import net.minecraft.entity.MoverType; +import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; +import net.minecraft.util.math.MathHelper; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import wile.engineersdecor.ModEngineersDecor; @@ -77,6 +80,10 @@ public class BlockDecorLadder extends BlockLadder public boolean canSpawnInBlock() { return false; } + @Override + public boolean canCreatureSpawn(IBlockState state, IBlockAccess world, BlockPos pos, net.minecraft.entity.EntityLiving.SpawnPlacementType type) + { return false; } + @Override @SuppressWarnings("deprecation") public EnumPushReaction getPushReaction(IBlockState state) @@ -103,4 +110,18 @@ public class BlockDecorLadder extends BlockLadder return (!isExceptBlockForAttachWithPiston(state.getBlock())) && (state.getBlockFaceShape(world, pos, side) == BlockFaceShape.SOLID); } + // Player update event, forwarded from the main mod instance. + public static void onPlayerUpdateEvent(final EntityPlayer player) + { + if(!player.isOnLadder() || (player.isSneaking()) || (player.isSpectator())) return; + if((Math.abs(player.motionY) < 0.1) || (Math.abs(player.motionY) > 0.7) || ((player.getLookVec().y > 0) != (player.motionY > 0))) return; + if(Math.abs(player.getLookVec().y) < 0.9) return; + final BlockPos pos = new BlockPos(player.posX, player.posY, player.posZ); + if(!(player.world.getBlockState(pos).getBlock() instanceof BlockDecorLadder)) return; + player.fallDistance = 0; + player.motionY = (player.motionY < -0.25) ? (-0.7) : ((player.motionY > 0.25) ? (0.7) : (player.motionY)); + player.motionX = MathHelper.clamp(player.motionX, -0.15, 0.15); + player.motionZ = MathHelper.clamp(player.motionX, -0.15, 0.15); + player.move(MoverType.PLAYER, player.motionX, player.motionY, player.motionZ); + } } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorStairs.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorStairs.java index af107b4..b30705a 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorStairs.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorStairs.java @@ -22,4 +22,9 @@ public class BlockDecorStairs extends net.minecraft.block.BlockStairs setRegistryName(ModEngineersDecor.MODID, registryName); setTranslationKey(ModEngineersDecor.MODID + "." + registryName); } + + @Override + public boolean canSpawnInBlock() + { return false; } + } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorWall.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorWall.java index d63d694..3b6082d 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorWall.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorWall.java @@ -118,6 +118,14 @@ public class BlockDecorWall extends BlockDecor public boolean isNormalCube(IBlockState state) { return false; } + @Override + public boolean canCreatureSpawn(IBlockState state, IBlockAccess world, BlockPos pos, net.minecraft.entity.EntityLiving.SpawnPlacementType type) + { return false; } + + @Override + public boolean canSpawnInBlock() + { return false; } + private boolean canConnectTo(IBlockAccess world, BlockPos pos, BlockPos other, EnumFacing facing) { final IBlockState state = world.getBlockState(other); diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/ModBlocks.java b/1.12/src/main/java/wile/engineersdecor/blocks/ModBlocks.java index 59589e5..41832bf 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/ModBlocks.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/ModBlocks.java @@ -41,6 +41,7 @@ public class ModBlocks public static final BlockDecorFull SLAG_BRICK_BLOCK = new BlockDecorFull("slag_brick_block", 0, Material.ROCK, 2f, 50f, SoundType.STONE); public static final BlockDecorStairs SLAG_BRICK_STAIRS = new BlockDecorStairs("slag_brick_stairs", SLAG_BRICK_BLOCK.getDefaultState()); + public static final BlockDecorWall SLAG_BRICK_WALL = new BlockDecorWall("slag_brick_wall", BlockDecor.CFG_DEFAULT, Material.ROCK, 8f, 50f, SoundType.STONE); public static final BlockDecorFull REBAR_CONCRETE_BLOCK = new BlockDecorFull("rebar_concrete", 0, Material.ROCK, 8f, 2000f, SoundType.STONE); public static final BlockDecorStairs REBAR_CONCRETE_STAIRS = new BlockDecorStairs("rebar_concrete_stairs", REBAR_CONCRETE_BLOCK.getDefaultState()); @@ -54,7 +55,7 @@ public class ModBlocks public static final BlockDecorLadder METAL_RUNG_STEPS = new BlockDecorLadder("metal_rung_steps", 0, Material.IRON, 1.0f, 25f, SoundType.METAL); public static final BlockDecorLadder TREATED_WOOD_LADDER = new BlockDecorLadder("treated_wood_ladder", 0, Material.WOOD, 1.0f, 15f, SoundType.WOOD); - public static final BlockDecorGlassBlock PANZERGLASS_BLOCK = new BlockDecorGlassBlock("panzerglass_block", 0, Material.ROCK, 3f, 2000f, SoundType.GLASS); + public static final BlockDecorGlassBlock PANZERGLASS_BLOCK = new BlockDecorGlassBlock("panzerglass_block", 0, Material.GLASS, 0.8f, 2000f, SoundType.GLASS); public static final BlockDecorDirected TREATED_WOOD_POLE = new BlockDecorDirected( "treated_wood_pole", @@ -68,6 +69,7 @@ public class ModBlocks BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HORIZIONTAL|BlockDecor.CFG_LOOK_PLACEMENT, Material.WOOD, 1.0f, 15f, SoundType.WOOD ); + public static final BlockDecorChair TREATED_WOOD_STOOL = new BlockDecorChair( "treated_wood_stool", BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HORIZIONTAL|BlockDecor.CFG_LOOK_PLACEMENT, @@ -96,6 +98,13 @@ public class ModBlocks ModAuxiliaries.getPixeledAABB(0.5,15,10.5, 15.5,16,16) ); + public static final BlockDecorDirected TREATED_WOOD_WINDOW = new BlockDecorDirected( + "treated_wood_window", + BlockDecor.CFG_TRANSLUCENT|BlockDecor.CFG_HORIZIONTAL|BlockDecor.CFG_LOOK_PLACEMENT, + Material.WOOD, 0.5f, 15f, SoundType.GLASS, + ModAuxiliaries.getPixeledAABB(0,0,7, 16,16,9) + ); + public static final BlockDecorFull IRON_SHEET_ROOF_FULLBLOCK = new BlockDecorFull("iron_sheet_roof_block", 0, Material.IRON, 1.8f, 25f, SoundType.METAL); public static final BlockDecorStairs IRON_SHEET_ROOF = new BlockDecorStairs("iron_sheet_roof", IRON_SHEET_ROOF_FULLBLOCK.getDefaultState()); @@ -106,6 +115,7 @@ public class ModBlocks CLINKER_BRICK_WALL, SLAG_BRICK_BLOCK, SLAG_BRICK_STAIRS, + SLAG_BRICK_WALL, REBAR_CONCRETE_BLOCK, REBAR_CONCRETE_STAIRS, REBAR_CONCRETE_WALL, @@ -119,6 +129,7 @@ public class ModBlocks TREATED_WOOD_POLE, TREATED_WOOD_TABLE, TREATED_WOOD_STOOL, + TREATED_WOOD_WINDOW, TREATED_WOOD_WINDOWSILL, INSET_LIGHT_IRON, }; diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/slag_brick_wall.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/slag_brick_wall.json new file mode 100644 index 0000000..1c10bc2 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/slag_brick_wall.json @@ -0,0 +1,20 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:wall/slag_brick_wall_default", + "textures": { + "wall": "engineersdecor:blocks/slag_brick/slag_brick_wall", + "postside": "engineersdecor:blocks/slag_brick/slag_brick_pole_side", + "top": "engineersdecor:blocks/slag_brick/slag_brick_top", + "particle": "engineersdecor:blocks/slag_brick/slag_brick_top" + } + }, + "variants": { + "inventory": { "model": "engineersdecor:wall/slag_brick_wall_inventory" }, + "up" : { "false":{}, "true": {"submodel": {"clinker_wall_up" : {"model": "engineersdecor:wall/slag_brick_wall_post" }}} }, + "north": { "false":{}, "true": {"submodel": {"clinker_wall_north" : {"model": "engineersdecor:wall/slag_brick_wall_side", "uvlock": true, "y": 0 }}} }, + "east" : { "false":{}, "true": {"submodel": {"clinker_wall_east" : {"model": "engineersdecor:wall/slag_brick_wall_side", "uvlock": true, "y": 90 }}} }, + "south": { "false":{}, "true": {"submodel": {"clinker_wall_south" : {"model": "engineersdecor:wall/slag_brick_wall_side", "uvlock": true, "y": 180 }}} }, + "west" : { "false":{}, "true": {"submodel": {"clinker_wall_west" : {"model": "engineersdecor:wall/slag_brick_wall_side", "uvlock": true, "y": 270 }}} } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/treated_wood_window.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/treated_wood_window.json new file mode 100644 index 0000000..2fa2dc7 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/treated_wood_window.json @@ -0,0 +1,11 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:furniture/treated_wood_window_model" + }, + "variants": { + "normal": [{}], + "facing": { "north": {"y":0}, "south": {"y":0}, "west": {"y":90}, "east": {"y":90}, "up": {"x":90}, "down": {"x":90} }, + "inventory": [{}] + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/lang/en_us.lang b/1.12/src/main/resources/assets/engineersdecor/lang/en_us.lang index e4ae3a0..f3e36a0 100644 --- a/1.12/src/main/resources/assets/engineersdecor/lang/en_us.lang +++ b/1.12/src/main/resources/assets/engineersdecor/lang/en_us.lang @@ -29,13 +29,15 @@ tile.engineersdecor.concrete_wall.name=Concrete wall tile.engineersdecor.concrete_wall.help=§6Wall made of solid concrete. tile.engineersdecor.clinker_brick_wall.name=Clinker brick wall tile.engineersdecor.clinker_brick_wall.help=§6Simplistic clinker brick wall. +tile.engineersdecor.slag_brick_wall.name=Slag brick wall +tile.engineersdecor.slag_brick_wall.help=§6Simplistic slag brick wall. #----------------------------------------------------------------------------------------------------------- tile.engineersdecor.metal_rung_ladder.name=Metal rung ladder -tile.engineersdecor.metal_rung_ladder.help=§6Typical industrial wall ladder, consisting of horizontal metal rod rungs. +tile.engineersdecor.metal_rung_ladder.help=§6Typical industrial wall ladder, consisting of horizontal metal rod rungs.§r Look up/down to climb faster. tile.engineersdecor.metal_rung_steps.name=Staggered metal steps -tile.engineersdecor.metal_rung_steps.help=§6Staggered rod rungs affixed to a wall, allowing to climb up, fall down, and so on. +tile.engineersdecor.metal_rung_steps.help=§6Staggered rod rungs affixed to a wall, allowing to climb up, fall down, and so on.§r Look up/down to climb faster. tile.engineersdecor.treated_wood_ladder.name=Treated wood ladder -tile.engineersdecor.treated_wood_ladder.help=§6Weather-proof wooden ladder. +tile.engineersdecor.treated_wood_ladder.help=§6Weather-proof wooden ladder.§r Look up/down to climb faster. #----------------------------------------------------------------------------------------------------------- tile.engineersdecor.clinker_brick_stairs.name=Clinker brick stairs tile.engineersdecor.clinker_brick_stairs.help=§6Looks slightly darker and more color intensive than the vanilla brick block. @@ -61,6 +63,8 @@ tile.engineersdecor.iron_inset_light.name=Inset light tile.engineersdecor.iron_inset_light.help=§6Small glowstone light source, sunk into the floor, ceiling or wall.§r\n\ Useful to light up places where electrical light installations are problematic.\ Light level like a torch. +tile.engineersdecor.treated_wood_window.name=Treated wood window +tile.engineersdecor.treated_wood_window.help=§6Wood framed tripple glazed window. Well insulating. tile.engineersdecor.treated_wood_windowsill.name=Treated wood window sill tile.engineersdecor.treated_wood_windowsill.help=§6Simple window decoration. #----------------------------------------------------------------------------------------------------------- diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_stool_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_stool_model.json index e41d0d9..4b5f794 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_stool_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_stool_model.json @@ -1,5 +1,4 @@ { - "credit": "I made this with the Blockbench", "parent": "block/cube", "textures": { "o": "engineersdecor:blocks/iestyle/treated_wood_framed_texture", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_table_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_table_model.json index 04b7880..2f38c70 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_table_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_table_model.json @@ -1,5 +1,4 @@ { - "credit": "I made this with the Blockbench", "parent": "block/cube", "textures": { "o": "engineersdecor:blocks/iestyle/treated_wood_framed_texture", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_window_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_window_model.json new file mode 100644 index 0000000..fd65b3a --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/furniture/treated_wood_window_model.json @@ -0,0 +1,111 @@ +{ + "parent": "block/cube", + "ambientocclusion": false, + "textures": { + "glass": "engineersdecor:blocks/glass/panzerglass_block_texture0", + "frame": "engineersdecor:blocks/iestyle/treated_wood_rough_texture", + "particle": "engineersdecor:blocks/iestyle/treated_wood_rough_texture" + }, + "elements": [ + { + "from": [1, 1, 7.25], + "to": [15, 15, 8.75], + "faces": { + "north": {"uv": [1, 1, 15, 15], "texture": "#glass"}, + "south": {"uv": [1, 1, 15, 15], "texture": "#glass"} + } + }, + { + "from": [0, 1, 6.5], + "to": [1, 15, 9.5], + "faces": { + "north": {"uv": [15, 1, 16, 15], "texture": "#frame"}, + "east": {"uv": [6.5, 1, 9.5, 15], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 15], "texture": "#frame"}, + "west": {"uv": [6.5, 1, 9.5, 15], "texture": "#frame"} + } + }, + { + "from": [15, 1, 6.5], + "to": [16, 15, 9.5], + "faces": { + "north": {"uv": [0, 1, 1, 15], "texture": "#frame"}, + "east": {"uv": [6.5, 1, 9.5, 15], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 15], "texture": "#frame"}, + "west": {"uv": [6.5, 1, 9.5, 15], "texture": "#frame"} + } + }, + { + "from": [1, 15, 6.5], + "to": [15, 16, 9.5], + "faces": { + "north": {"uv": [1, 0, 15, 1], "texture": "#frame"}, + "south": {"uv": [1, 0, 15, 1], "texture": "#frame"}, + "up": {"uv": [1, 6.5, 15, 9.5], "texture": "#frame"}, + "down": {"uv": [1, 6.5, 15, 9.5], "texture": "#frame"} + } + }, + { + "from": [1, 0, 6.5], + "to": [15, 1, 9.5], + "faces": { + "north": {"uv": [1, 15, 15, 16], "texture": "#frame"}, + "south": {"uv": [1, 15, 15, 16], "texture": "#frame"}, + "up": {"uv": [1, 6.5, 15, 9.5], "texture": "#frame"}, + "down": {"uv": [1, 6.5, 15, 9.5], "texture": "#frame"} + } + }, + { + "from": [0, 15, 6.5], + "to": [1, 16, 9.5], + "faces": { + "north": {"uv": [15, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 1, 1], "texture": "#frame"}, + "west": {"uv": [6.5, 0, 9.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 6.5, 1, 9.5], "texture": "#frame"} + } + }, + { + "from": [15, 15, 6.5], + "to": [16, 16, 9.5], + "faces": { + "north": {"uv": [0, 0, 1, 1], "texture": "#frame"}, + "east": {"uv": [6.5, 0, 9.5, 1], "texture": "#frame"}, + "south": {"uv": [15, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [15, 6.5, 16, 9.5], "texture": "#frame"} + } + }, + { + "from": [15, 0, 6.5], + "to": [16, 1, 9.5], + "faces": { + "north": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "east": {"uv": [6.5, 15, 9.5, 16], "texture": "#frame"}, + "south": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "down": {"uv": [15, 6.5, 16, 9.5], "texture": "#frame"} + } + }, + { + "from": [0, 0, 6.5], + "to": [1, 1, 9.5], + "faces": { + "north": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "south": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "west": {"uv": [6.5, 15, 9.5, 16], "texture": "#frame"}, + "down": {"uv": [0, 6.5, 1, 9.5], "texture": "#frame"} + } + } + ], + "display": { + "ground": { + "scale": [0.2, 0.2, 0.2] + }, + "gui": { + "rotation": [30, 225, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_ladder_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_ladder_model.json index a982c45..f6fdc44 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_ladder_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_ladder_model.json @@ -1,5 +1,4 @@ { - "credit": "I made this with the Blockbench", "parent": "block/cube", "textures": { "particle": "engineersdecor:blocks/iestyle/steel_texture", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_steps_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_steps_model.json index 9b90fda..07e76ef 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_steps_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/ladder/metal_rung_steps_model.json @@ -1,5 +1,4 @@ { - "credit": "I made this with the Blockbench", "parent": "block/cube", "textures": { "o": "engineersdecor:blocks/iestyle/steel_texture", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_inner_roof_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_inner_roof_model.json index 13d1f42..2b31fd9 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_inner_roof_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_inner_roof_model.json @@ -1,5 +1,5 @@ { - "credit": "I made this with the Blockbench", + "ambientocclusion": false, "textures": { "side": "engineersdecor:blocks/iestyle/ironsheet_roof", "particle": "engineersdecor:blocks/iestyle/ironsheet_roof", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_outer_roof_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_outer_roof_model.json index d4c6b36..d479b3f 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_outer_roof_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_outer_roof_model.json @@ -1,5 +1,5 @@ { - "credit": "I made this with the Blockbench", + "ambientocclusion": false, "textures": { "particle": "engineersdecor:blocks/iestyle/ironsheet_roof", "side": "engineersdecor:blocks/iestyle/ironsheet_roof", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_straight_roof_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_straight_roof_model.json index e29ff83..4017adc 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_straight_roof_model.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/stairs/decor_straight_roof_model.json @@ -1,5 +1,5 @@ { - "credit": "I made this with the Blockbench", + "ambientocclusion": false, "parent": "block/block", "textures": { "side": "engineersdecor:blocks/iestyle/ironsheet_roof", diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/clinker_brick_wall_inventory.json b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/clinker_brick_wall_inventory.json index e4d523c..c9c5869 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/clinker_brick_wall_inventory.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/clinker_brick_wall_inventory.json @@ -1,5 +1,4 @@ { - "credit": "I made this with the Blockbench", "parent": "block/block", "ambientocclusion": false, "textures": { diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/concrete_wall_inventory.json b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/concrete_wall_inventory.json index dea042b..b63a535 100644 --- a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/concrete_wall_inventory.json +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/concrete_wall_inventory.json @@ -1,5 +1,4 @@ { - "credit": "I made this with the Blockbench", "parent": "block/block", "ambientocclusion": false, "textures": { diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_default.json b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_default.json new file mode 100644 index 0000000..5d3916f --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_default.json @@ -0,0 +1,9 @@ +{ + "textures": { + "wall": "engineersdecor:blocks/slag_brick/slag_brick_texture0", + "particle": "engineersdecor:blocks/slag_brick/slag_brick_texture0" + }, + "elements": [{ + "from": [7.9, 7.9, 7.9], "to": [8, 8, 8], "faces": { "down": {"texture": "#wall"} } + }] +} diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_inventory.json b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_inventory.json new file mode 100644 index 0000000..3a0dd3f --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_inventory.json @@ -0,0 +1,47 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "wall": "engineersdecor:blocks/slag_brick/slag_brick_wall", + "particle": "engineersdecor:blocks/slag_brick/slag_brick_wall", + "top": "engineersdecor:blocks/slag_brick/slag_brick_top" + }, + "elements": [ + { + "name": "Full wall", + "from": [4.5, 0, 0], + "to": [11.5, 12, 16], + "faces": { + "north": {"uv": [3.97, 4, 10.97, 16], "texture": "#wall", "cullface": "north"}, + "east": {"uv": [0, 4, 16, 16], "texture": "#wall"}, + "south": {"uv": [4, 4, 11, 16], "texture": "#wall", "cullface": "south"}, + "west": {"uv": [0, 4, 16, 16], "texture": "#wall"}, + "up": {"uv": [4.5, 0, 11.5, 16], "texture": "#top"}, + "down": {"uv": [4.5, 0, 11.5, 16], "texture": "#wall", "cullface": "down"} + } + }, + { + "name": "Full wall", + "from": [4.5, 12, 0], + "to": [11.5, 16, 16], + "faces": { + "north": {"uv": [4.5, 0, 11.5, 4], "texture": "#wall", "cullface": "north"}, + "east": {"uv": [0, 0, 16, 4], "texture": "#wall"}, + "south": {"uv": [4.5, 0, 11.5, 4], "texture": "#wall", "cullface": "south"}, + "west": {"uv": [0, 0, 16, 4], "texture": "#wall"}, + "up": {"uv": [4.5, 0, 11.5, 16], "texture": "#top"}, + "down": {"uv": [4.5, 0, 11.5, 16], "texture": "#wall", "cullface": "down"} + } + } + ], + "display": { + "gui": { + "rotation": [30, 135, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "rotation": [0, 90, 0], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_post.json b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_post.json new file mode 100644 index 0000000..a3309be --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_post.json @@ -0,0 +1,23 @@ +{ + "credit": "I made this with the Blockbench", + "textures": { + "postside": "engineersdecor:blocks/slag_brick/slag_brick_pole_side", + "top": "engineersdecor:blocks/slag_brick/slag_brick_top", + "particle": "engineersdecor:blocks/slag_brick/slag_brick_top" + }, + "elements": [ + { + "name": "Center post", + "from": [4, 0, 4], + "to": [12, 16, 12], + "faces": { + "north": {"texture": "#postside"}, + "east": {"texture": "#postside"}, + "south": {"texture": "#postside"}, + "west": {"texture": "#postside"}, + "up": {"texture": "#top", "cullface": "up"}, + "down": {"texture": "#top"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_side.json b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_side.json new file mode 100644 index 0000000..127af1c --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/wall/slag_brick_wall_side.json @@ -0,0 +1,21 @@ +{ + "credit": "I made this with the Blockbench", + "textures": { + "wall": "engineersdecor:blocks/slag_brick/slag_brick_wall", + "top": "engineersdecor:blocks/slag_brick/slag_brick_top", + "particle": "engineersdecor:blocks/slag_brick/slag_brick_top" + }, + "elements": [ + { + "from": [4.125, 0, 0], + "to": [11.875, 15.98, 8], + "faces": { + "north": {"texture": "#wall", "cullface": "north"}, + "east": {"texture": "#wall"}, + "west": {"texture": "#wall"}, + "up": {"texture": "#top"}, + "down": {"texture": "#top"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_wall_recipe_decompose.json b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_wall_recipe_decompose.json new file mode 100644 index 0000000..d146f3c --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_wall_recipe_decompose.json @@ -0,0 +1,23 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:clinker_brick_block" + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + "WW", + "WW" + ], + "key": { + "W": { + "item": "engineersdecor:clinker_brick_wall", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:clinker_brick_block", + "count": 4 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/rebar_concrete_wall_recipe_decompose.json b/1.12/src/main/resources/assets/engineersdecor/recipes/rebar_concrete_wall_recipe_decompose.json new file mode 100644 index 0000000..cb12d06 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/rebar_concrete_wall_recipe_decompose.json @@ -0,0 +1,23 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:rebar_concrete" + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + "WW", + "WW" + ], + "key": { + "W": { + "item": "engineersdecor:rebar_concrete_wall", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:rebar_concrete", + "count": 4 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe.json new file mode 100644 index 0000000..d5f3e25 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe.json @@ -0,0 +1,24 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:slag_brick_wall" + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + " ", + "BBB", + "BBB" + ], + "key": { + "B": { + "item": "engineersdecor:slag_brick_block", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:slag_brick_wall", + "count": 6 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe_decompose.json b/1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe_decompose.json new file mode 100644 index 0000000..db1b40d --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/slag_brick_wall_recipe_decompose.json @@ -0,0 +1,23 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:slag_brick_block" + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + "WW", + "WW" + ], + "key": { + "W": { + "item": "engineersdecor:slag_brick_wall", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:slag_brick_block", + "count": 4 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/treated_wood_window_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/treated_wood_window_recipe.json new file mode 100644 index 0000000..fc7c32a --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/treated_wood_window_recipe.json @@ -0,0 +1,29 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:treated_wood_window", + "required": ["immersiveengineering:material"] + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + "WGW", + "GGG", + "WGW" + ], + "key": { + "W": { + "item": "#slabTreatedWood", + "data": 0 + }, + "G": { + "item": "#paneGlass", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:treated_wood_window", + "count": 9 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_top.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_top.png index cfe3f3710863b8e1acfb2d77c3156eb872d3315b..506f11bf76bc8d30782ea4707f46ebf7f58ef958 100644 GIT binary patch delta 457 zcmV;)0XF{i1BnEXN`C>VNkl@r<-xwM8mpnT}@^Ha8@A+x@dy~ z+|Ug(1q2b@%#oxZB4`0_j4@Dd$}lr2LzQWPyQyx5B+gni0)HC`Mh1^6Tt*p8!RjUh zl7!fz>Lya65x$g1CP-v#*Ab98kVJWlzkc>M3x>pUkskBD8bk;YSZ=pDDO!KHmIwuA;{aYN192w7y-N7F|JBP z)uI)Qi1&HDO@DSf6-_k^0bj=8>4ghAc~=8FG)D&2;uzww7PpLxMH55-O;!KX=j*(@ zHe4?RJXQe^645q4A19J{oQtX=BltQeA9L)M{sS=ux+aK1i2WW)=1874DUm5!!S8i4 zGd=~W?VZFC;>hHFWq)0uR`i?4F(xTN?8zKs!yZ+pY(i!P?gkr69D=8Ju#`cUIn~f0 z{)&&x#1g-%2m)fS?D<-|y(LI{Yyd;eDzMETev)5}CW@dCGOEU8F{Z&zgi4f5#Q8JT{)@aRHmW3#I#|-0$ z^p5xJkV4lY3n~+LBdVCMS4tGf9Y!lb6%{eu4JlAnN}wX?*?(8%NFu>aiCn)+V45aw z%Ys+r3$w@yo+8Ld#FQq`t1tz_K#R!xChyE{1|pb3Gs6|k91%I(L`{`*YnUmnPwPK{ zdv+=kQuayQ{~z_ zBEr%CF?hp7K-XplU&HqKav>^drxR3BRU|OJo%2>V@GjcI$2d?0zqcC{L>4`Qxd)X+ fQjfqQ+2!#cs1biV{N};300000NkvXXu0mjf|HH>3 diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/iestyle/treated_wood_rough_texture.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/iestyle/treated_wood_rough_texture.png index fccfc829aee2f0926cd1761d456eb999ec0a3532..983efd3364edcf303998bc7d054b5166472bf66f 100644 GIT binary patch delta 456 zcmV;(0XP1&1pEV#83+OZ005AYXf}}{DSrS5bV*G`2jc?~03i;TCb2>Q00D_fL_t(2 z&jrDOffO+e13*c3_KrGefokZ#hi8*mVupYJ{GNNe1ps69x?>MnzAOT4yt6Ler`;0wK5+L#1J4McnM3Lv51iwC?Rn;neB?1oKeIl~q(vk@BsehVt+RkBocDInITHt$c6B)Nef?#zS=+!FKvqY*T z8wip-r7Bg4B7u;gT7<2!f8Igh>lyEJNrD=O)Hv_Hr2_Kqz0YZZYpoK`xwgA&-y4ug z5S6~&CT*+N%vP0b|Gekly(O)xt{xjm5(4iX01}Jn)vfC5LGWD*M1v>(t~DhgNkR%g y`+Qdg6w-H`pr3NgBr1_6tK`H%3o3eI1k!&^8&c3czP<(k0000vG&3;|Mr0vHd#eeNU(Piab|A7 zg3Kl?vYR<3XD+TW2?yPcd>C{U-G9xP6L)PSaeoHyPR1~6FJyDYI1DPOOs41eC&U#& zuEnTomYQ1ck*OQUz=&sWhM=<;HWCOCBPd|Zfy2Qyjbw&R9RcZXt}yXEvJlV`=&+&+ zXB9usv95NJS-k7SLME%x_kP|@IDqDPU*5GCM$9=0i?udY#Tdc6H;qs?O>W~b_qPjG zr!Sc=jxbfl&$IZqH(?(^VvyfF-Hm`}=jnw-=r96Z-NE~qv=BKRK({vxj@F1?!Wsy2?^ySHy7 zfh#aCfGEWg&S2vGhcEWGemDjoP$qMN$AZl0^TMtUC}JgF12Q<-?I;dC5(CT}A%10U z1D>D1rq2y81uKPRzNOvVFrGeSH%;*I>)n7KSC<6Pm&7E-T9_B%CR|$mz*j3sQGlrq z6nAlwj-~CCrRe5^;}Pc>L_; se%@L+Jv(EbXO`ATL2omB{hDFF-$7@QX{0VI&aFZ1~b+%6n z(916(5e`ZIA8f>uomz_)qK*(E-6(L5&;(5rb_x<430|4>rfU&8kPJacfX^a$)opx= z=Xvn^*2(UrGgu&YSzo81hvQ(IuTN1LaxXuB6fmTRG8^>Ag(W_@^9@>9f*oUxZM!A0y2P>gkcj|t6OV! w7nx!DZcXz3m|+Gw!Sa8#?j{MA2x2n)1&Yo)Qoy=V3jhEB07*qoM6N<$f`357xBvhE literal 0 HcmV?d00001 diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/slag_brick/slag_brick_wall.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/slag_brick/slag_brick_wall.png new file mode 100644 index 0000000000000000000000000000000000000000..0e4c3064a7f39a0c7ba57198be87bfcee40ea07f GIT binary patch literal 692 zcmV;l0!#ggP)O&BzE^7UN)u8W-2M+`WE9RUui-J@CKg1E#_>j$}_zVQtAj4>RVDRuP$? zNpBqy<<1peES6=`yj3aAX z`SkM}=6UA-n5KyY)Rm9VpQEPCyP1>i2LI#Nx5uwa(H}dmsuXa3^))}ee#zMf8