diff --git a/1.12/gradle.properties b/1.12/gradle.properties index 4ec3dd3..0c49c36 100644 --- a/1.12/gradle.properties +++ b/1.12/gradle.properties @@ -4,4 +4,4 @@ org.gradle.jvmargs=-Xmx8G version_minecraft=1.12.2 version_forge=14.23.5.2768 version_jei=4.10.0.198 -version_engineersdecor=1.0.7 +version_engineersdecor=1.0.8-b1 diff --git a/1.12/meta/update.json b/1.12/meta/update.json index e72c9da..c320396 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.8-b1": "[A] Added \"Factory area\" sign.\n[M] Electrical furnace recipe changed (hoppers to conveyors).\n[A] Opt-out config options added.\n[F] Lang file fixes for en_us (Angela, PR#29).", "1.0.7": "[R] Release based on v1.0.7-b2. Release-to-release changes: * Factory dropper added. * Defense system warning sign added. * Warning sign backgrounds adapted. * Standalone recipes added. * Lang files updated.\n[A] Added standalone recipes for signs, factory dropper, and electrical furnace.\n[M] Adapted \"Caution\" sign backgrounds to the yellow defense system warning background.", "1.0.7-b2": "[A] Added Defense System Warning sign (design by J. Carver).\n[M] Factory dropper non-experimental now. GUI click area tuning. \"Fast drop\" symbol replaced from arrow to dog icon (thx overchoice for that icon).\n[M] Lang files updated.", "1.0.7-b1": "[M] Factory dropper (config:experimental) button placement fixed, GUI vs external view x/y markers added, internal trigger logic simplified. Thx @overchoice for beta testing!", @@ -41,6 +42,6 @@ }, "promos": { "1.12.2-recommended": "1.0.7", - "1.12.2-latest": "1.0.7" + "1.12.2-latest": "1.0.8-b1" } } \ No newline at end of file diff --git a/1.12/readme.md b/1.12/readme.md index d51f796..6048e63 100644 --- a/1.12/readme.md +++ b/1.12/readme.md @@ -10,6 +10,11 @@ Mod sources for Minecraft version 1.12.2. ---- ## Revision history + - v1.0.8-b1 [A] Added "Factory area" sign. + [M] Electrical furnace recipe changed (hoppers to conveyors). + [A] Opt-out config options added. + [F] Lang file fixes for en_us (Angela, PR#29). + ------------------------------------------------------------------- - v1.0.7 [R] Release based on v1.0.7-b2. Release-to-release changes: * Factory dropper added. 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 06575c5..0c0abba 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecor.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecor.java @@ -56,6 +56,7 @@ public class BlockDecor extends Block public static final long CFG_ELECTRICAL = 0x0000000000010000L; // Denotes if a component is mainly flux driven. public static final long CFG_REDSTONE_CONTROLLED = 0x0000000000020000L; // Denotes if a component has somehow a redstone control input public static final long CFG_ANALOG = 0x0000000000040000L; // Denotes if a component has analog behaviour + public static final long CFG_HARD_IE_DEPENDENT = 0x8000000000000000L; // Defines that this block abolutely needs IE to be installed. protected final AxisAlignedBB aabb; @@ -70,6 +71,8 @@ public class BlockDecor extends Block setResistance((resistance > 0) ? resistance : 10.0f); setSoundType((sound==null) ? SoundType.STONE : sound); setLightOpacity(0); + // @todo double check that instance variable + // not sure here ... if((config & CFG_TRANSLUCENT) != 0) this.translucent = true; this.config = config; this.aabb = (boundingbox==null) ? (FULL_BLOCK_AABB) : (boundingbox); } diff --git a/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorHalfSlab.java b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorHalfSlab.java new file mode 100644 index 0000000..879012e --- /dev/null +++ b/1.12/src/main/java/wile/engineersdecor/blocks/BlockDecorHalfSlab.java @@ -0,0 +1,202 @@ +/* + * @file BlockDecorHalfSlab.java + * @author Stefan Wilhelm (wile) + * @copyright (C) 2019 Stefan Wilhelm + * @license MIT (see https://opensource.org/licenses/MIT) + * + * Half slab characteristics class. + */ +package wile.engineersdecor.blocks; + +import net.minecraft.block.Block; +import net.minecraft.block.SoundType; +import net.minecraft.block.material.Material; +import net.minecraft.block.properties.PropertyInteger; +import net.minecraft.block.state.BlockFaceShape; +import net.minecraft.block.state.BlockStateContainer; +import net.minecraft.block.state.IBlockState; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.BlockRenderLayer; +import net.minecraft.util.EnumHand; +import net.minecraft.util.SoundCategory; +import net.minecraft.util.math.MathHelper; +import net.minecraft.util.math.Vec3d; +import net.minecraft.world.IBlockAccess; +import net.minecraft.util.EnumFacing; +import net.minecraft.util.math.AxisAlignedBB; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; +import net.minecraftforge.fml.relauncher.Side; +import net.minecraftforge.fml.relauncher.SideOnly; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; + + +public class BlockDecorHalfSlab extends BlockDecor +{ + public static final PropertyInteger PARTS = PropertyInteger.create("parts", 0, 14); + + protected static final AxisAlignedBB AABBs[] = { + new AxisAlignedBB(0, 0./16, 0, 1, 2./16, 1), new AxisAlignedBB(0, 0./16, 0, 1, 4./16, 1), + new AxisAlignedBB(0, 0./16, 0, 1, 6./16, 1), new AxisAlignedBB(0, 0./16, 0, 1, 8./16, 1), + new AxisAlignedBB(0, 0./16, 0, 1, 10./16, 1), new AxisAlignedBB(0, 0./16, 0, 1, 12./16, 1), + new AxisAlignedBB(0, 0./16, 0, 1, 14./16, 1), new AxisAlignedBB(0, 0./16, 0, 1, 16./16, 1), + new AxisAlignedBB(0, 2./16, 0, 1, 16./16, 1), new AxisAlignedBB(0, 4./16, 0, 1, 16./16, 1), + new AxisAlignedBB(0, 6./16, 0, 1, 16./16, 1), new AxisAlignedBB(0, 8./16, 0, 1, 16./16, 1), + new AxisAlignedBB(0, 10./16, 0, 1, 16./16, 1), new AxisAlignedBB(0, 12./16, 0, 1, 16./16, 1), + new AxisAlignedBB(0, 14./16, 0, 1, 16./16, 1), new AxisAlignedBB(0,0,0,1,1,1), // <- with 4bit fill + }; + protected static final int num_slabs_contained_in_parts_[] = { + 1,2,3,4,5,6,7,8,7,6,5,4,3,2,1 ,0x1 // <- with 4bit fill + }; + + public BlockDecorHalfSlab(@Nonnull String registryName, long config, @Nullable Material material, float hardness, float resistance, @Nullable SoundType sound) + { super(registryName, config, material, hardness, resistance, sound); } + + protected boolean is_cube(IBlockState state) + { return state.getValue(PARTS) == 0x07; } + + @Override + @SideOnly(Side.CLIENT) + public BlockRenderLayer getRenderLayer() + { return (((config & CFG_TRANSLUCENT)!=0) ? (BlockRenderLayer.TRANSLUCENT) : (BlockRenderLayer.CUTOUT)); } + + @Override + @SuppressWarnings("deprecation") + public IBlockState getStateFromMeta(int meta) + { return getDefaultState().withProperty(PARTS, MathHelper.clamp(meta, 0,14)); } + + @Override + public int getMetaFromState(IBlockState state) + { return state.getValue(PARTS); } + + @Override + protected BlockStateContainer createBlockState() + { return new BlockStateContainer(this, PARTS); } + + @Override + @SuppressWarnings("deprecation") + public boolean isOpaqueCube(IBlockState state) + { return ((config & CFG_TRANSLUCENT)==0) && is_cube(state); } + + @Override + @SuppressWarnings("deprecation") + public BlockFaceShape getBlockFaceShape(IBlockAccess world, IBlockState state, BlockPos pos, EnumFacing face) + { + final int parts = state.getValue(PARTS); + switch(face) { + case UP: + if(parts >= 0x07) return BlockFaceShape.SOLID; + break; + case DOWN: + if(parts <= 0x07) return BlockFaceShape.SOLID; + break; + default: + if((parts > 0x05) && (parts < 0x0a)) return BlockFaceShape.SOLID; + } + return BlockFaceShape.UNDEFINED; + } + + @Override + @SuppressWarnings("deprecation") + public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) + { return AABBs[state.getValue(PARTS) & 0xf]; } + + @Override + @Nullable + public AxisAlignedBB getCollisionBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) + { return getBoundingBox(state, world, pos); } + + @Override + @SuppressWarnings("deprecation") + public boolean isFullCube(IBlockState state) + { return is_cube(state); } + + @Override + @SuppressWarnings("deprecation") + public boolean isNormalCube(IBlockState state) + { return is_cube(state); } + + @Override + @SuppressWarnings("deprecation") + public boolean canEntitySpawn(IBlockState state, Entity entity) + { return false; } + + @Override + public void harvestBlock(World world, EntityPlayer player, BlockPos pos, IBlockState state, @Nullable TileEntity te, ItemStack stack) + { spawnAsEntity(world, pos, new ItemStack(Item.getItemFromBlock(this), num_slabs_contained_in_parts_[state.getValue(PARTS) & 0xf])); } + + @Override + public boolean canPlaceBlockOnSide(World world, BlockPos pos, EnumFacing side) + { return world.getBlockState(pos).getBlock() != this; } + + @Override + @SuppressWarnings("deprecation") + public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) + { return getDefaultState().withProperty(PARTS, ((facing==EnumFacing.UP) || ((facing!=EnumFacing.DOWN) && (hitY < 0.6))) ? 0 : 14); } + + @Override + public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) + { + final ItemStack stack = player.getHeldItem(hand); + if(stack.isEmpty() || (Block.getBlockFromItem(stack.getItem()) != this)) return false; + if((facing != EnumFacing.UP) && (facing != EnumFacing.DOWN)) return false; + int parts = state.getValue(PARTS); + if((facing != EnumFacing.UP) && (parts > 7)) { + world.setBlockState(pos, state.withProperty(PARTS, parts-1), 3); + } else if((facing != EnumFacing.DOWN) && (parts < 7)) { + world.setBlockState(pos, state.withProperty(PARTS, parts+1), 3); + } else { + return (parts != 7); + } + if(world.isRemote) return true; + if(!player.isCreative()) { + stack.shrink(1); + if(player.inventory != null) player.inventory.markDirty(); // @todo: check if inventory can actually be null + } + SoundType st = this.getSoundType(state, world, pos, null); + world.playSound(null, pos, st.getPlaceSound(), SoundCategory.BLOCKS, (st.getVolume()+1f)/2.5f, 0.9f*st.getPitch()); + return true; + } + + @Override + public void onBlockClicked(World world, BlockPos pos, EntityPlayer player) + { + if(world.isRemote) return; + final ItemStack stack = player.getHeldItemMainhand(); + if(stack.isEmpty() || (Block.getBlockFromItem(stack.getItem()) != this)) return; + if(stack.getCount() >= stack.getMaxStackSize()) return; + Vec3d lv = player.getLookVec(); + EnumFacing facing = EnumFacing.getFacingFromVector((float)lv.x, (float)lv.y, (float)lv.z); + if((facing != EnumFacing.UP) && (facing != EnumFacing.DOWN)) return; + IBlockState state = world.getBlockState(pos); + if(state.getBlock() != this) return; + int parts = state.getValue(PARTS); + if((facing == EnumFacing.DOWN) && (parts <= 7)) { + if(parts > 0) { + world.setBlockState(pos, state.withProperty(PARTS, parts-1), 3); + } else { + world.setBlockToAir(pos); + } + } else if((facing == EnumFacing.UP) && (parts >= 7)) { + if(parts < 14) { + world.setBlockState(pos, state.withProperty(PARTS, parts + 1), 3); + } else { + world.setBlockToAir(pos); + } + } else { + return; + } + if(!player.isCreative()) { + stack.grow(1); + if(player.inventory != null) player.inventory.markDirty(); // @todo: check if inventory can actually be null + } + SoundType st = this.getSoundType(state, world, pos, null); + world.playSound(player, pos, st.getPlaceSound(), SoundCategory.BLOCKS, (st.getVolume()+1f)/2.5f, 0.9f*st.getPitch()); + } +} 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 bef819b..d9a4d01 100644 --- a/1.12/src/main/java/wile/engineersdecor/blocks/ModBlocks.java +++ b/1.12/src/main/java/wile/engineersdecor/blocks/ModBlocks.java @@ -24,8 +24,9 @@ import net.minecraft.item.ItemBlock; import net.minecraft.util.ResourceLocation; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraftforge.client.model.ModelLoader; -import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.event.RegistryEvent; +import net.minecraftforge.fml.common.Loader; +import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import java.util.ArrayList; @@ -44,6 +45,9 @@ public class ModBlocks public static final BlockDecorStairs CLINKER_BRICK_STAIRS = new BlockDecorStairs("clinker_brick_stairs", CLINKER_BRICK_BLOCK.getDefaultState()); public static final BlockDecorWall CLINKER_BRICK_WALL = new BlockDecorWall("clinker_brick_wall", BlockDecor.CFG_DEFAULT, Material.ROCK, 2f, 20f, SoundType.STONE); + public static final BlockDecorFull CLINKER_BRICK_STAINED_BLOCK = new BlockDecorFull("clinker_brick_stained_block", 0, Material.ROCK, 2f, 15f, SoundType.STONE); + public static final BlockDecorStairs CLINKER_BRICK_STAINED_STAIRS = new BlockDecorStairs("clinker_brick_stained_stairs", CLINKER_BRICK_STAINED_BLOCK.getDefaultState()); + public static final BlockDecorFull SLAG_BRICK_BLOCK = new BlockDecorFull("slag_brick_block", 0, Material.ROCK, 2f, 15f, 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, 2f, 15f, SoundType.STONE); @@ -263,6 +267,54 @@ public class ModBlocks ModAuxiliaries.getPixeledAABB(0,0,0, 16,16,15) ); + public static final BlockDecorDirected SIGN_FACTORY_AREA = new BlockDecorDirected( + "sign_factoryarea", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_OPPOSITE_PLACEMENT, + Material.WOOD, 0.1f, 1f, SoundType.WOOD, + ModAuxiliaries.getPixeledAABB(2,2,15.6, 15,15,16) + ); + + public static final BlockDecorHalfSlab HALFSLAB_REBARCONCRETE = new BlockDecorHalfSlab( + "halfslab_rebar_concrete", + BlockDecor.CFG_CUTOUT, + Material.ROCK, 2f, 2000f, SoundType.STONE + ); + public static final BlockDecorHalfSlab HALFSLAB_CONCRETE = new BlockDecorHalfSlab( + "halfslab_concrete", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.ROCK, 0.4f, 10f, SoundType.STONE + ); + public static final BlockDecorHalfSlab HALFSLAB_TREATEDWOOD = new BlockDecorHalfSlab( + "halfslab_treated_wood", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.WOOD, 0.4f, 4f, SoundType.WOOD + ); + public static final BlockDecorHalfSlab HALFSLAB_SHEETMETALIRON = new BlockDecorHalfSlab( + "halfslab_sheetmetal_iron", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.IRON, 0.4f, 10f, SoundType.METAL + ); + public static final BlockDecorHalfSlab HALFSLAB_SHEETMETALSTEEL = new BlockDecorHalfSlab( + "halfslab_sheetmetal_steel", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.IRON, 0.4f, 10f, SoundType.METAL + ); + public static final BlockDecorHalfSlab HALFSLAB_SHEETMETALCOPPER = new BlockDecorHalfSlab( + "halfslab_sheetmetal_copper", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.IRON, 0.4f, 10f, SoundType.METAL + ); + public static final BlockDecorHalfSlab HALFSLAB_SHEETMETALGOLD = new BlockDecorHalfSlab( + "halfslab_sheetmetal_gold", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.IRON, 0.4f, 10f, SoundType.METAL + ); + public static final BlockDecorHalfSlab HALFSLAB_SHEETMETALALUMINIUM = new BlockDecorHalfSlab( + "halfslab_sheetmetal_aluminum", + BlockDecor.CFG_CUTOUT|BlockDecor.CFG_HARD_IE_DEPENDENT, + Material.IRON, 0.4f, 10f, SoundType.METAL + ); + //-------------------------------------------------------------------------------------------------------------------- //-- Tile entities //-------------------------------------------------------------------------------------------------------------------- @@ -322,29 +374,39 @@ public class ModBlocks TREATED_WOOD_TABLE, TREATED_WOOD_STOOL, TREATED_WOOD_WINDOW, + STEEL_FRAMED_WINDOW, TREATED_WOOD_WINDOWSILL, INSET_LIGHT_IRON, - SMALL_LAB_FURNACE, SMALL_LAB_FURNACE_TEI, - STEEL_FRAMED_WINDOW, TREATED_WOOD_POLE_SUPPORT, TREATED_WOOD_POLE_HEAD, - SIGN_MODLOGO, THIN_STEEL_POLE, THICK_STEEL_POLE, THIN_STEEL_POLE_HEAD, THICK_STEEL_POLE_HEAD, STEEL_DOUBLE_T_SUPPORT, + SIGN_HOTWIRE, SIGN_DANGER, SIGN_DEFENSE, SIGN_FACTORY_AREA, SIGN_MODLOGO, + SMALL_LAB_FURNACE, SMALL_LAB_FURNACE_TEI, + SMALL_ELECTRICAL_FURNACE, SMALL_ELECTRICAL_FURNACE_TEI, + FACTORY_DROPPER, FACTORY_DROPPER_TEI, + SMALL_WASTE_INCINERATOR, WASTE_INCINERATOR_TEI, STRAIGHT_CHECK_VALVE, STRAIGHT_REDSTONE_VALVE, STRAIGHT_REDSTONE_ANALOG_VALVE, STRAIGHT_PIPE_VALVE_TEI, PASSIVE_FLUID_ACCUMULATOR, PASSIVE_FLUID_ACCUMULATOR_TEI, - SMALL_ELECTRICAL_FURNACE, SMALL_ELECTRICAL_FURNACE_TEI, - SIGN_HOTWIRE, SIGN_DANGER, - SMALL_WASTE_INCINERATOR, WASTE_INCINERATOR_TEI, - SIGN_DEFENSE, - FACTORY_DROPPER, FACTORY_DROPPER_TEI }; private static final Object dev_content[] = { SIGN_MINDSTEP, + // design not sure yet ... + CLINKER_BRICK_STAINED_BLOCK, + CLINKER_BRICK_STAINED_STAIRS, + // handling not sure yet ... + HALFSLAB_REBARCONCRETE, + HALFSLAB_CONCRETE, + HALFSLAB_TREATEDWOOD, + HALFSLAB_SHEETMETALIRON, + HALFSLAB_SHEETMETALSTEEL, + HALFSLAB_SHEETMETALCOPPER, + HALFSLAB_SHEETMETALGOLD, + HALFSLAB_SHEETMETALALUMINIUM, }; //-------------------------------------------------------------------------------------------------------------------- @@ -362,15 +424,22 @@ public class ModBlocks public static final void registerBlocks(RegistryEvent.Register event) { // Config based registry selection + final boolean ie_installed = Loader.isModLoaded("immersiveengineering"); int num_block_registrations_skipped = 0; + int num_block_registrations_skipped_noie = 0; final boolean woor = ModConfig.isWithoutOptOutRegistration(); for(Object e:content) { if(e instanceof Block) { - if((!woor) || (!ModConfig.isOptedOut((Block)e)) || (e==SIGN_MODLOGO)) { - registeredBlocks.add((Block) e); - } else { + if((!ie_installed) && ((e instanceof BlockDecor) && ((((BlockDecor)e).config & BlockDecor.CFG_HARD_IE_DEPENDENT)!=0))) { ++num_block_registrations_skipped; + ++num_block_registrations_skipped_noie; + continue; } + if((woor) && (ModConfig.isOptedOut((Block)e)) && (e!=SIGN_MODLOGO)) { + ++num_block_registrations_skipped; + continue; + } + registeredBlocks.add((Block) e); } else if(e instanceof TileEntityRegistrationData) { registeredTileEntityInits.add((TileEntityRegistrationData)e); } @@ -386,7 +455,7 @@ public class ModBlocks } for(Block e:registeredBlocks) event.getRegistry().register(e); ModEngineersDecor.logger.info("Registered " + Integer.toString(registeredBlocks.size()) + " blocks."); - if(num_block_registrations_skipped > 0) ModEngineersDecor.logger.info("Skipped registration of " + num_block_registrations_skipped + " blocks."); + if(num_block_registrations_skipped > 0) ModEngineersDecor.logger.info("Skipped registration of " + num_block_registrations_skipped + " blocks, " + num_block_registrations_skipped_noie + " because IE is not installed."); for(TileEntityRegistrationData e:registeredTileEntityInits) GameRegistry.registerTileEntity(e.clazz, e.key); ModEngineersDecor.logger.info("Registered " + Integer.toString(registeredTileEntityInits.size()) + " tile entities."); } diff --git a/1.12/src/main/java/wile/engineersdecor/detail/ModConfig.java b/1.12/src/main/java/wile/engineersdecor/detail/ModConfig.java index cb39c5c..1cf5e69 100644 --- a/1.12/src/main/java/wile/engineersdecor/detail/ModConfig.java +++ b/1.12/src/main/java/wile/engineersdecor/detail/ModConfig.java @@ -135,6 +135,16 @@ public class ModConfig @Config.Name("Without signs") @Config.RequiresMcRestart public boolean without_sign_plates = false; + + @Config.Comment({"Disable the factory dropper."}) + @Config.Name("Without factory dropper") + @Config.RequiresMcRestart + public boolean without_factory_dropper = false; + + @Config.Comment({"Disable stackable 1/8 block slices."}) + @Config.Name("Without slab slices") + @Config.RequiresMcRestart + public boolean without_halfslabs = false; } @Config.Comment({ @@ -305,6 +315,8 @@ public class ModConfig if(optout.without_electrical_furnace && (block instanceof BlockDecorFurnaceElectrical)) return true; if(optout.without_passive_fluid_accumulator && (block instanceof BlockDecorPassiveFluidAccumulator)) return true; if(optout.without_waste_incinerator && (block instanceof BlockDecorWasteIncinerator)) return true; + if(optout.without_factory_dropper && (block instanceof BlockDecorDropper)) return true; + if(optout.without_halfslabs && (block instanceof BlockDecorHalfSlab)) return true; if(optout.without_windows && rn.endsWith("_window")) return true; if(optout.without_light_sources && rn.endsWith("_light")) return true; if(optout.without_ladders && (block instanceof BlockDecorLadder)) return true; diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/clinker_brick_stained_block.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/clinker_brick_stained_block.json new file mode 100644 index 0000000..7918bb6 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/clinker_brick_stained_block.json @@ -0,0 +1,20 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:std/decor_full_block_model", + "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture0" } + }, + "variants": { + "normal": [ + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture0" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture1" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture2" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture3" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture4" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture5" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture6" } }, + { "textures": { "all": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture7" } } + ], + "inventory": [{}] + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/clinker_brick_stained_stairs.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/clinker_brick_stained_stairs.json new file mode 100644 index 0000000..fdc3ee8 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/clinker_brick_stained_stairs.json @@ -0,0 +1,56 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:stairs/decor_straight_stairs_model", + "textures": { + "particle": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture0", + "bottom": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture0", + "top": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture0", + "side": "engineersdecor:blocks/clinker_brick/clinker_brick_stained_texture0" + } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "facing=east,half=bottom,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model" }, + "facing=west,half=bottom,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "y": 180, "uvlock": true }, + "facing=south,half=bottom,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "y": 90, "uvlock": true }, + "facing=north,half=bottom,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "y": 270, "uvlock": true }, + "facing=east,half=bottom,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model" }, + "facing=west,half=bottom,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "y": 180, "uvlock": true }, + "facing=south,half=bottom,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "y": 90, "uvlock": true }, + "facing=north,half=bottom,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "y": 270, "uvlock": true }, + "facing=east,half=bottom,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "y": 270, "uvlock": true }, + "facing=west,half=bottom,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "y": 90, "uvlock": true }, + "facing=south,half=bottom,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model" }, + "facing=north,half=bottom,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "y": 180, "uvlock": true }, + "facing=east,half=bottom,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model" }, + "facing=west,half=bottom,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "y": 180, "uvlock": true }, + "facing=south,half=bottom,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "y": 90, "uvlock": true }, + "facing=north,half=bottom,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "y": 270, "uvlock": true }, + "facing=east,half=bottom,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "y": 270, "uvlock": true }, + "facing=west,half=bottom,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "y": 90, "uvlock": true }, + "facing=south,half=bottom,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model" }, + "facing=north,half=bottom,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "y": 180, "uvlock": true }, + "facing=east,half=top,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "x": 180, "uvlock": true }, + "facing=west,half=top,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "x": 180, "y": 180, "uvlock": true }, + "facing=south,half=top,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "x": 180, "y": 90, "uvlock": true }, + "facing=north,half=top,shape=straight": { "model": "engineersdecor:stairs/decor_straight_stairs_model", "x": 180, "y": 270, "uvlock": true }, + "facing=east,half=top,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "y": 90, "uvlock": true }, + "facing=west,half=top,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "y": 270, "uvlock": true }, + "facing=south,half=top,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "y": 180, "uvlock": true }, + "facing=north,half=top,shape=outer_right": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "uvlock": true }, + "facing=east,half=top,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "uvlock": true }, + "facing=west,half=top,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "y": 180, "uvlock": true }, + "facing=south,half=top,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "y": 90, "uvlock": true }, + "facing=north,half=top,shape=outer_left": { "model": "engineersdecor:stairs/decor_outer_stairs_model", "x": 180, "y": 270, "uvlock": true }, + "facing=east,half=top,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "y": 90, "uvlock": true }, + "facing=west,half=top,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "y": 270, "uvlock": true }, + "facing=south,half=top,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "y": 180, "uvlock": true }, + "facing=north,half=top,shape=inner_right": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "uvlock": true }, + "facing=east,half=top,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "uvlock": true }, + "facing=west,half=top,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "y": 180, "uvlock": true }, + "facing=south,half=top,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "y": 90, "uvlock": true }, + "facing=north,half=top,shape=inner_left": { "model": "engineersdecor:stairs/decor_inner_stairs_model", "x": 180, "y": 270, "uvlock": true } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_concrete.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_concrete.json new file mode 100644 index 0000000..2558fdf --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_concrete.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/stone_decoration_concrete" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_rebar_concrete.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_rebar_concrete.json new file mode 100644 index 0000000..8eb92d3 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_rebar_concrete.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "engineersdecor:blocks/concrete/rebar_concrete_texture0" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_aluminum.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_aluminum.json new file mode 100644 index 0000000..81a6e72 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_aluminum.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/sheetmetal_aluminum" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_copper.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_copper.json new file mode 100644 index 0000000..34d8409 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_copper.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/sheetmetal_copper" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_gold.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_gold.json new file mode 100644 index 0000000..6b024f1 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_gold.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/sheetmetal_gold" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_iron.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_iron.json new file mode 100644 index 0000000..cb99562 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_iron.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/sheetmetal_iron" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_steel.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_steel.json new file mode 100644 index 0000000..e1cea07 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_sheetmetal_steel.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/sheetmetal_steel" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_treated_wood.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_treated_wood.json new file mode 100644 index 0000000..5a9069d --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/halfslab_treated_wood.json @@ -0,0 +1,28 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "engineersdecor:slab/halfslab_s0_model", + "textures": { "all": "immersiveengineering:blocks/treated_wood" } + }, + "variants": { + "normal": [{}], + "inventory": [{}], + "parts": { + "0" : { "model": "engineersdecor:slab/halfslab_s0_model" }, + "1" : { "model": "engineersdecor:slab/halfslab_s1_model" }, + "2" : { "model": "engineersdecor:slab/halfslab_s2_model" }, + "3" : { "model": "engineersdecor:slab/halfslab_s3_model" }, + "4" : { "model": "engineersdecor:slab/halfslab_s4_model" }, + "5" : { "model": "engineersdecor:slab/halfslab_s5_model" }, + "6" : { "model": "engineersdecor:slab/halfslab_s6_model" }, + "7" : { "model": "engineersdecor:slab/halfslab_s7_model" }, + "8" : { "model": "engineersdecor:slab/halfslab_s8_model" }, + "9" : { "model": "engineersdecor:slab/halfslab_s9_model" }, + "10": { "model": "engineersdecor:slab/halfslab_sa_model" }, + "11": { "model": "engineersdecor:slab/halfslab_sb_model" }, + "12": { "model": "engineersdecor:slab/halfslab_sc_model" }, + "13": { "model": "engineersdecor:slab/halfslab_sd_model" }, + "14": { "model": "engineersdecor:slab/halfslab_se_model" } + } + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/blockstates/sign_factoryarea.json b/1.12/src/main/resources/assets/engineersdecor/blockstates/sign_factoryarea.json new file mode 100644 index 0000000..10e1735 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/blockstates/sign_factoryarea.json @@ -0,0 +1,9 @@ +{ + "forge_marker": 1, + "defaults": { "model": "engineersdecor:sign/sign_factoryarea_model" }, + "variants": { + "normal": [{}], + "inventory": [{}], + "facing": { "north":{"y":0}, "south":{"y":180}, "west":{"y":270}, "east":{"y":90}, "up": {"x":0}, "down": {"x":0} } + } +} 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 1f2118f..3142729 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 @@ -14,6 +14,8 @@ engineersdecor.tooltip.hint.help=§6[§9CTRL-SHIFT§r Help§6]§r #----------------------------------------------------------------------------------------------------------- tile.engineersdecor.clinker_brick_block.name=Clinker Brick Block tile.engineersdecor.clinker_brick_block.help=§6A brick block with position dependent texture variations.§r\nLooks slightly darker and more color intensive than the vanilla brick block. +tile.engineersdecor.clinker_brick_stained_block.name=Stained Clinker Brick Block +tile.engineersdecor.clinker_brick_stained_block.help=§6A brick block with position dependent texture variations.§r\nLooks slightly darker and more color intensive than the vanilla brick block. Has more visible traces of grime or stain. tile.engineersdecor.slag_brick_block.name=Slag Brick Block tile.engineersdecor.slag_brick_block.help=§6A gray-brown brick block with position dependent texture variations. tile.engineersdecor.rebar_concrete.name=Rebar Concrete Block @@ -41,6 +43,8 @@ tile.engineersdecor.treated_wood_ladder.help=§6Weather-proof wooden ladder.§r #----------------------------------------------------------------------------------------------------------- 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. +tile.engineersdecor.clinker_brick_stained_stairs.name=Stained Clinker Brick Stairs +tile.engineersdecor.clinker_brick_stained_stairs.help=§6Looks slightly darker and more color intensive than the vanilla brick block. Has more visible traces of grime or stain. tile.engineersdecor.slag_brick_stairs.name=Clinker Brick Stairs tile.engineersdecor.slag_brick_stairs.help=§6Looks slightly darker and more color intensive than the vanilla brick block. tile.engineersdecor.rebar_concrete_stairs.name=Rebar Concrete Stairs @@ -139,7 +143,25 @@ tile.engineersdecor.sign_danger.name=Sign "Caution Really Dangerous There" tile.engineersdecor.sign_danger.help=§6General danger warning. tile.engineersdecor.sign_defense.name=Sign "Caution Defense System Ahead" tile.engineersdecor.sign_defense.help=§6Warning sign for turrets, Tesla Coils, and traps. - +tile.engineersdecor.sign_factoryarea.name=Sign "Factory Area" +tile.engineersdecor.sign_factoryarea.help=§6Marker sign for buildings or areas where the really big machines are. +#----------------------------------------------------------------------------------------------------------- +tile.engineersdecor.halfslab_rebar_concrete.name=Rebar Concrete Slice +tile.engineersdecor.halfslab_rebar_concrete.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_concrete.name=Concrete Slice +tile.engineersdecor.halfslab_concrete.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_treated_wood.name=Treated Wood Slice +tile.engineersdecor.halfslab_treated_wood.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_iron.name=Iron Sheet Metal Slice +tile.engineersdecor.halfslab_sheetmetal_iron.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_steel.name=Steel Sheet Metal Slice +tile.engineersdecor.halfslab_sheetmetal_steel.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_copper.name=Copper Sheet Metal Slice +tile.engineersdecor.halfslab_sheetmetal_copper.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_gold.name=Gold Sheet Metal Slice +tile.engineersdecor.halfslab_sheetmetal_gold.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_aluminum.name=Aluminum Sheet Metal Slice +tile.engineersdecor.halfslab_sheetmetal_aluminum.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. #----------------------------------------------------------------------------------------------------------- # EOF #----------------------------------------------------------------------------------------------------------- diff --git a/1.12/src/main/resources/assets/engineersdecor/lang/ru_ru.lang b/1.12/src/main/resources/assets/engineersdecor/lang/ru_ru.lang index 6a29f7a..56747df 100644 --- a/1.12/src/main/resources/assets/engineersdecor/lang/ru_ru.lang +++ b/1.12/src/main/resources/assets/engineersdecor/lang/ru_ru.lang @@ -14,6 +14,8 @@ engineersdecor.tooltip.hint.help=§6[§9CTRL-SHIFT§r Помощь§6]§r #----------------------------------------------------------------------------------------------------------- tile.engineersdecor.clinker_brick_block.name=Клинкерный кирпич tile.engineersdecor.clinker_brick_block.help=§6Кирпичный блок с вариациями текстуры, зависящими от положения.§r\nВыглядит немного темнее и интенсивнее, чем ванильный кирпичный блок. +tile.engineersdecor.clinker_brick_stained_block.name=Stained Clinker Brick Block +#tile.engineersdecor.clinker_brick_stained_block.help=§6A brick block with position dependent texture variations.§r\nLooks slightly darker and more color intensive than the vanilla brick block. Has more visible traces of grime or stain. tile.engineersdecor.slag_brick_block.name=Шлакоблок tile.engineersdecor.slag_brick_block.help=§6Серо-коричневый кирпичный блок с зависимыми от положения вариациями текстуры. tile.engineersdecor.rebar_concrete.name=Железобетон @@ -41,6 +43,8 @@ tile.engineersdecor.treated_wood_ladder.help=§6Погодоустойчивая #----------------------------------------------------------------------------------------------------------- tile.engineersdecor.clinker_brick_stairs.name=Клинкерная кирпичная лестница tile.engineersdecor.clinker_brick_stairs.help=§6По цвету выглядит немного темнее и интенсивнее, чем ванильный кирпичный блок +tile.engineersdecor.clinker_brick_stained_stairs.name=Stained Clinker Brick Stairs +#tile.engineersdecor.clinker_brick_stained_stairs.help=§6Looks slightly darker and more color intensive than the vanilla brick block. Has more visible traces of grime or stain. tile.engineersdecor.slag_brick_stairs.name=Клинкерная кирпичная лестница tile.engineersdecor.slag_brick_stairs.help=§6По цвету выглядит немного темнее и интенсивнее, чем ванильный кирпичный блок. tile.engineersdecor.rebar_concrete_stairs.name=Железобетонная лестница @@ -132,7 +136,25 @@ tile.engineersdecor.sign_danger.name=Sign "Caution really dangerous there" #tile.engineersdecor.sign_danger.help=§6General danger warning. tile.engineersdecor.sign_defense.name=Sign "Caution Defense System Ahead" #tile.engineersdecor.sign_defense.help=§6Warning sign for turrets, Tesla Coils, and traps. - +tile.engineersdecor.sign_factoryarea.name=Sign "Factory Area" +#tile.engineersdecor.sign_factoryarea.help=§6Marker sign for buildings or areas where the really big machines are. +#----------------------------------------------------------------------------------------------------------- +tile.engineersdecor.halfslab_rebar_concrete.name=Rebar Concrete Slice +#tile.engineersdecor.halfslab_rebar_concrete.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_concrete.name=Concrete Slice +#tile.engineersdecor.halfslab_concrete.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_treated_wood.name=Treated Wood Slice +#tile.engineersdecor.halfslab_treated_wood.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_iron.name=Iron Sheet Metal Slice +#tile.engineersdecor.halfslab_sheetmetal_iron.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_steel.name=Steel Sheet Metal Slice +#tile.engineersdecor.halfslab_sheetmetal_steel.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_copper.name=Copper Sheet Metal Slice +#tile.engineersdecor.halfslab_sheetmetal_copper.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_gold.name=Gold Sheet Metal Slice +#tile.engineersdecor.halfslab_sheetmetal_gold.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. +tile.engineersdecor.halfslab_sheetmetal_aluminum.name=Aluminum Sheet Metal Slice +#tile.engineersdecor.halfslab_sheetmetal_aluminum.help=§6Vertically stackable slice.§rRight/left click with the slice stack on the top or bottom surface to add/remove slices. #----------------------------------------------------------------------------------------------------------- # EOF #----------------------------------------------------------------------------------------------------------- diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/sign/sign_factoryarea_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/sign/sign_factoryarea_model.json new file mode 100644 index 0000000..58e9eff --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/sign/sign_factoryarea_model.json @@ -0,0 +1,4 @@ +{ + "parent": "engineersdecor:block/sign/sign_rect14x14_model", + "textures": { "f": "engineersdecor:blocks/sign/sign_factoryarea_texture" } +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/sign/sign_rect14x14_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/sign/sign_rect14x14_model.json new file mode 100644 index 0000000..c99e323 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/sign/sign_rect14x14_model.json @@ -0,0 +1,35 @@ +{ + "parent": "block/cube", + "textures": { + "s": "engineersdecor:blocks/iestyle/treated_wood_rough_texture", + "particle": "engineersdecor:blocks/iestyle/treated_wood_rough_texture", + "f": "engineersdecor:blocks/sign/sign_factoryarea_texture" + }, + "elements": [ + { + "from": [1, 1, 0], + "to": [15, 15, 0.5], + "faces": { + "north": {"uv": [1, 1, 15, 15], "texture": "#s"}, + "east": {"uv": [15.5, 1, 16, 15], "texture": "#s"}, + "south": {"uv": [1, 1, 15, 15], "texture": "#f"}, + "west": {"uv": [0, 1, 0.5, 15], "texture": "#s"}, + "up": {"uv": [1, 0, 15, 0.5], "texture": "#s"}, + "down": {"uv": [1, 15.5, 15, 16], "texture": "#s"} + } + } + ], + "display": { + "ground": { + "translation": [0, 0, 7], + "scale": [0.7, 0.7, 0.7] + }, + "gui": { + "translation": [0, 0.5, 0] + }, + "fixed": { + "rotation": [0, 180, 0], + "translation": [0, 0, -7.3] + } + } +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s0_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s0_model.json new file mode 100644 index 0000000..bc6e770 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s0_model.json @@ -0,0 +1,48 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ], + "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] + }, + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 0, 2.2], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "translation": [ 0, 0, 0 ], + "scale": [ 0.40, 0.40, 0.40 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 225, 0 ], + "translation": [ 0, 0, 0 ], + "scale": [ 0.40, 0.40, 0.40 ] + } + } +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s1_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s1_model.json new file mode 100644 index 0000000..8b658ae --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s1_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 4, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s2_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s2_model.json new file mode 100644 index 0000000..86a0657 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s2_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 6, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s3_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s3_model.json new file mode 100644 index 0000000..2d9492c --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s3_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 8, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s4_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s4_model.json new file mode 100644 index 0000000..e3288fe --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s4_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 10, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s5_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s5_model.json new file mode 100644 index 0000000..3534de5 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s5_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 12, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s6_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s6_model.json new file mode 100644 index 0000000..7aa1e3e --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s6_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 14, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s7_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s7_model.json new file mode 100644 index 0000000..a9d646b --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s7_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s8_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s8_model.json new file mode 100644 index 0000000..1be83a3 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s8_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 2, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s9_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s9_model.json new file mode 100644 index 0000000..308cb88 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_s9_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 4, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sa_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sa_model.json new file mode 100644 index 0000000..76367b4 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sa_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 6, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sb_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sb_model.json new file mode 100644 index 0000000..d4417c5 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sb_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 8, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sc_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sc_model.json new file mode 100644 index 0000000..0cfb7f9 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sc_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 10, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sd_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sd_model.json new file mode 100644 index 0000000..59178ef --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_sd_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 12, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_se_model.json b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_se_model.json new file mode 100644 index 0000000..c0ff07f --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/models/block/slab/halfslab_se_model.json @@ -0,0 +1,21 @@ +{ + "parent": "engineersdecor:block/slab/halfslab_s0_model", + "textures": { + "particle": "#all", + "all": "engineersdecor:blocks/iestyle/treated_wood_framed_nailed_texture" + }, + "elements": [ + { + "from": [0, 14, 0], + "to": [16, 16, 16], + "faces": { + "north": {"texture": "#all"}, + "east": {"texture": "#all"}, + "south": {"texture": "#all"}, + "west": {"texture": "#all"}, + "up": {"texture": "#all"}, + "down": {"texture": "#all"} + } + } + ] +} \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/_constants.json b/1.12/src/main/resources/assets/engineersdecor/recipes/_constants.json index 439a15a..9720d11 100644 --- a/1.12/src/main/resources/assets/engineersdecor/recipes/_constants.json +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/_constants.json @@ -110,6 +110,13 @@ ], "name": "plateAnyMetal" }, + { + "ingredient": [ + { "type": "forge:ore_dict", "ore": "plateIron" }, + { "type": "forge:ore_dict", "ore": "plateSteel" } + ], + "name": "plateAnyFerroMetal" + }, { "conditions": [ { "type": "minecraft:item_exists", "item": "immersiveengineering:material" } @@ -141,6 +148,25 @@ ], "name": "electricalConnector" }, + { + "conditions": [ + { "type": "minecraft:item_exists", "item": "immersiveengineering:conveyor" } + ], + "ingredient": [ + { "type": "minecraft:item_nbt", "item": "immersiveengineering:conveyor", "nbt": { "conveyorType": "immersiveengineering:conveyor" } }, + { "type": "minecraft:item_nbt", "item": "immersiveengineering:conveyor", "nbt": { "conveyorType": "immersiveengineering:uncontrolled" } } + ], + "name": "normalConveyor" + }, + { + "conditions": [ + { "type": "minecraft:item_exists", "item": "immersiveengineering:conveyor" } + ], + "ingredient": [ + { "type": "minecraft:item_nbt", "item": "immersiveengineering:conveyor", "nbt": { "conveyorType": "immersiveengineering:dropper" } } + ], + "name": "droppingConveyor" + }, { "ingredient": [ { "type": "forge:ore_dict", "ore": "ingotBrick" }, @@ -240,5 +266,9 @@ { "ingredient": { "item": "minecraft:lava_bucket", "data": 0 }, "name": "anyLavaItem" + }, + { + "ingredient": { "item": "minecraft:dirt", "data": 0 }, + "name": "anyDirt" } ] \ No newline at end of file diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_block_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_block_recipe.json new file mode 100644 index 0000000..db33ab9 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_block_recipe.json @@ -0,0 +1,17 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:clinker_brick_stained_block", + "required": ["engineersdecor:clinker_brick_block"] + } + ], + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { "item": "engineersdecor:clinker_brick_block" }, + { "item": "#anyDirt" } + ], + "result": { + "item": "engineersdecor:clinker_brick_stained_block" + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_stairs_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_stairs_recipe.json new file mode 100644 index 0000000..ec80be6 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_stairs_recipe.json @@ -0,0 +1,24 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:clinker_brick_stained_stairs" + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + "C ", + "CC ", + "CCC" + ], + "key": { + "C": { + "item": "engineersdecor:clinker_brick_stained_block", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:clinker_brick_stained_stairs", + "count": 6 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_stairs_recipe_decompose.json b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_stairs_recipe_decompose.json new file mode 100644 index 0000000..11d939e --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/clinker_brick_stained_stairs_recipe_decompose.json @@ -0,0 +1,23 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:clinker_brick_stained_block" + } + ], + "type": "minecraft:crafting_shaped", + "pattern": [ + "SS", + "SS" + ], + "key": { + "S": { + "item": "engineersdecor:clinker_brick_stained_stairs", + "data": 0 + } + }, + "result": { + "item": "engineersdecor:clinker_brick_stained_block", + "count": 4 + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/sign_factoryarea_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/sign_factoryarea_recipe.json new file mode 100644 index 0000000..6dfecd4 --- /dev/null +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/sign_factoryarea_recipe.json @@ -0,0 +1,16 @@ +{ + "conditions": [ + { + "type": "engineersdecor:grc", + "result": "engineersdecor:sign_defense", + "required": ["engineersdecor:sign_danger"] + } + ], + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { "item": "engineersdecor:sign_defense" } + ], + "result": { + "item": "engineersdecor:sign_factoryarea" + } +} diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/sign_hotwire_recipe_backcycle.json b/1.12/src/main/resources/assets/engineersdecor/recipes/sign_hotwire_recipe_backcycle.json index 68d042f..9270d8a 100644 --- a/1.12/src/main/resources/assets/engineersdecor/recipes/sign_hotwire_recipe_backcycle.json +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/sign_hotwire_recipe_backcycle.json @@ -3,12 +3,12 @@ { "type": "engineersdecor:grc", "result": "engineersdecor:sign_hotwire", - "required": ["engineersdecor:sign_defense"] + "required": ["engineersdecor:sign_factoryarea"] } ], "type": "minecraft:crafting_shapeless", "ingredients": [ - { "item": "engineersdecor:sign_defense" } + { "item": "engineersdecor:sign_factoryarea" } ], "result": { "item": "engineersdecor:sign_hotwire" diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/small_electrical_furnace_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/small_electrical_furnace_recipe.json index 7782f48..bed1e59 100644 --- a/1.12/src/main/resources/assets/engineersdecor/recipes/small_electrical_furnace_recipe.json +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/small_electrical_furnace_recipe.json @@ -3,27 +3,20 @@ { "type": "engineersdecor:grc", "result": "engineersdecor:small_electrical_furnace", - "required": ["immersiveengineering:material", "engineersdecor:small_lab_furnace"] + "required": ["immersiveengineering:material"] } ], "type": "minecraft:crafting_shaped", "pattern": [ - " C ", - "HFH" + "PCP", + "HFH", + "PPP" ], "key": { - "F": { - "item": "engineersdecor:small_lab_furnace", - "data": 0 - }, - "C": { - "item": "#electricalConnector", - "data": 0 - }, - "H": { - "item": "#anyHopper", - "data": 0 - } + "F": { "item": "#itemFurnace" }, + "C": { "item": "#electricalConnector" }, + "H": { "item": "#normalConveyor" }, + "P": { "item": "#plateAnyFerroMetal" } }, "result": { "item": "engineersdecor:small_electrical_furnace", diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/standalone/small_electrical_furnace_recipe_standalone.json b/1.12/src/main/resources/assets/engineersdecor/recipes/standalone/small_electrical_furnace_recipe_standalone.json index 9a4b322..42fee34 100644 --- a/1.12/src/main/resources/assets/engineersdecor/recipes/standalone/small_electrical_furnace_recipe_standalone.json +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/standalone/small_electrical_furnace_recipe_standalone.json @@ -3,7 +3,8 @@ { "type": "engineersdecor:grc", "result": "engineersdecor:small_electrical_furnace", - "required": ["engineersdecor:small_lab_furnace"] + "required": ["engineersdecor:small_lab_furnace"], + "missing": ["immersiveengineering:material"] } ], "type": "minecraft:crafting_shaped", diff --git a/1.12/src/main/resources/assets/engineersdecor/recipes/straight_pipe_valve_recipe.json b/1.12/src/main/resources/assets/engineersdecor/recipes/straight_pipe_valve_recipe.json index 8562a52..f64e06d 100644 --- a/1.12/src/main/resources/assets/engineersdecor/recipes/straight_pipe_valve_recipe.json +++ b/1.12/src/main/resources/assets/engineersdecor/recipes/straight_pipe_valve_recipe.json @@ -20,6 +20,6 @@ }, "result": { "item": "engineersdecor:straight_pipe_valve", - "count": 3 + "count": 2 } } diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture0.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture0.png new file mode 100644 index 0000000..9edb948 Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture0.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture1.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture1.png new file mode 100644 index 0000000..0b868fd Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture1.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture2.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture2.png new file mode 100644 index 0000000..47d34ec Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture2.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture3.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture3.png new file mode 100644 index 0000000..89dfa23 Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture3.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture4.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture4.png new file mode 100644 index 0000000..e1804d4 Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture4.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture5.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture5.png new file mode 100644 index 0000000..da1056c Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture5.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture6.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture6.png new file mode 100644 index 0000000..7833843 Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture6.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture7.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture7.png new file mode 100644 index 0000000..f9196e7 Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/clinker_brick/clinker_brick_stained_texture7.png differ diff --git a/1.12/src/main/resources/assets/engineersdecor/textures/blocks/sign/sign_factoryarea_texture.png b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/sign/sign_factoryarea_texture.png new file mode 100644 index 0000000..82c1847 Binary files /dev/null and b/1.12/src/main/resources/assets/engineersdecor/textures/blocks/sign/sign_factoryarea_texture.png differ diff --git a/1.13/readme.md b/1.13/readme.md index 024e00e..099ff8d 100644 --- a/1.13/readme.md +++ b/1.13/readme.md @@ -12,7 +12,9 @@ Mod sources for Minecraft version 1.13.2. - v1.0.7-b3 [V] Version assignment: All features of v1.0.7-b3-1.12.2 that can be ported to 1.13.2 implemented/prepared, therefore version re-assigned. - [A] Sign background colors adapted. + [A] Added "Factory Area" sign. + [M] Sign background colors adapted. + [M] EN lang file updated (PR#28, Voxelo). - v1.0.4-b6 [A] Added Small Electrical Furnace. [A] Added Small Waste Incinerator. diff --git a/meta/update.json b/meta/update.json index 6965b17..a15e809 100644 --- a/meta/update.json +++ b/meta/update.json @@ -1,6 +1,7 @@ { "homepage": "https://www.curseforge.com/minecraft/mc-mods/engineers-decor/", "1.12.2": { + "1.0.8-b1": "[A] Added \"Factory area\" sign.\n[M] Electrical furnace recipe changed (hoppers to conveyors).\n[A] Opt-out config options added.\n[F] Lang file fixes for en_us (Angela, PR#29).", "1.0.7": "[R] Release based on v1.0.7-b2. Release-to-release changes: * Factory dropper added. * Defense system warning sign added. * Warning sign backgrounds adapted. * Standalone recipes added. * Lang files updated.\n[A] Added standalone recipes for signs, factory dropper, and electrical furnace.\n[M] Adapted \"Caution\" sign backgrounds to the yellow defense system warning background.", "1.0.7-b2": "[A] Added Defense System Warning sign (design by J. Carver).\n[M] Factory dropper non-experimental now. GUI click area tuning. \"Fast drop\" symbol replaced from arrow to dog icon (thx overchoice for that icon).\n[M] Lang files updated.", "1.0.7-b1": "[M] Factory dropper (config:experimental) button placement fixed, GUI vs external view x/y markers added, internal trigger logic simplified. Thx @overchoice for beta testing!", @@ -40,7 +41,7 @@ "1.0.0-b1": "[A] Initial structure.\n[A] Added clinker bricks and clinker brick stairs.\n[A] Added slag bricks and slag brick stairs.\n[A] Added metal rung ladder.\n[A] Added staggered metal steps ladder.\n[A] Added treated wood ladder.\n[A] Added treated wood pole.\n[A] Added treated wood table." }, "1.13.2": { - "1.0.7-b3": "[V] Version assignment: All features of v1.0.7-b3-1.12.2 that can be ported to 1.13.2 implemented/prepared, therefore version re-assigned.\n[A] Sign background colors adapted.", + "1.0.7-b3": "[V] Version assignment: All features of v1.0.7-b3-1.12.2 that can be ported to 1.13.2 implemented/prepared, therefore version re-assigned.\n[A] Added \"Factory Area\" sign.\n[M] Sign background colors adapted.\n[M] EN lang file updated (PR#28, Voxelo).", "1.0.4-b6": "[A] Added Small Electrical Furnace.\n[A] Added Small Waste Incinerator.\n[A] Experimental: Added fluid check valve.\n[A] Experimental: Added fluid redstone controlled valve.\n[A] Experimental: Added fluid redstone analog valve.\n[A] Experimental: Added passive fluid accumulator.", "1.0.4-b5": "[A] Added Factory Dropper.\n[A] Added \"Caution Defense System Ahead\" sign.", "1.0.4-b4": "[U] Updated forge dependency: REQUIRES FORGE >= 1.13.2-25.0.214.\n[A] Added sign \"Electrical hazard\"/\"Caution hot wire\".\n[A] Added sign \"Caution dangerous there\" (skull/bones).\n[A] Added horizontal steel double-T support beam with pole connections.", @@ -54,7 +55,7 @@ }, "promos": { "1.12.2-recommended": "1.0.7", - "1.12.2-latest": "1.0.7", + "1.12.2-latest": "1.0.8-b1", "1.13.2-recommended": "", "1.13.2-latest": "1.0.7-b3" }