1.14/1.15: Added E-Furnace GUI process speed switch. Added Steel Mesh Fence Gate.

This commit is contained in:
stfwi 2020-03-13 18:14:40 +01:00
parent 6e8ecbff19
commit 27a957ba8d
83 changed files with 3490 additions and 336 deletions

View file

@ -30,7 +30,7 @@ minecraft {
runs {
client {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.markers', ''
property 'forge.logging.console.level', 'debug'
mods {
engineersdecor {
@ -40,7 +40,7 @@ minecraft {
}
server {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.markers', ''
property 'forge.logging.console.level', 'debug'
mods {
engineersdecor {
@ -50,7 +50,7 @@ minecraft {
}
data {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.markers', ''
property 'forge.logging.console.level', 'debug'
args '--mod', 'engineersdecor', '--all', '--output', file('src/generated/resources/')
mods {

View file

@ -2,7 +2,7 @@
org.gradle.daemon=false
org.gradle.jvmargs=-Xmx8G
version_minecraft=1.14.4
version_forge_minecraft=1.14.4-28.2.2
version_forge_minecraft=1.14.4-28.2.3
version_fml_mappings=20190719-1.14.3
version_jei=1.14.4:6.0.0.10
version_engineersdecor=1.0.19-b5
version_engineersdecor=1.0.20-b1

View file

@ -1,6 +1,7 @@
{
"homepage": "https://www.curseforge.com/minecraft/mc-mods/engineers-decor/",
"1.14.4": {
"1.0.20-b1": "[A] Electrical Furnace: Added four-position speed switch (off, 100%, 150%, 200%), power consumption increases at higher rate (off, 100%, 200%, 400%).\n[A] Added Steel Mesh Fence Gate (single or double height gate fitting to the Steel Mesh Fence).\n[M] Waste Incinerator processing speed tweaked.",
"1.0.19-b5": "[A] Added right-click display of power and progress information for Block Breaker, Solar Panel, and Tree Cutter.\n[A] Solar Panel power curve tuned.\n[A] Mod manual 1st edition release recipe added.\n[A] Factory Hopper: Resetting NBT when breaking with empty inventory (for stacking), enabled item cap for all sides.\n[M] Electrical Furnace model polished.",
"1.0.19-b4": "[A] Ported primary Immersive Engineering dependent recipes (alternative recipes will still work if IE is not installed).\n[M] Furni comparator output overrides reflect input slots and empty fuel state/power-cutoff.\n[M] Solar Panel config: Default value for internal battery capacity increased.\n[F] Block Placer: Shifted GUI player slots 1px to the right.\n[A] Added mod block tags for slabs, stairs, and walls (PR#89, thanks CrudeAustin for the data).\n[A] Added experimental Patchouli manual (creative only).\n[!] Skipped blacklisting Treated Wood Crafting Table slots for the inventorysorter mod due to potential startup crashes for single player games (issue #88 fix deferred).",
"1.0.19-b3": "[M] Config tweaks: Value limit ranges increased to facilitate modpacking.\n[A] Factory Hopper: Added bottom item handler (CR#227).\n[M] Block shapes refined.\n[F] Fixed duping bug (issue #87, thx Nachtflame)",
@ -49,6 +50,6 @@
},
"promos": {
"1.14.4-recommended": "",
"1.14.4-latest": "1.0.19-b5"
"1.14.4-latest": "1.0.20-b1"
}
}

View file

@ -11,6 +11,11 @@ Mod sources for Minecraft version 1.14.4.
## Version history
- v1.0.20-b1 [A] Electrical Furnace: Added four-position speed switch (off, 100%, 150%, 200%), power consumption
increases at higher rate (off, 100%, 200%, 400%).
[A] Added Steel Mesh Fence Gate (single or double height gate fitting to the Steel Mesh Fence).
[M] Waste Incinerator processing speed tweaked.
- v1.0.19-b5 [A] Added right-click display of power and progress information for Block Breaker, Solar Panel, and Tree Cutter.
[A] Solar Panel power curve tuned.
[A] Mod manual 1st edition release recipe added.

View file

@ -1,18 +0,0 @@
/*
* BluSunrize
* Copyright (c) 2017
*
* This code is licensed under "Blu's License of Common Sense"
* Details can be found in the license file in the root folder of this project
*/
package blusunrize.immersiveengineering.api.fluid;
import net.minecraft.util.Direction;
public interface IFluidPipe
{
boolean canOutputPressurized(boolean consumePower);
boolean hasOutputConnection(Direction side);
}

View file

@ -267,7 +267,7 @@ public class ModContent
public static final BlockDecor.WaterLoggable STEEL_TABLE = (BlockDecor.WaterLoggable)(new BlockDecor.WaterLoggable(
BlockDecor.CFG_CUTOUT,
Block.Properties.create(Material.WOOD, MaterialColor.WOOD).hardnessAndResistance(2f, 15f).sound(SoundType.WOOD),
Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 15f).sound(SoundType.METAL),
Auxiliaries.getPixeledAABB(0,0,0, 16,16,16)
)).setRegistryName(new ResourceLocation(ModEngineersDecor.MODID, "steel_table"));
@ -637,6 +637,12 @@ public class ModContent
1.5, 16, 0.25, 0, 16
)).setRegistryName(new ResourceLocation(ModEngineersDecor.MODID, "steel_mesh_fence"));
public static final BlockDecorDoubleGate STEEL_MESH_FENCE_GATE = (BlockDecorDoubleGate)(new BlockDecorDoubleGate(
BlockDecor.CFG_CUTOUT,
Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 15f).sound(SoundType.METAL),
Auxiliaries.getPixeledAABB(0,0,6.5, 16,16,9.5)
)).setRegistryName(new ResourceLocation(ModEngineersDecor.MODID, "steel_mesh_fence_gate"));
// -------------------------------------------------------------------------------------------------------------------
public static final BlockDecorTest TEST_BLOCK = (BlockDecorTest)(new BlockDecorTest(
@ -714,6 +720,7 @@ public class ModContent
FLOOR_EDGE_LIGHT_IRON,
STEEL_FLOOR_GRATING,
STEEL_MESH_FENCE,
STEEL_MESH_FENCE_GATE,
TREATED_WOOD_POLE,
TREATED_WOOD_POLE_HEAD,
TREATED_WOOD_POLE_SUPPORT,

View file

@ -0,0 +1,158 @@
/*
* @file BlockDecorDoubleGate.java
* @author Stefan Wilhelm (wile)
* @copyright (C) 2019 Stefan Wilhelm
* @license MIT (see https://opensource.org/licenses/MIT)
*
* Gate blocks that can be one or two segments high.
*/
package wile.engineersdecor.blocks;
import wile.engineersdecor.libmc.detail.Auxiliaries;
import net.minecraft.block.*;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.BlockItemUseContext;
import net.minecraft.state.BooleanProperty;
import net.minecraft.state.IntegerProperty;
import net.minecraft.state.StateContainer;
import net.minecraft.util.SoundCategory;
import net.minecraft.util.SoundEvents;
import net.minecraft.util.Direction;
import net.minecraft.util.Hand;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.BlockRayTraceResult;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShape;
import net.minecraft.util.math.shapes.VoxelShapes;
import net.minecraft.world.IBlockReader;
import net.minecraft.world.IWorld;
import net.minecraft.world.World;
import net.minecraft.pathfinding.PathType;
import javax.annotation.Nullable;
import java.util.ArrayList;
import java.util.Arrays;
public class BlockDecorDoubleGate extends BlockDecor.HorizontalWaterLoggable implements IDecorBlock
{
public static final IntegerProperty SEGMENT = IntegerProperty.create("segment", 0, 1);
public static final BooleanProperty OPEN = FenceGateBlock.OPEN;
public static final int SEGMENT_LOWER = 0;
public static final int SEGMENT_UPPER = 1;
protected final ArrayList<VoxelShape> collision_shapes_;
public BlockDecorDoubleGate(long config, Block.Properties properties, AxisAlignedBB aabb)
{ this(config, properties, new AxisAlignedBB[]{aabb}); }
public BlockDecorDoubleGate(long config, Block.Properties properties, AxisAlignedBB[] aabbs)
{
super(config, properties, aabbs);
AxisAlignedBB[] caabbs = new AxisAlignedBB[aabbs.length];
for(int i=0; i<caabbs.length; ++i) caabbs[i] = aabbs[i].expand(0, 0.5, 0);
collision_shapes_ = new ArrayList<VoxelShape>(Arrays.asList(
VoxelShapes.fullCube(),
VoxelShapes.fullCube(),
Auxiliaries.getUnionShape(Auxiliaries.getRotatedAABB(caabbs, Direction.NORTH, true)),
Auxiliaries.getUnionShape(Auxiliaries.getRotatedAABB(caabbs, Direction.SOUTH, true)),
Auxiliaries.getUnionShape(Auxiliaries.getRotatedAABB(caabbs, Direction.WEST, true)),
Auxiliaries.getUnionShape(Auxiliaries.getRotatedAABB(caabbs, Direction.EAST, true)),
VoxelShapes.fullCube(),
VoxelShapes.fullCube()
));
}
@Override
public VoxelShape getCollisionShape(BlockState state, IBlockReader world, BlockPos pos, ISelectionContext selectionContext)
{ return state.get(OPEN) ? VoxelShapes.empty() : collision_shapes_.get(state.get(HORIZONTAL_FACING).getIndex() & 0x7); }
@Override
protected void fillStateContainer(StateContainer.Builder<Block, BlockState> builder)
{ super.fillStateContainer(builder); builder.add(SEGMENT).add(OPEN); }
@Override
@Nullable
public BlockState getStateForPlacement(BlockItemUseContext context)
{ return getInitialState(super.getStateForPlacement(context), context.getWorld(), context.getPos()); }
@Override
@SuppressWarnings("deprecation")
public BlockState updatePostPlacement(BlockState state, Direction facing, BlockState facingState, IWorld world, BlockPos pos, BlockPos facingPos)
{ return getInitialState(super.updatePostPlacement(state, facing, facingState, world, pos, facingPos), world, pos); }
@Override
@SuppressWarnings("deprecation")
public boolean onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult rayTraceResult)
{
if((rayTraceResult.getFace()==Direction.UP) || (rayTraceResult.getFace()==Direction.DOWN) && (player.getHeldItem(hand).getItem()==this.asItem())) return false;
if(world.isRemote) return true;
final boolean open = !state.get(OPEN);
world.setBlockState(pos, state.with(OPEN, open),2|8|16);
if(state.get(SEGMENT) == SEGMENT_UPPER) {
final BlockState adjacent = world.getBlockState(pos.down());
if(adjacent.getBlock()==this) world.setBlockState(pos.down(), adjacent.with(OPEN, open), 2|8|16);
} else {
final BlockState adjacent = world.getBlockState(pos.up());
if(adjacent.getBlock()==this) world.setBlockState(pos.up(), adjacent.with(OPEN, open), 2|8|16);
}
world.playSound(null, pos, open?SoundEvents.BLOCK_IRON_DOOR_OPEN:SoundEvents.BLOCK_IRON_DOOR_CLOSE, SoundCategory.BLOCKS, 0.7f, 1.4f);
return true;
}
@Override
@SuppressWarnings("deprecation")
public boolean allowsMovement(BlockState state, IBlockReader world, BlockPos pos, PathType type)
{ return state.get(OPEN); }
@Override
@SuppressWarnings("deprecation")
public void neighborChanged(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving)
{
if(world.isRemote) return;
boolean powered = false;
BlockState adjacent;
BlockPos adjacent_pos;
if(state.get(SEGMENT) == SEGMENT_UPPER) {
adjacent_pos = pos.down();
adjacent = world.getBlockState(adjacent_pos);
if(adjacent.getBlock()!=this) adjacent = null;
if(world.getRedstonePower(pos.up(), Direction.UP) > 0) {
powered = true;
} else if((adjacent!=null) && (world.isBlockPowered(pos.down(2)))) {
powered = true;
}
} else {
adjacent_pos = pos.up();
adjacent = world.getBlockState(adjacent_pos);
if(adjacent.getBlock()!=this) adjacent = null;
if(world.isBlockPowered(pos)) {
powered = true;
} else if((adjacent!=null) && (world.getRedstonePower(pos.up(2), Direction.UP) > 0)) {
powered = true;
}
}
boolean sound = false;
if(powered != state.get(OPEN)) {
world.setBlockState(pos, state.with(OPEN, powered), 2|8|16);
sound = true;
}
if((adjacent != null) && (powered != adjacent.get(OPEN))) {
world.setBlockState(adjacent_pos, adjacent.with(OPEN, powered), 2|8|16);
sound = true;
}
if(sound) {
world.playSound(null, pos, powered?SoundEvents.BLOCK_IRON_DOOR_OPEN:SoundEvents.BLOCK_IRON_DOOR_CLOSE, SoundCategory.BLOCKS, 0.7f, 1.4f);
}
}
// -------------------------------------------------------------------------------------------------------------------
private BlockState getInitialState(BlockState state, IWorld world, BlockPos pos)
{
final BlockState down = world.getBlockState(pos.down());
if(down.getBlock() == this) return state.with(SEGMENT, SEGMENT_UPPER).with(OPEN, down.get(OPEN)).with(HORIZONTAL_FACING, down.get(HORIZONTAL_FACING));
final BlockState up = world.getBlockState(pos.up());
if(up.getBlock() == this) return state.with(SEGMENT, SEGMENT_LOWER).with(OPEN, up.get(OPEN)).with(HORIZONTAL_FACING, up.get(HORIZONTAL_FACING));
return state.with(SEGMENT, SEGMENT_LOWER).with(OPEN, false);
}
}

View file

@ -8,6 +8,9 @@
*/
package wile.engineersdecor.blocks;
import net.minecraft.util.Direction;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IWorldReader;
import wile.engineersdecor.libmc.blocks.StandardFenceBlock;
import net.minecraft.block.*;
@ -18,4 +21,9 @@ public class BlockDecorFence extends StandardFenceBlock implements IDecorBlock
public BlockDecorFence(long config, Block.Properties properties, double pole_width, double pole_height, double side_width, double side_max_y, double side_min_y)
{ super(config, properties, pole_width, pole_height, side_width, side_max_y, side_min_y); }
@Override
protected boolean attachesTo(BlockState facingState, IWorldReader world, BlockPos facingPos, Direction side)
{ return ((facingState.getBlock()) instanceof BlockDecorDoubleGate) || super.attachesTo(facingState, world, facingPos, side); }
}

View file

@ -113,7 +113,7 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
public static final int FIFO_INTERVAL = 20;
public static final int HEAT_CAPACITY = 200;
public static final int HEAT_INCREMENT = 20;
public static final int MAX_ENERGY_TRANSFER = 256;
public static final int MAX_ENERGY_TRANSFER = 1024;
public static final int MAX_ENERGY_BUFFER = 32000;
public static final int MAX_SPEED_SETTING = 2;
public static final int NUM_OF_SLOTS = 7;
@ -134,6 +134,7 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
private static int energy_consumption_ = DEFAULT_SCALED_ENERGY_CONSUMPTION;
private static int transfer_energy_consumption_ = DEFAULT_SCALED_ENERGY_CONSUMPTION / 8;
private static int proc_speed_percent_ = DEFAULT_SPEED_PERCENT;
private static double speed_setting_factor_[] = {0.0, 1.0, 1.5, 2.0};
public static void on_config(int speed_percent, int standard_energy_per_tick, boolean with_automatic_inventory_pulling)
{
@ -146,15 +147,16 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
// BTileEntity -----------------------------------------------------------------------------
private int burntime_left_;
private int proc_time_elapsed_;
private int proc_time_needed_;
private int energy_stored_;
private int field_max_energy_stored_;
private int field_isburning_;
private int speed_;
private int tick_timer_;
private int fifo_timer_;
private int burntime_left_ = 0;
private int proc_time_elapsed_ = 0;
private int proc_time_needed_ = 0;
private int energy_stored_ = 0;
private int field_max_energy_stored_ = 0;
private int field_isburning_ = 0;
private int speed_ = 1;
private int tick_timer_ = 0;
private int fifo_timer_ = 0;
private boolean enabled_ = false;
public BTileEntity()
{ this(ModContent.TET_SMALL_ELECTRICAL_FURNACE); }
@ -186,6 +188,7 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
proc_time_needed_ = nbt.getInt("CookTimeTotal");
energy_stored_ = nbt.getInt("Energy");
speed_ = nbt.getInt("SpeedSetting");
speed_ = (speed_ < 0) ? (1) : ((speed_>3) ? 3 : speed_);
}
protected void writenbt(CompoundNBT nbt)
@ -469,7 +472,12 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
if(transferItems(FIFO_INPUT_0_SLOT_NO, SMELTING_INPUT_SLOT_NO, 64)) dirty = true;
if(transferItems(FIFO_INPUT_1_SLOT_NO, FIFO_INPUT_0_SLOT_NO, 64)) { dirty = true; } else { shift_in = true; }
}
if((!(stacks_.get(SMELTING_INPUT_SLOT_NO)).isEmpty()) && (energy_stored_ >= energy_consumption_)) {
if(energy_stored_ < energy_consumption()) {
enabled_ = false;
} else if(energy_stored_ >= (MAX_ENERGY_BUFFER/2)) {
enabled_ = true;
}
if((!(stacks_.get(SMELTING_INPUT_SLOT_NO)).isEmpty()) && (enabled_) && (speed_>0) && (speed_<4)) {
IRecipe last_recipe = currentRecipe();
updateCurrentRecipe();
if(currentRecipe() != last_recipe) {
@ -487,7 +495,7 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
}
if(burning() && can_smelt) {
if(heat_up()) dirty = true;
proc_time_elapsed_ += (TICK_INTERVAL * proc_speed_percent_/100);
proc_time_elapsed_ += (int)(TICK_INTERVAL * proc_speed_percent_ * speed_setting_factor_[speed_] / 100);
if(proc_time_elapsed_ >= proc_time_needed_) {
proc_time_elapsed_ = 0;
proc_time_needed_ = getSmeltingTimeNeeded(world, stacks_.get(SMELTING_INPUT_SLOT_NO));
@ -511,7 +519,6 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
if(dirty) markDirty();
field_max_energy_stored_ = getMaxEnergyStored();
field_isburning_ = burning() ? 1 : 0;
//if(this.energy_stored_ < this.getMaxEnergyStored() / 5) this.energy_stored_ = this.getMaxEnergyStored();
}
// Furnace --------------------------------------------------------------------------------------
@ -597,15 +604,25 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
return dirty;
}
// returns TE dirty
int energy_consumption()
{
switch(speed_) {
case 1: return energy_consumption_;
case 2: return energy_consumption_ * 2;
case 3: return energy_consumption_ * 4;
default: return 0;
}
}
private boolean heat_up()
{
if(energy_stored_ < (energy_consumption_)) return false;
int p = energy_consumption();
if((p<=0) || (energy_stored_ < p)) return false;
if(burntime_left_ >= (HEAT_CAPACITY-HEAT_INCREMENT)) return false;
energy_stored_ -= energy_consumption_;
energy_stored_ -= p;
burntime_left_ += HEAT_INCREMENT;
this.markDirty();
return true;
return true; // returns TE dirty
}
private void sync_blockstate()
@ -731,7 +748,12 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
@Override
public void onClientPacketReceived(int windowId, PlayerEntity player, CompoundNBT nbt)
{}
{
if(!(inventory_ instanceof BTileEntity)) return;
BTileEntity te = (BTileEntity)inventory_;
if(nbt.contains("speed")) te.speed_ = MathHelper.clamp(nbt.getInt("speed"), 0, 3);
te.markDirty();
}
}
//--------------------------------------------------------------------------------------------------------------------
@ -773,6 +795,32 @@ public class BlockDecorFurnaceElectrical extends BlockDecorFurnace implements ID
blit(x0+79, y0+30, 176, 15, 1+progress_px(17), 15);
int we = energy_px(32, 8);
if(we>0) blit(x0+88, y0+53, 185, 30, we, 13);
switch(getContainer().field(4)) {
case 0: blit(x0+144, y0+57, 180, 57, 6, 9); break;
case 1: blit(x0+142, y0+58, 190, 58, 9, 6); break;
case 2: blit(x0+144, y0+56, 200, 57, 6, 9); break;
case 3: blit(x0+143, y0+58, 210, 58, 9, 6); break;
default: break;
}
}
@Override
public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
{
BContainer container = (BContainer)getContainer();
int mx = (int)(mouseX - getGuiLeft() + .5), my = (int)(mouseY - getGuiTop() + .5);
if((!isPointInRegion(136, 48, 28, 28, mouseX, mouseY))) {
return super.mouseClicked(mouseX, mouseY, mouseButton);
} else if(isPointInRegion(144, 64, 6, 10, mouseX, mouseY)) {
container.onGuiAction("speed", 0);
} else if(isPointInRegion(134, 58, 10, 6, mouseX, mouseY)) {
container.onGuiAction("speed", 1);
} else if(isPointInRegion(144, 48, 6, 10, mouseX, mouseY)) {
container.onGuiAction("speed", 2);
} else if(isPointInRegion(150, 58, 10, 6, mouseX, mouseY)) {
container.onGuiAction("speed", 3);
}
return true;
}
private int progress_px(int pixels)

View file

@ -8,6 +8,8 @@
*/
package wile.engineersdecor.blocks;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShapes;
import wile.engineersdecor.ModContent;
import wile.engineersdecor.ModEngineersDecor;
import wile.engineersdecor.libmc.blocks.StandardBlocks;
@ -64,6 +66,10 @@ public class BlockDecorHopper extends StandardBlocks.Directed implements IDecorB
public boolean hasComparatorInputOverride(BlockState state)
{ return true; }
@Override
public VoxelShape getCollisionShape(BlockState state, IBlockReader world, BlockPos pos, ISelectionContext context)
{ return VoxelShapes.fullCube(); }
@Override
@SuppressWarnings("deprecation")
public int getComparatorInputOverride(BlockState blockState, World world, BlockPos pos)

View file

@ -1,5 +1,5 @@
/*
* @file BlockDecorDirected.java
* @file BlockDecorSolarPanel.java
* @author Stefan Wilhelm (wile)
* @copyright (C) 2019 Stefan Wilhelm
* @license MIT (see https://opensource.org/licenses/MIT)

View file

@ -168,6 +168,7 @@ public class BlockDecorWasteIncinerator extends StandardBlocks.BaseBlock impleme
public static final int NUM_OF_FIELDS = 1;
public static final int TICK_INTERVAL = 20;
public static final int ENERGIZED_TICK_INTERVAL = 5;
public static final int INCINERATION_STACK_DECREMENT = 4;
public static final int MAX_ENERGY_BUFFER = 16000;
public static final int MAX_ENERGY_TRANSFER = 256;
public static final int DEFAULT_ENERGY_CONSUMPTION = 16;
@ -192,7 +193,6 @@ public class BlockDecorWasteIncinerator extends StandardBlocks.BaseBlock impleme
private int energy_stored_;
protected NonNullList<ItemStack> stacks_ = NonNullList.<ItemStack>withSize(NUM_OF_SLOTS, ItemStack.EMPTY);
public BTileEntity()
{ this(ModContent.TET_WASTE_INCINERATOR); }
@ -505,7 +505,7 @@ public class BlockDecorWasteIncinerator extends StandardBlocks.BaseBlock impleme
ItemStack first_stack = stacks_.get(0);
boolean shift = !first_stack.isEmpty();
if(is_processing) {
processing_stack.shrink(1);
processing_stack.shrink(INCINERATION_STACK_DECREMENT);
if(processing_stack.getCount() <= 0) {
processing_stack = ItemStack.EMPTY;
is_processing = false;
@ -518,22 +518,11 @@ public class BlockDecorWasteIncinerator extends StandardBlocks.BaseBlock impleme
dirty = true;
}
if(shift) {
int max_shift_slot_no = BURN_SLOT_NO-1;
for(int i=1; i<BURN_SLOT_NO-1; ++i) { if(stacks_.get(i).isEmpty()) { max_shift_slot_no=i; break; } }
if(max_shift_slot_no < (BURN_SLOT_NO-1)) {
// re-stack
boolean stacked = false;
for(int i=1; i<=max_shift_slot_no; ++i) {
if(transferItems(i-1, i, getInventoryStackLimit())) {
dirty = true;
stacked = true;
break;
}
}
if(!stacked) {
shiftStacks(0, max_shift_slot_no);
}
} else if(!is_processing) {
boolean transferred = false;
for(int i=BURN_SLOT_NO-1; i>0; --i) {
transferred |= transferItems(i-1, i, getInventoryStackLimit());
}
if((!is_processing) && (!transferred)) {
shiftStacks(0, BURN_SLOT_NO);
dirty = true;
}

View file

@ -94,7 +94,7 @@ public class StandardFenceBlock extends WallBlock implements StandardBlocks.ISta
protected void fillStateContainer(StateContainer.Builder<Block, BlockState> builder)
{ super.fillStateContainer(builder); }
private boolean attachesTo(BlockState facingState, IWorldReader world, BlockPos facingPos, Direction side)
protected boolean attachesTo(BlockState facingState, IWorldReader world, BlockPos facingPos, Direction side)
{
final Block block = facingState.getBlock();
if((block instanceof FenceGateBlock) || (block instanceof StandardFenceBlock) || (block instanceof VariantWallBlock)) return true;

View file

@ -58,10 +58,13 @@ public class LootTableGen extends LootTableProvider
final List<Block> blocks = block_listing.get();
blocks.forEach((block)->{
if((!(block instanceof StandardBlocks.IStandardBlock)) || (!(((StandardBlocks.IStandardBlock)block).hasDynamicDropList()))) {
System.out.println("Generating loot table for " + block.getRegistryName());
tables.put(
block.getLootTable(),
defaultBlockDrops(block.getRegistryName().getPath() + "_dlt", block)
.setParameterSet(LootParameterSets.BLOCK).build());
} else {
System.out.println("Dynamic drop list, skipping loot table for " + block.getRegistryName());
}
});
return tables;

View file

@ -0,0 +1,21 @@
{
"variants": {
"facing=north,open=false,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model" },
"facing=north,open=true,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model_open" },
"facing=south,open=false,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model" , "y":180 },
"facing=south,open=true,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model_open", "y":180 },
"facing=west,open=false,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model" , "y":270 },
"facing=west,open=true,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model_open", "y":270 },
"facing=east,open=false,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model" , "y":90 },
"facing=east,open=true,segment=0": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_bottom_model_open", "y":90 },
"facing=north,open=false,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model" },
"facing=north,open=true,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model_open" },
"facing=south,open=false,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model" , "y":180 },
"facing=south,open=true,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model_open", "y":180 },
"facing=west,open=false,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model" , "y":270 },
"facing=west,open=true,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model_open", "y":270 },
"facing=east,open=false,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model" , "y":90 },
"facing=east,open=true,segment=1": { "model": "engineersdecor:block/fence/steel_mesh_fence_gate_top_model_open", "y":90 }
}
}

View file

@ -151,6 +151,8 @@
"block.engineersdecor.steel_framed_window.help": "§6Steel framed triple glazed window. Well insulating. §r Does not connect to adjacent blocks like glass panes.",
"block.engineersdecor.steel_mesh_fence": "Steel Mesh Fence",
"block.engineersdecor.steel_mesh_fence.help": "§6Industrial style fence.§r\nDoes not connect do regular fences.",
"block.engineersdecor.steel_mesh_fence_gate": "Steel Mesh Fence Gate",
"block.engineersdecor.steel_mesh_fence_gate.help": "§6Industrial style fence gate that fits well to the Steel Mesh Fence.§r\nCan be placed as single or double size gate.",
"block.engineersdecor.small_lab_furnace": "Small Laboratory Furnace",
"block.engineersdecor.small_lab_furnace.help": "§6Small metal cased lab kiln.§r Solid fuel consuming, updraught. Slightly hotter and better isolated than a cobblestone furnace, therefore more efficient. Two auxiliary slots e.g. for storage. Two stack internal hopper fifos for input, output, and fuel. Place an external heater into a aux slot and connect power for electrical smelting speed boost.",
"block.engineersdecor.small_electrical_furnace": "Small Electrical Furnace",

View file

@ -151,6 +151,8 @@
"block.engineersdecor.steel_framed_window.help": "§6Стальной каркас окна с тройным остеклением. Хорошо изолирует. §r Не подключается к смежным блокам, таким как стеклянные панели.",
"block.engineersdecor.steel_mesh_fence": "Забор из стальной сетки",
"block.engineersdecor.steel_mesh_fence.help": "§6Забор в индустриальном стиле.§r\nНе стыкуется с обычными заборами.",
"block.engineersdecor.steel_mesh_fence_gate": "Steel Mesh Fence Gate",
"block.engineersdecor.steel_mesh_fence_gate.help": "§6Industrial style fence gate that fits well to the Steel Mesh Fence.§r\nCan be placed as single or double size gate.",
"block.engineersdecor.small_lab_furnace": "Компактная лабораторная печь",
"block.engineersdecor.small_lab_furnace.help": "§6Лабораторная печь в металлическом корпусе.§r Подача твёрдого топлива сверху. Немного горячее и изолированней каменной, поэтому быстрее. Два вспомогательных слота, например для хранения. Два слота-воронки для ввода, вывода, и топлива. Поместите внешний нагреватель в слот AUX и подключите питание для электрического повышения скорости обработки.",
"block.engineersdecor.small_electrical_furnace": "Компактная конвейерная электрическая печь",

View file

@ -151,6 +151,8 @@
"block.engineersdecor.steel_framed_window.help": "§6钢框三层玻璃窗。绝缘良好。§r不像玻璃板一样连接到相邻方块。",
"block.engineersdecor.steel_mesh_fence": "钢丝栅栏",
"block.engineersdecor.steel_mesh_fence.help": "§6工业式栅栏。§r\n不与普通栅栏连接。",
"block.engineersdecor.steel_mesh_fence_gate": "Steel Mesh Fence Gate",
"block.engineersdecor.steel_mesh_fence_gate.help": "§6Industrial style fence gate that fits well to the Steel Mesh Fence.§r\nCan be placed as single or double size gate.",
"block.engineersdecor.small_lab_furnace": "小型实验室炉",
"block.engineersdecor.small_lab_furnace.help": "§6小型金属壳实验室窑。§r消耗固体燃料向上排气。 比圆石炉稍微热一点,隔热性也更好,因此效率更高。 有两个用于储存的辅助格。两个堆叠的内部漏斗对输入、输出和燃料进行队列管理。 在辅助格放置一个外置加热器并通入电力可以加快熔炼速度。",
"block.engineersdecor.small_electrical_furnace": "小型电炉",

View file

@ -0,0 +1,267 @@
{
"textures": {
"p": "engineersdecor:block/fence/steel_mesh_pole_side",
"t": "engineersdecor:block/fence/steel_mesh_top",
"particle": "engineersdecor:block/fence/steel_mesh_fence",
"s": "engineersdecor:block/fence/steel_mesh_fence"
},
"elements": [
{
"from": [3.125, 13.625, 9.4375],
"to": [12.8125, 13.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 2.02, 15.5, 2.375], "texture": "#s"},
"south": {"uv": [0.5, 2.02, 15.9375, 2.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 9.625, 9.4375],
"to": [12.8125, 9.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 6.02, 15.5, 6.375], "texture": "#s"},
"south": {"uv": [0.5, 6.02, 15.9375, 6.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 5.625, 9.4375],
"to": [12.8125, 5.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 10.02, 15.5, 10.375], "texture": "#s"},
"south": {"uv": [0.5, 10.02, 15.9375, 10.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 1.625, 9.4375],
"to": [12.8125, 1.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 14.02, 15.5, 14.375], "texture": "#s"},
"east": {"uv": [8, 14.02, 8.1875, 14.375], "texture": "#s"},
"south": {"uv": [0.5, 14.02, 15.9375, 14.375], "texture": "#s"},
"west": {"uv": [7.8125, 14.02, 8, 14.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 11.625, 9.625],
"to": [12.8125, 11.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 4.02, 15.5, 4.375], "texture": "#s"},
"south": {"uv": [0.5, 4.02, 15.9375, 4.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 12.625, 9.875],
"to": [5.3125, 13.23, 10.1875],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 9.5, 10]},
"faces": {
"north": {"uv": [10.6875, 2.77, 12.875, 3.375], "texture": "#s"},
"east": {"uv": [5.8125, 2.77, 6, 3.375], "texture": "#s"},
"south": {"uv": [3.125, 2.77, 5.3125, 3.375], "texture": "#s"},
"west": {"uv": [10, 2.77, 10.1875, 3.375], "texture": "#s"},
"up": {"uv": [3.125, 10, 5.3125, 10.1875], "rotation": 90, "texture": "#s"},
"down": {"uv": [3.125, 5.8125, 5.3125, 6], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 12.625, 9],
"to": [5.3125, 13.23, 9.3125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 9.5, 9.125]},
"faces": {
"north": {"uv": [10.6875, 2.77, 12.875, 3.375], "texture": "#s"},
"east": {"uv": [5.8125, 2.77, 6, 3.375], "texture": "#s"},
"south": {"uv": [3.125, 2.77, 5.3125, 3.375], "texture": "#s"},
"west": {"uv": [10, 2.77, 10.1875, 3.375], "texture": "#s"},
"up": {"uv": [3.125, 10, 5.3125, 10.1875], "rotation": 90, "texture": "#s"},
"down": {"uv": [3.125, 5.8125, 5.3125, 6], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.5, 7.625, 9.625],
"to": [12.9375, 7.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 8.02, 15.5, 8.375], "texture": "#s"},
"south": {"uv": [0.5, 8.02, 15.9375, 8.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.5, 3.625, 9.625],
"to": [12.9375, 3.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 12.02, 15.5, 12.375], "texture": "#s"},
"south": {"uv": [0.5, 12.02, 15.9375, 12.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [12.25, 1, 9.25],
"to": [13, 16, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"south": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"west": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"up": {"uv": [7.625, 1.5, 8.375, 2.25], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.625, 13.75, 8.375, 14.5], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.75, 15, 9.25],
"to": [12.25, 16, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"south": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"up": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.75, 1, 9.25],
"to": [12.25, 2, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, -5.5, 9.625]},
"faces": {
"north": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"east": {"uv": [7.625, 0, 8.375, 1], "texture": "#s"},
"south": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"west": {"uv": [7.625, 0, 8.375, 1], "texture": "#s"},
"up": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3, 1, 9.25],
"to": [3.75, 16, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"east": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"south": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"up": {"uv": [7.625, 13.75, 8.375, 14.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.625, 1.5, 8.375, 2.25], "rotation": 270, "texture": "#s"}
}
},
{
"from": [13, 0, 6.5],
"to": [16, 16, 9.5],
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"},
"down": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 270, "texture": "#t"}
}
},
{
"from": [0, 0, 6.5],
"to": [3, 16, 9.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 8]},
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"},
"down": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 270, "texture": "#t"}
}
},
{
"from": [0.5, 0, 9.5],
"to": [3, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"},
"down": {"uv": [0, 5.5, 3, 6.5], "texture": "#t"}
}
},
{
"from": [13, 0, 9.5],
"to": [15.5, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"},
"down": {"uv": [0, 5.5, 3, 6.5], "texture": "#t"}
}
},
{
"from": [11.75, 1.375, 9.5],
"to": [12.125, 15.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [3.875, 0.145, 4.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [11.75, 0.145, 12.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [7.75, 1.375, 9.5],
"to": [8.125, 15.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [7.75, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [3.75, 1.375, 9.5],
"to": [4.125, 15.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [11.875, 0.145, 12.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [3.75, 0.145, 4.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [9.75, 1.375, 9.5],
"to": [10.125, 15.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [5.875, 0.145, 6.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [9.75, 0.145, 10.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [5.75, 1.375, 9.5],
"to": [6.125, 15.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 8.5, 9.625]},
"faces": {
"north": {"uv": [9.875, 0.145, 10.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [5.75, 0.145, 6.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
}
]
}

View file

@ -0,0 +1,267 @@
{
"textures": {
"p": "engineersdecor:block/fence/steel_mesh_pole_side",
"t": "engineersdecor:block/fence/steel_mesh_top",
"particle": "engineersdecor:block/fence/steel_mesh_fence",
"s": "engineersdecor:block/fence/steel_mesh_fence"
},
"elements": [
{
"from": [12.625, 13.625, 0.125],
"to": [12.8125, 13.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 2.02, 15.5, 2.375], "texture": "#s"},
"west": {"uv": [0.5, 2.02, 15.9375, 2.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.625, 9.625, 0.125],
"to": [12.8125, 9.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 6.02, 15.5, 6.375], "texture": "#s"},
"west": {"uv": [0.5, 6.02, 15.9375, 6.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.625, 5.625, 0.125],
"to": [12.8125, 5.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 10.02, 15.5, 10.375], "texture": "#s"},
"west": {"uv": [0.5, 10.02, 15.9375, 10.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.625, 1.625, 0.125],
"to": [12.8125, 1.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.8125, 14.02, 8, 14.375], "texture": "#s"},
"east": {"uv": [0.0625, 14.02, 15.5, 14.375], "texture": "#s"},
"south": {"uv": [8, 14.02, 8.1875, 14.375], "texture": "#s"},
"west": {"uv": [0.5, 14.02, 15.9375, 14.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.4375, 11.625, 0.125],
"to": [12.625, 11.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 4.02, 15.5, 4.375], "texture": "#s"},
"west": {"uv": [0.5, 4.02, 15.9375, 4.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.0625, 12.625, 0.125],
"to": [12.375, 13.23, 2.3125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [10, 2.77, 10.1875, 3.375], "texture": "#s"},
"east": {"uv": [10.6875, 2.77, 12.875, 3.375], "texture": "#s"},
"south": {"uv": [5.8125, 2.77, 6, 3.375], "texture": "#s"},
"west": {"uv": [3.125, 2.77, 5.3125, 3.375], "texture": "#s"},
"up": {"uv": [3.125, 10, 5.3125, 10.1875], "rotation": 180, "texture": "#s"},
"down": {"uv": [3.125, 5.8125, 5.3125, 6], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.9375, 12.625, 0.125],
"to": [13.25, 13.23, 2.3125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [10, 2.77, 10.1875, 3.375], "texture": "#s"},
"east": {"uv": [10.6875, 2.77, 12.875, 3.375], "texture": "#s"},
"south": {"uv": [5.8125, 2.77, 6, 3.375], "texture": "#s"},
"west": {"uv": [3.125, 2.77, 5.3125, 3.375], "texture": "#s"},
"up": {"uv": [3.125, 10, 5.3125, 10.1875], "rotation": 180, "texture": "#s"},
"down": {"uv": [3.125, 5.8125, 5.3125, 6], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.4375, 7.625, 0.5],
"to": [12.625, 7.98, 9.9375],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 8.02, 15.5, 8.375], "texture": "#s"},
"west": {"uv": [0.5, 8.02, 15.9375, 8.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.4375, 3.625, 0.5],
"to": [12.625, 3.98, 9.9375],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 12.02, 15.5, 12.375], "texture": "#s"},
"west": {"uv": [0.5, 12.02, 15.9375, 12.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 1, 9.25],
"to": [13, 16, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"east": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"south": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"west": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"up": {"uv": [7.625, 1.5, 8.375, 2.25], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.625, 13.75, 8.375, 14.5], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 15, 0.75],
"to": [13, 16, 9.25],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"west": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"up": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 1, 0.75],
"to": [13, 2, 9.25],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"east": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"west": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"up": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 1, 0],
"to": [13, 16, 0.75],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"east": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"south": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"west": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"up": {"uv": [7.625, 13.75, 8.375, 14.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.625, 1.5, 8.375, 2.25], "rotation": 180, "texture": "#s"}
}
},
{
"from": [13, 0, 6.5],
"to": [16, 16, 9.5],
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"},
"down": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 270, "texture": "#t"}
}
},
{
"from": [0, 0, 6.5],
"to": [3, 16, 9.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 8]},
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"},
"down": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 270, "texture": "#t"}
}
},
{
"from": [0.5, 0, 9.5],
"to": [3, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"},
"down": {"uv": [0, 5.5, 3, 6.5], "texture": "#t"}
}
},
{
"from": [13, 0, 9.5],
"to": [15.5, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"},
"down": {"uv": [0, 5.5, 3, 6.5], "texture": "#t"}
}
},
{
"from": [12.5, 1.375, 8.75],
"to": [12.75, 15.855, 9.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [3.875, 0.145, 4.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [11.75, 0.145, 12.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 1.375, 4.75],
"to": [12.75, 15.855, 5.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [7.75, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 1.375, 0.75],
"to": [12.75, 15.855, 1.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [11.875, 0.145, 12.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [3.75, 0.145, 4.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 1.375, 6.75],
"to": [12.75, 15.855, 7.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [5.875, 0.145, 6.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [9.75, 0.145, 10.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 1.375, 2.75],
"to": [12.75, 15.855, 3.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 8.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [9.875, 0.145, 10.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [5.75, 0.145, 6.125, 15], "texture": "#s"}
}
}
]
}

View file

@ -0,0 +1,319 @@
{
"parent": "block/block",
"ambientocclusion": false,
"textures": {
"particle": "engineersdecor:block/fence/steel_mesh_fence",
"s": "engineersdecor:block/fence/steel_mesh_fence",
"t": "engineersdecor:block/fence/steel_mesh_top"
},
"elements": [
{
"from": [7.5, 0, 3],
"to": [8.5, 16, 4],
"faces": {
"north": {"uv": [7.5, 0, 8.5, 16], "texture": "#s"},
"east": {"uv": [12, 0, 13, 16], "texture": "#s"},
"south": {"uv": [7.5, 0, 8.5, 16], "texture": "#s"},
"west": {"uv": [3, 0, 4, 16], "texture": "#s"},
"up": {"uv": [7.5, 3, 8.5, 4], "texture": "#t"},
"down": {"uv": [7.5, 12, 8.5, 13], "texture": "#s"}
}
},
{
"from": [7.5, 0, 12],
"to": [8.5, 16, 13],
"faces": {
"north": {"uv": [7.5, 0, 8.5, 16], "texture": "#s"},
"east": {"uv": [3, 0, 4, 16], "texture": "#s"},
"south": {"uv": [7.5, 0, 8.5, 16], "texture": "#s"},
"west": {"uv": [12, 0, 13, 16], "texture": "#s"},
"up": {"uv": [7.5, 12, 8.5, 13], "texture": "#t"},
"down": {"uv": [7.5, 3, 8.5, 4], "texture": "#s"}
}
},
{
"from": [7.5, 15, 4],
"to": [8.5, 16, 12],
"faces": {
"east": {"uv": [4, 0, 12, 1], "texture": "#s"},
"west": {"uv": [4, 0, 12, 1], "texture": "#s"},
"up": {"uv": [7.5, 4, 8.5, 12], "texture": "#t"},
"down": {"uv": [7.5, 4, 8.5, 12], "texture": "#s"}
}
},
{
"from": [7.5, 7, 4],
"to": [8.5, 9, 5],
"faces": {
"east": {"uv": [11, 7, 12, 9], "texture": "#s"},
"south": {"uv": [7.5, 7, 8.5, 9], "texture": "#s"},
"west": {"uv": [4, 7, 5, 9], "texture": "#s"},
"up": {"uv": [7.5, 4, 8.5, 5], "texture": "#t"},
"down": {"uv": [7.5, 11, 8.5, 12], "texture": "#s"}
}
},
{
"from": [7.5, 0, 4],
"to": [8.5, 0.5, 12],
"faces": {
"east": {"uv": [4, 15.5, 12, 16], "texture": "#s"},
"west": {"uv": [4, 15.5, 12, 16], "texture": "#s"},
"up": {"uv": [7.5, 4, 8.5, 12], "texture": "#t"},
"down": {"uv": [7.5, 4, 8.5, 12], "texture": "#s"}
}
},
{
"from": [8, 4.125, 3.5],
"to": [8.125, 4.5, 12.5],
"faces": {
"east": {"uv": [3.5, 11.5, 12.5, 11.875], "texture": "#s"},
"west": {"uv": [3.5, 11.5, 12.5, 11.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 5.8125],
"to": [8.05, 15.375, 6.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [9.8125, 0.625, 10.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [5.8125, 0.625, 6.1875, 16], "texture": "#s"}
}
},
{
"from": [8, 8.125, 3.5],
"to": [8.125, 8.5, 12.5],
"faces": {
"east": {"uv": [3.5, 7.5, 12.5, 7.875], "texture": "#s"},
"west": {"uv": [3.5, 7.5, 12.5, 7.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 9.8125],
"to": [8.05, 15.375, 10.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [5.8125, 0.625, 6.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [9.8125, 0.625, 10.1875, 16], "texture": "#s"}
}
},
{
"from": [8, 12.125, 3.5],
"to": [8.125, 12.5, 12.5],
"faces": {
"east": {"uv": [3.5, 3.5, 12.5, 3.875], "texture": "#s"},
"west": {"uv": [3.5, 3.5, 12.5, 3.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [8, 2.125, 3.5],
"to": [8.125, 2.5, 12.5],
"faces": {
"east": {"uv": [3.5, 13.5, 12.5, 13.875], "texture": "#s"},
"west": {"uv": [3.5, 13.5, 12.5, 13.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 3.8125],
"to": [8.05, 15.375, 4.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [11.8125, 0.625, 12.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [3.8125, 0.625, 4.1875, 16], "texture": "#s"}
}
},
{
"from": [8, 6.125, 3.5],
"to": [8.125, 6.5, 12.5],
"faces": {
"east": {"uv": [3.5, 9.5, 12.5, 9.875], "texture": "#s"},
"west": {"uv": [3.5, 9.5, 12.5, 9.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 7.8125],
"to": [8.05, 15.375, 8.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [7.8125, 0.625, 8.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [7.8125, 0.625, 8.1875, 16], "texture": "#s"}
}
},
{
"from": [8, 10.125, 3.5],
"to": [8.125, 10.5, 12.5],
"faces": {
"east": {"uv": [3.5, 5.5, 12.5, 5.875], "texture": "#s"},
"west": {"uv": [3.5, 5.5, 12.5, 5.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 11.8125],
"to": [8.05, 15.375, 12.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [3.8125, 0.625, 4.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [11.8125, 0.625, 12.1875, 16], "texture": "#s"}
}
},
{
"from": [8, 14.125, 3.5],
"to": [8.125, 14.5, 12.5],
"faces": {
"east": {"uv": [3.5, 1.5, 12.5, 1.875], "texture": "#s"},
"west": {"uv": [3.5, 1.5, 12.5, 1.875], "texture": "#s"},
"up": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#t"},
"down": {"uv": [8, 3.5, 8.125, 12.5], "texture": "#s"}
}
},
{
"from": [7.875, 1.125, 3.5],
"to": [8, 1.5, 12.5],
"faces": {
"east": {"uv": [3.5, 14.5, 12.5, 14.875], "texture": "#s"},
"west": {"uv": [3.5, 14.5, 12.5, 14.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
},
{
"from": [7.875, 5.125, 3.5],
"to": [8, 5.5, 12.5],
"faces": {
"east": {"uv": [3.5, 10.5, 12.5, 10.875], "texture": "#s"},
"west": {"uv": [3.5, 10.5, 12.5, 10.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 6.8125],
"to": [8.05, 15.375, 7.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [8.8125, 0.625, 9.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [6.8125, 0.625, 7.1875, 16], "texture": "#s"}
}
},
{
"from": [7.875, 9.125, 3.5],
"to": [8, 9.5, 12.5],
"faces": {
"east": {"uv": [3.5, 6.5, 12.5, 6.875], "texture": "#s"},
"west": {"uv": [3.5, 6.5, 12.5, 6.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 10.8125],
"to": [8.05, 15.375, 11.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [4.8125, 0.625, 5.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [10.8125, 0.625, 11.1875, 16], "texture": "#s"}
}
},
{
"from": [7.875, 13.125, 3.5],
"to": [8, 13.5, 12.5],
"faces": {
"east": {"uv": [3.5, 2.5, 12.5, 2.875], "texture": "#s"},
"west": {"uv": [3.5, 2.5, 12.5, 2.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
},
{
"from": [7.875, 3.125, 3.5],
"to": [8, 3.5, 12.5],
"faces": {
"east": {"uv": [3.5, 12.5, 12.5, 12.875], "texture": "#s"},
"west": {"uv": [3.5, 12.5, 12.5, 12.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 4.8125],
"to": [8.05, 15.375, 5.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [10.8125, 0.625, 11.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [4.8125, 0.625, 5.1875, 16], "texture": "#s"}
}
},
{
"from": [7.875, 7.125, 3.5],
"to": [8, 7.5, 12.5],
"faces": {
"east": {"uv": [3.5, 8.5, 12.5, 8.875], "texture": "#s"},
"west": {"uv": [3.5, 8.5, 12.5, 8.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
},
{
"from": [7.925, 0, 8.8125],
"to": [8.05, 15.375, 9.1875],
"faces": {
"north": {"uv": [7.95, 0.625, 8.075, 16], "texture": "#s"},
"east": {"uv": [6.8125, 0.625, 7.1875, 16], "texture": "#s"},
"south": {"uv": [7.925, 0.625, 8.05, 16], "texture": "#t"},
"west": {"uv": [8.8125, 0.625, 9.1875, 16], "texture": "#s"}
}
},
{
"from": [7.875, 11.125, 3.5],
"to": [8, 11.5, 12.5],
"faces": {
"east": {"uv": [3.5, 4.5, 12.5, 4.875], "texture": "#s"},
"west": {"uv": [3.5, 4.5, 12.5, 4.875], "texture": "#s"},
"up": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#t"},
"down": {"uv": [7.875, 3.5, 8, 12.5], "texture": "#s"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [9, 35, 0],
"translation": [0, 0, -1],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_righthand": {
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 1.5, 0],
"scale": [0.3, 0.3, 0.3]
},
"gui": {
"rotation": [30, 135, 0],
"translation": [-0.25, 0.5, 0],
"scale": [0.7, 0.7, 0.7]
},
"fixed": {
"rotation": [0, 90, 0],
"translation": [0, 0, -0.25]
}
}
}

View file

@ -0,0 +1,220 @@
{
"textures": {
"p": "engineersdecor:block/fence/steel_mesh_pole_side",
"t": "engineersdecor:block/fence/steel_mesh_top",
"particle": "engineersdecor:block/fence/steel_mesh_fence",
"s": "engineersdecor:block/fence/steel_mesh_fence"
},
"elements": [
{
"from": [3.125, 12.625, 9.4375],
"to": [12.8125, 12.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 2.02, 15.5, 2.375], "texture": "#s"},
"south": {"uv": [0.5, 2.02, 15.9375, 2.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 8.625, 9.4375],
"to": [12.8125, 8.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 6.02, 15.5, 6.375], "texture": "#s"},
"south": {"uv": [0.5, 6.02, 15.9375, 6.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 4.625, 9.4375],
"to": [12.8125, 4.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 10.02, 15.5, 10.375], "texture": "#s"},
"south": {"uv": [0.5, 10.02, 15.9375, 10.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 0.625, 9.4375],
"to": [12.8125, 0.98, 9.625],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 14.02, 15.5, 14.375], "texture": "#s"},
"south": {"uv": [0.5, 14.02, 15.9375, 14.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.125, 10.625, 9.625],
"to": [12.8125, 10.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 4.02, 15.5, 4.375], "texture": "#s"},
"south": {"uv": [0.5, 4.02, 15.9375, 4.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.5, 6.625, 9.625],
"to": [12.9375, 6.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 8.02, 15.5, 8.375], "texture": "#s"},
"south": {"uv": [0.5, 8.02, 15.9375, 8.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3.5, 2.625, 9.625],
"to": [12.9375, 2.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [0.0625, 12.02, 15.5, 12.375], "texture": "#s"},
"south": {"uv": [0.5, 12.02, 15.9375, 12.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 90, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 270, "texture": "#s"}
}
},
{
"from": [12.25, 0, 9.25],
"to": [13, 15, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"south": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"west": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"up": {"uv": [7.625, 1.5, 8.375, 2.25], "rotation": 90, "texture": "#s"}
}
},
{
"from": [3.75, 14, 9.25],
"to": [12.25, 15, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [2.25, 0, 13.75, 1], "texture": "#s"},
"south": {"uv": [2.25, 0, 13.75, 1], "texture": "#s"},
"up": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 90, "texture": "#s"},
"down": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 270, "texture": "#s"}
}
},
{
"from": [3, 0, 9.25],
"to": [3.75, 15, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"east": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"south": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"up": {"uv": [7.625, 13.75, 8.375, 14.5], "rotation": 90, "texture": "#s"}
}
},
{
"from": [13, 0, 6.5],
"to": [16, 16, 9.5],
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"}
}
},
{
"from": [0, 0, 6.5],
"to": [3, 16, 9.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 8]},
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"}
}
},
{
"from": [0.5, 0, 9.5],
"to": [3, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"}
}
},
{
"from": [13, 0, 9.5],
"to": [15.5, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"}
}
},
{
"from": [11.75, 0, 9.5],
"to": [12.125, 14.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [3.875, 0.145, 4.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [11.75, 0.145, 12.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [7.75, 0, 9.5],
"to": [8.125, 14.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [7.75, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [3.75, 0, 9.5],
"to": [4.125, 14.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [11.875, 0.145, 12.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [3.75, 0.145, 4.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [9.75, 0, 9.5],
"to": [10.125, 14.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [5.875, 0.145, 6.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [9.75, 0.145, 10.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [5.75, 0, 9.5],
"to": [6.125, 14.855, 9.75],
"rotation": {"angle": 0, "axis": "y", "origin": [3.375, 7.5, 9.625]},
"faces": {
"north": {"uv": [9.875, 0.145, 10.25, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"south": {"uv": [5.75, 0.145, 6.125, 15], "texture": "#s"},
"west": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"}
}
}
]
}

View file

@ -0,0 +1,222 @@
{
"textures": {
"p": "engineersdecor:block/fence/steel_mesh_pole_side",
"t": "engineersdecor:block/fence/steel_mesh_top",
"particle": "engineersdecor:block/fence/steel_mesh_fence",
"s": "engineersdecor:block/fence/steel_mesh_fence"
},
"elements": [
{
"from": [12.625, 12.625, 0.125],
"to": [12.8125, 12.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 2.02, 15.5, 2.375], "texture": "#s"},
"west": {"uv": [0.5, 2.02, 15.9375, 2.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.625, 8.625, 0.125],
"to": [12.8125, 8.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 6.02, 15.5, 6.375], "texture": "#s"},
"west": {"uv": [0.5, 6.02, 15.9375, 6.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.625, 4.625, 0.125],
"to": [12.8125, 4.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 10.02, 15.5, 10.375], "texture": "#s"},
"west": {"uv": [0.5, 10.02, 15.9375, 10.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.625, 0.625, 0.125],
"to": [12.8125, 0.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 14.02, 15.5, 14.375], "texture": "#s"},
"west": {"uv": [0.5, 14.02, 15.9375, 14.375], "texture": "#s"},
"up": {"uv": [7.8125, 0.0625, 8, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.8125, 0.5, 8, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.4375, 10.625, 0.125],
"to": [12.625, 10.98, 9.8125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 4.02, 15.5, 4.375], "texture": "#s"},
"west": {"uv": [0.5, 4.02, 15.9375, 4.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.4375, 6.625, 0.5],
"to": [12.625, 6.98, 9.9375],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 8.02, 15.5, 8.375], "texture": "#s"},
"west": {"uv": [0.5, 8.02, 15.9375, 8.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.4375, 2.625, 0.5],
"to": [12.625, 2.98, 9.9375],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [0.0625, 12.02, 15.5, 12.375], "texture": "#s"},
"west": {"uv": [0.5, 12.02, 15.9375, 12.375], "texture": "#s"},
"up": {"uv": [8, 0.0625, 8.1875, 15.5], "rotation": 180, "texture": "#s"},
"down": {"uv": [8, 0.5, 8.1875, 15.9375], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 0, 9.25],
"to": [13, 15, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"east": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"south": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"west": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"up": {"uv": [7.625, 1.5, 8.375, 2.25], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 14, 0.75],
"to": [13, 15, 9.25],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"east": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"west": {"uv": [2.25, 0, 10.75, 1], "texture": "#s"},
"up": {"uv": [7.625, 2.25, 8.375, 10.75], "rotation": 180, "texture": "#s"},
"down": {"uv": [7.625, 2.25, 8.375, 13.75], "rotation": 180, "texture": "#s"}
}
},
{
"from": [12.25, 0, 0],
"to": [13, 15, 0.75],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"east": {"uv": [13.75, 0, 14.5, 15], "texture": "#s"},
"south": {"uv": [7.625, 0, 8.375, 15], "texture": "#s"},
"west": {"uv": [1.5, 0, 2.25, 15], "texture": "#s"},
"up": {"uv": [7.625, 13.75, 8.375, 14.5], "rotation": 180, "texture": "#s"}
}
},
{
"from": [13, 0, 6.5],
"to": [16, 16, 9.5],
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"}
}
},
{
"from": [0, 0, 6.5],
"to": [3, 16, 9.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 8]},
"faces": {
"north": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"east": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"south": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"west": {"uv": [6.5, 0, 9.5, 16], "texture": "#p"},
"up": {"uv": [6.5, 6.5, 9.5, 9.5], "rotation": 90, "texture": "#t"}
}
},
{
"from": [0.5, 0, 9.5],
"to": [3, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [-5, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"}
}
},
{
"from": [13, 0, 9.5],
"to": [15.5, 16, 10.5],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 11]},
"faces": {
"east": {"uv": [6, 0, 7, 16], "texture": "#p"},
"south": {"uv": [0, 0, 3, 16], "texture": "#p"},
"west": {"uv": [10, 0, 11, 16], "texture": "#p"},
"up": {"uv": [6, 12, 9, 13], "texture": "#t"}
}
},
{
"from": [12.5, 0, 8.75],
"to": [12.75, 14.855, 9.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [3.875, 0.145, 4.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [11.75, 0.145, 12.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 0, 4.75],
"to": [12.75, 14.855, 5.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [7.875, 0.145, 8.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [7.75, 0.145, 8.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 0, 0.75],
"to": [12.75, 14.855, 1.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [11.875, 0.145, 12.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [3.75, 0.145, 4.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 0, 6.75],
"to": [12.75, 14.855, 7.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [5.875, 0.145, 6.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [9.75, 0.145, 10.125, 15], "texture": "#s"}
}
},
{
"from": [12.5, 0, 2.75],
"to": [12.75, 14.855, 3.125],
"rotation": {"angle": 0, "axis": "y", "origin": [12.625, 7.5, 9.625]},
"faces": {
"north": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"east": {"uv": [9.875, 0.145, 10.25, 15], "texture": "#s"},
"south": {"uv": [7.875, 0.145, 8.125, 15], "texture": "#s"},
"west": {"uv": [5.75, 0.145, 6.125, 15], "texture": "#s"}
}
}
]
}

View file

@ -0,0 +1 @@
{ "parent": "engineersdecor:block/fence/steel_mesh_fence_gate_inventory" }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before After
Before After

View file

@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "steel_mesh_fence_gate_dlt",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_name",
"source": "block_entity"
}
],
"name": "engineersdecor:steel_mesh_fence_gate"
}
]
}
]
}

View file

@ -0,0 +1,18 @@
{
"name": "Gates and Doors",
"icon": "engineersdecor:steel_mesh_fence_gate",
"category": "buildingblocks",
"sortnum": 1060,
"pages": [
{
"type": "spotlight",
"title": "Steel Mesh Fence Gate",
"item": "engineersdecor:steel_mesh_fence_gate",
"text": "A fence gate fitting the style of the $(o)Steel Mesh Fence$(). It can be placed one block high for normal fencing, or doubled for higher cage fences, and will form a fence door accordingly.$(br)Redstone open/close signals are accepted for the bottom segment from all sides, for the top segment only from above."
},
{
"type": "text",
"text": ""
}
]
}

View file

@ -2,7 +2,7 @@
"name": "Ladders",
"icon": "engineersdecor:treated_wood_ladder",
"category": "buildingblocks",
"sortnum": 1070,
"sortnum": 1080,
"pages": [
{
"type": "spotlight",

View file

@ -2,7 +2,7 @@
"name": "Windows",
"icon": "engineersdecor:treated_wood_window",
"category": "buildingblocks",
"sortnum": 1060,
"sortnum": 1070,
"pages": [
{
"type": "spotlight",

View file

@ -20,7 +20,7 @@
},
{
"type": "text",
"text": ""
"text": "§nSpeed override switch$()$(br)A four-position switch in the bottom right area of the GUI allows to alter the processing speed of the furnace. Default is position 1 (normal). At high power expenses, you can alter this: $(br)$(li)Position 0: OFF$(li)Position 1: x1.0 -> RF x1$(li)Position 2: x1.5 -> RF x2$(li)Position 3: x2.0 -> RF x4$(br2)(Positions 0..4 are down, left, top, right)."
}
]
}

View file

@ -0,0 +1,25 @@
{
"conditions": [
{
"type": "engineersdecor:optional",
"result": "engineersdecor:steel_mesh_fence_gate",
"required": ["engineersdecor:thin_steel_pole", "engineersdecor:steel_mesh_fence"]
}
],
"type": "minecraft:crafting_shaped",
"pattern": [
"PFP"
],
"key": {
"P": {
"item": "engineersdecor:thin_steel_pole"
},
"F": {
"item": "engineersdecor:steel_mesh_fence"
}
},
"result": {
"item": "engineersdecor:steel_mesh_fence_gate",
"count": 2
}
}