diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateAnd.java b/src/main/java/com/bluepowermod/block/gates/BlockGateAnd.java new file mode 100644 index 000000000..ab6ae731a --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateAnd.java @@ -0,0 +1,45 @@ +package com.bluepowermod.block.gates; + +import com.bluepowermod.helper.DirectionHelper; +import net.minecraft.core.BlockPos; +import net.minecraft.core.Direction; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.SignalGetter; +import net.minecraft.world.level.block.RedStoneWireBlock; +import net.minecraft.world.level.block.state.BlockState; + +import java.util.HashMap; +import java.util.Map; + +public class BlockGateAnd extends BlockGateBase { + protected final boolean inverted; + + public BlockGateAnd(boolean inverted){ + this.inverted = inverted; + } + + @Override + protected boolean isSideSource(Side side, BlockState blockState, BlockGetter blockAccess, BlockPos pos) { + return side == Side.FRONT; + } + + @Override + public Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos){ + Map map = new HashMap<>(); + Direction sideLeft = toDirection(Side.LEFT, state); + Direction sideRight = toDirection(Side.RIGHT, state); + Direction sideBack = toDirection(Side.BACK, state); + byte left = (byte) worldIn.getSignal(pos.relative(sideLeft), sideLeft); + byte right = (byte) worldIn.getSignal(pos.relative(sideRight), sideRight); + byte back = (byte) worldIn.getSignal(pos.relative(sideBack), sideBack); + map.put(Side.LEFT, left); + map.put(Side.RIGHT, right); + map.put(Side.BACK, back); + map.put(Side.FRONT, computeRedstone(Side.FRONT, back, (byte) 0, left, right)); + return map; + } + + public byte computeRedstone(Side side, byte back, byte front, byte left, byte right){ + boolean and = left > 0 && right > 0 && back > 0; + return (byte) (and != inverted ? 16 : 0); + }} diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateBase.java b/src/main/java/com/bluepowermod/block/gates/BlockGateBase.java index 9784d731a..668e81a92 100644 --- a/src/main/java/com/bluepowermod/block/gates/BlockGateBase.java +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateBase.java @@ -19,6 +19,7 @@ import net.minecraft.world.level.BlockGetter; import net.minecraft.world.level.Level; import net.minecraft.world.level.LevelAccessor; +import net.minecraft.world.level.SignalGetter; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.RedStoneWireBlock; import net.minecraft.world.level.block.Rotation; @@ -41,7 +42,7 @@ /** * @author MoreThanHidden */ -public class BlockGateBase extends BlockBase implements SimpleWaterloggedBlock { +public abstract class BlockGateBase extends BlockBase implements SimpleWaterloggedBlock { public static final DirectionProperty FACING = BlockStateProperties.FACING; public static final IntegerProperty ROTATION = IntegerProperty.create("rotation", 0, 3); public static final BooleanProperty POWERED_FRONT = BooleanProperty.create("powered_front"); @@ -131,17 +132,12 @@ public void setPlacedBy(Level world, BlockPos pos, BlockState state, @Nullable L .setValue(POWERED_RIGHT, map.get(Side.RIGHT) > 0)); } - @Override - public boolean isSignalSource(BlockState blockState) { - return true; - } - @Override public int getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side){ Direction[] dirs = DirectionHelper.ArrayFromDirection(blockState.getValue(FACING)); - if(side == dirs[blockState.getValue(ROTATION)]) { - Map map = getSidePower(blockAccess, blockState, pos); - return map.get(Side.FRONT); + Side side1 = fromDirection(side.getOpposite(), blockState.getValue(ROTATION), dirs); + if (isSideSource(side1, blockState, blockAccess, pos)){ + return redstoneFromSide(side1, blockState); } return 0; } @@ -149,45 +145,59 @@ public int getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos po @Override public int getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) { Direction[] dirs = DirectionHelper.ArrayFromDirection(blockState.getValue(FACING)); - if(side == dirs[blockState.getValue(ROTATION)]) { - Map map = getSidePower(blockAccess, blockState, pos); - return map.get(Side.FRONT); + Side side1 = fromDirection(side.getOpposite(), blockState.getValue(ROTATION), dirs); + if (isSideSource(side1, blockState, blockAccess, pos)){ + return redstoneFromSide(side1, blockState); } return 0; } - public Map getSidePower(BlockGetter worldIn, BlockState state, BlockPos pos){ - Map map = new HashMap<>(); - Direction[] dirs = DirectionHelper.ArrayFromDirection(state.getValue(FACING)); - Direction side_left = dirs[state.getValue(ROTATION) == 3 ? 0 : state.getValue(ROTATION) + 1]; - Direction side_right = side_left.getOpposite(); - Direction side_back = dirs[state.getValue(ROTATION)]; - BlockPos pos_left = pos.relative(side_left); - BlockPos pos_right = pos.relative(side_right); - BlockPos pos_back = pos.relative(side_back); - BlockState state_left = worldIn.getBlockState(pos_left); - BlockState state_right = worldIn.getBlockState(pos_right); - BlockState state_back = worldIn.getBlockState(pos_back); - byte left = (byte) state_left.getSignal(worldIn, pos_left, side_right); - byte right = (byte) state_right.getSignal(worldIn, pos_right, side_left); - byte back = (byte) state_back.getSignal(worldIn, pos_back, side_back.getOpposite()); - if(state_left.getBlock() instanceof RedStoneWireBlock){left = state_left.getValue(RedStoneWireBlock.POWER).byteValue();} - if(state_right.getBlock() instanceof RedStoneWireBlock){right = state_right.getValue(RedStoneWireBlock.POWER).byteValue();} - if(state_back.getBlock() instanceof RedStoneWireBlock){back = state_back.getValue(RedStoneWireBlock.POWER).byteValue();} - map.put(Side.LEFT, left); - map.put(Side.RIGHT, right); - map.put(Side.BACK, back); - map.put(Side.FRONT, computeRedstone(Side.FRONT, back, (byte) 0, left, right)); - return map; - } - - public byte computeRedstone(Side side, byte back, byte front, byte left, byte right){ - if (left > 0 && right > 0 ){ - return (byte)(back > 0 ? 16 : 0); - } - return 0; + private int redstoneFromSide(Side side, BlockState state){ + return switch (side){ + case FRONT -> state.getValue(POWERED_FRONT) ? 16 : 0; + case BACK -> state.getValue(POWERED_BACK) ? 16 : 0; + case LEFT -> state.getValue(POWERED_LEFT) ? 16 : 0; + case RIGHT -> state.getValue(POWERED_RIGHT) ? 16 : 0; + }; + } + + protected Direction toDirection(Side side, BlockState state){ + Direction[] dirs = DirectionHelper.ArrayFromDirection(state.getValue(FACING)); + Direction left = dirs[state.getValue(ROTATION) == 3 ? 0 : state.getValue(ROTATION) + 1]; + Direction back = dirs[state.getValue(ROTATION)]; + return switch (side){ + case FRONT -> back.getOpposite(); + case BACK -> back; + case LEFT -> left; + case RIGHT -> left.getOpposite(); + }; + } + + protected Side fromDirection(Direction direction, int rotation, Direction[] array){ + Direction sideLeft = array[rotation == 3 ? 0 : rotation + 1]; + Direction sideRight = sideLeft.getOpposite(); + Direction sideBack = array[rotation]; + Direction sideFront = sideBack.getOpposite(); + if (direction == sideFront) return Side.FRONT; + if (direction == sideBack) return Side.BACK; + if (direction == sideLeft) return Side.LEFT; + if (direction == sideRight) return Side.RIGHT; + return null; } + protected abstract Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos); + + protected boolean isSideSource(Side side, BlockState blockState, BlockGetter blockAccess, BlockPos pos){ + return false; + } + + @Override + public boolean isSignalSource(BlockState blockState) { + return true; + } + + + @Override public void neighborChanged(BlockState state, Level world, BlockPos pos, Block blockIn, BlockPos fromPos, boolean bool) { super.neighborChanged(state, world, pos, blockIn, fromPos, bool); diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateBuffer.java b/src/main/java/com/bluepowermod/block/gates/BlockGateBuffer.java new file mode 100644 index 000000000..403f7c68c --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateBuffer.java @@ -0,0 +1,8 @@ +package com.bluepowermod.block.gates; + +public class BlockGateBuffer extends BlockGateNot{ + @Override + protected byte getOutput(byte back) { + return (byte) (back > 0 ? 16 : 0); + } +} diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateNot.java b/src/main/java/com/bluepowermod/block/gates/BlockGateNot.java new file mode 100644 index 000000000..c2cc08e01 --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateNot.java @@ -0,0 +1,35 @@ +package com.bluepowermod.block.gates; + +import com.bluepowermod.helper.DirectionHelper; +import net.minecraft.core.BlockPos; +import net.minecraft.core.Direction; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.SignalGetter; +import net.minecraft.world.level.block.RedStoneWireBlock; +import net.minecraft.world.level.block.state.BlockState; + +import java.util.HashMap; +import java.util.Map; + +public class BlockGateNot extends BlockGateBase{ + @Override + protected Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos) { + Map map = new HashMap<>(); + byte back = (byte) worldIn.getSignal(pos.relative(toDirection(Side.BACK, state)), toDirection(Side.BACK, state)); + byte output = getOutput(back); + map.put(Side.FRONT, output); + map.put(Side.LEFT, output); + map.put(Side.RIGHT, output); + map.put(Side.BACK, back); + return map; + } + + protected byte getOutput(byte back){ + return (byte) (back > 0 ? 0 : 16); + } + + @Override + protected boolean isSideSource(Side side, BlockState blockState, BlockGetter blockAccess, BlockPos pos) { + return side == Side.FRONT || side == Side.LEFT || side == Side.RIGHT; + } +} diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateOr.java b/src/main/java/com/bluepowermod/block/gates/BlockGateOr.java new file mode 100644 index 000000000..d77389c6a --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateOr.java @@ -0,0 +1,20 @@ +package com.bluepowermod.block.gates; + +import net.minecraft.core.BlockPos; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.block.state.BlockState; + +import java.util.Map; + +public class BlockGateOr extends BlockGateAnd{ + public BlockGateOr(boolean inverted) { + super(inverted); + } + + @Override + public byte computeRedstone(Side side, byte back, byte front, byte left, byte right) { + boolean output = back > 0 || left > 0 || right > 0; + return (byte) (output != inverted ? 16: 0); + } +} + diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateRSLatch.java b/src/main/java/com/bluepowermod/block/gates/BlockGateRSLatch.java new file mode 100644 index 000000000..ccc4351af --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateRSLatch.java @@ -0,0 +1,53 @@ +package com.bluepowermod.block.gates; + +import com.bluepowermod.helper.DirectionHelper; +import net.minecraft.core.BlockPos; +import net.minecraft.core.Direction; +import net.minecraft.world.item.context.BlockPlaceContext; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.SignalGetter; +import net.minecraft.world.level.block.RedStoneWireBlock; +import net.minecraft.world.level.block.state.BlockState; +import org.jetbrains.annotations.Nullable; + +import java.util.Map; + +public class BlockGateRSLatch extends BlockGateBase{ + @Override + protected Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos) { + Direction sideLeft = toDirection(Side.LEFT, state); + Direction sideRight = toDirection(Side.RIGHT, state); + byte leftIn = (byte) worldIn.getSignal(pos.relative(sideLeft), sideLeft); + byte rightIn = (byte) worldIn.getSignal(pos.relative(sideRight), sideRight); + boolean frontPowered = state.getValue(POWERED_FRONT); + boolean backPowered = state.getValue(POWERED_BACK); + if (!frontPowered && !backPowered ){ + if (rightIn == 0) backPowered = true; + else if (leftIn == 0) frontPowered = true; + } + if (leftIn > 0 && rightIn > 0){ + frontPowered = false; + backPowered = false; + } else if (leftIn > 0 && frontPowered){ + frontPowered = false; + backPowered = true; + } else if (rightIn > 0 && backPowered){ + backPowered = false; + frontPowered = true; + } + return Map.of(Side.FRONT, (byte) (frontPowered ? 16 : 0), + Side.LEFT, (byte)(backPowered || leftIn > 0 ? 16 : 0), + Side.RIGHT, (byte)(frontPowered || rightIn > 0 ? 16 : 0), + Side.BACK, (byte)(backPowered ? 16 : 0)); + } + + @Override + protected boolean isSideSource(Side side, BlockState blockState, BlockGetter blockAccess, BlockPos pos) { + return side == Side.FRONT || side == Side.BACK || (side == Side.LEFT && blockState.getValue(POWERED_BACK) || (side == Side.RIGHT && blockState.getValue(POWERED_FRONT))); + } + + @Override + public @Nullable BlockState getStateForPlacement(BlockPlaceContext context) { + return super.getStateForPlacement(context).setValue(POWERED_FRONT, true).setValue(POWERED_RIGHT, true); + } +} diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateToggleLatch.java b/src/main/java/com/bluepowermod/block/gates/BlockGateToggleLatch.java new file mode 100644 index 000000000..3493bc4de --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateToggleLatch.java @@ -0,0 +1,72 @@ +package com.bluepowermod.block.gates; + +import com.bluepowermod.helper.DirectionHelper; +import net.minecraft.core.BlockPos; +import net.minecraft.core.Direction; +import net.minecraft.sounds.SoundEvents; +import net.minecraft.sounds.SoundSource; +import net.minecraft.world.InteractionHand; +import net.minecraft.world.InteractionResult; +import net.minecraft.world.entity.player.Player; +import net.minecraft.world.item.context.BlockPlaceContext; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.Level; +import net.minecraft.world.level.SignalGetter; +import net.minecraft.world.level.block.RedStoneWireBlock; +import net.minecraft.world.level.block.state.BlockState; +import net.minecraft.world.phys.BlockHitResult; +import org.jetbrains.annotations.Nullable; + +import java.util.Map; + +public class BlockGateToggleLatch extends BlockGateBase{ + @Override + protected Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos) { + Direction sideLeft = toDirection(Side.LEFT, state); + Direction sideRight = toDirection(Side.RIGHT, state); + byte leftIn = (byte) worldIn.getSignal(pos.relative(sideLeft), sideLeft); + byte rightIn = (byte) worldIn.getSignal(pos.relative(sideRight), sideRight); + boolean frontPowered = state.getValue(POWERED_FRONT); + boolean backPowered = state.getValue(POWERED_BACK); + boolean leftPowered = state.getValue(POWERED_LEFT); + boolean rightPowered = state.getValue(POWERED_RIGHT); + if (leftPowered || rightPowered){ // Do nothing + return Map.of(Side.FRONT, (byte) (frontPowered ? 16 : 0), + Side.LEFT, leftIn, + Side.RIGHT, rightIn, + Side.BACK, (byte)(backPowered ? 16 : 0)); + + } + if (leftIn > 0 || rightIn > 0){ + frontPowered = !frontPowered; + backPowered = !backPowered; + } + return Map.of(Side.FRONT, (byte) (frontPowered ? 16 : 0), + Side.LEFT, leftIn, + Side.RIGHT, rightIn, + Side.BACK, (byte)(backPowered ? 16 : 0)); + } + + @Override + protected boolean isSideSource(Side side, BlockState blockState, BlockGetter blockAccess, BlockPos pos) { + return side == Side.FRONT || side == Side.BACK; + } + + @Override + public @Nullable BlockState getStateForPlacement(BlockPlaceContext context) { + return super.getStateForPlacement(context).setValue(POWERED_FRONT, true); + } + + @Override + public InteractionResult use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) { + state = state.setValue(POWERED_FRONT, !state.getValue(POWERED_FRONT)).setValue(POWERED_BACK, !state.getValue(POWERED_BACK)); + level.setBlockAndUpdate(pos, state); + for (Direction dir : DirectionHelper.ArrayFromDirection(state.getValue(FACING))){ + BlockPos neighbor = pos.relative(dir); + BlockState neighborState = level.getBlockState(neighbor); + level.updateNeighborsAtExceptFromFacing(neighbor, neighborState.getBlock(), dir.getOpposite()); + } + level.playSound(null, pos, SoundEvents.LEVER_CLICK, SoundSource.BLOCKS, 0.3F, 0.5F); + return InteractionResult.sidedSuccess(level.isClientSide); + } +} diff --git a/src/main/java/com/bluepowermod/block/gates/BlockGateXor.java b/src/main/java/com/bluepowermod/block/gates/BlockGateXor.java new file mode 100644 index 000000000..81ec64bb3 --- /dev/null +++ b/src/main/java/com/bluepowermod/block/gates/BlockGateXor.java @@ -0,0 +1,38 @@ +package com.bluepowermod.block.gates; + +import com.bluepowermod.helper.DirectionHelper; +import net.minecraft.core.BlockPos; +import net.minecraft.core.Direction; +import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.SignalGetter; +import net.minecraft.world.level.block.RedStoneWireBlock; +import net.minecraft.world.level.block.state.BlockState; +import org.jetbrains.annotations.Nullable; + +import java.util.HashMap; +import java.util.Map; + +public class BlockGateXor extends BlockGateAnd{ + public BlockGateXor(boolean inverted) { + super(inverted); + } + + @Override + public Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos){ + Map map = super.getSidePower(worldIn, state, pos); + boolean powered_back = map.get(Side.LEFT) == 0 && map.get(Side.RIGHT) == 0; + map.put(Side.BACK, (byte) (powered_back ? 16 : 0)); + return map; + } + + @Override + public byte computeRedstone(Side side, byte back, byte front, byte left, byte right) { + boolean out = (left > 0 && right == 0) || (left == 0 && right > 0); + return (byte) (out != inverted ? 16 : 0); + } + + @Override + public boolean canConnectRedstone(BlockState state, BlockGetter world, BlockPos pos, @Nullable Direction side) { + return super.canConnectRedstone(state, world, pos, side) && side != null && fromDirection(side.getOpposite(), state.getValue(ROTATION), DirectionHelper.ArrayFromDirection(state.getValue(FACING))) != Side.BACK; + } +} diff --git a/src/main/java/com/bluepowermod/block/gates/BlockNullCell.java b/src/main/java/com/bluepowermod/block/gates/BlockNullCell.java index f04f6dd4d..a4c990e2a 100644 --- a/src/main/java/com/bluepowermod/block/gates/BlockNullCell.java +++ b/src/main/java/com/bluepowermod/block/gates/BlockNullCell.java @@ -12,6 +12,7 @@ import net.minecraft.core.Direction; import net.minecraft.world.level.BlockGetter; import net.minecraft.world.level.Level; +import net.minecraft.world.level.SignalGetter; import net.minecraft.world.level.block.state.BlockState; import java.util.HashMap; @@ -33,7 +34,7 @@ enum Modes { CROSSED } - public Map getSidePower(BlockGetter worldIn, BlockState state, BlockPos pos){ + public Map getSidePower(SignalGetter worldIn, BlockState state, BlockPos pos){ Map map = new HashMap<>(); Direction[] dirs = DirectionHelper.ArrayFromDirection(state.getValue(FACING)); @@ -49,10 +50,10 @@ public Map getSidePower(BlockGetter worldIn, BlockState state, Block shouldSignal = false; - byte left = state.getValue(POWERED_LEFT) ? 0 : (byte) ((Level)worldIn).getSignal(pos_left, side_right); - byte right = state.getValue(POWERED_RIGHT) ? 0 : (byte) ((Level)worldIn).getSignal(pos_right, side_left); - byte back = state.getValue(POWERED_BACK) ? 0 : (byte) ((Level)worldIn).getSignal(pos_back, side_front); - byte front = state.getValue(POWERED_FRONT) ? 0 : (byte) ((Level)worldIn).getSignal(pos_front, side_back); + byte left = state.getValue(POWERED_LEFT) ? 0 : (byte) worldIn.getSignal(pos_left, side_right); + byte right = state.getValue(POWERED_RIGHT) ? 0 : (byte) worldIn.getSignal(pos_right, side_left); + byte back = state.getValue(POWERED_BACK) ? 0 : (byte) worldIn.getSignal(pos_back, side_front); + byte front = state.getValue(POWERED_FRONT) ? 0 : (byte) worldIn.getSignal(pos_front, side_back); shouldSignal = true; @@ -69,7 +70,6 @@ public Map getSidePower(BlockGetter worldIn, BlockState state, Block return map; } - @Override public byte computeRedstone(Side side, byte back, byte front, byte left, byte right){ return switch (side) { case FRONT -> right; diff --git a/src/main/java/com/bluepowermod/client/render/GateBakedModel.java b/src/main/java/com/bluepowermod/client/render/GateBakedModel.java new file mode 100644 index 000000000..eddb3f484 --- /dev/null +++ b/src/main/java/com/bluepowermod/client/render/GateBakedModel.java @@ -0,0 +1,82 @@ +package com.bluepowermod.client.render; + +import com.bluepowermod.block.gates.BlockGateBase; +import it.unimi.dsi.fastutil.Pair; +import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap; +import net.minecraft.client.renderer.RenderType; +import net.minecraft.client.renderer.block.model.BakedQuad; +import net.minecraft.client.renderer.block.model.ItemOverrides; +import net.minecraft.client.renderer.texture.TextureAtlasSprite; +import net.minecraft.client.resources.model.BakedModel; +import net.minecraft.core.Direction; +import net.minecraft.util.RandomSource; +import net.minecraft.world.level.block.state.BlockState; +import net.minecraftforge.client.model.data.ModelData; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class GateBakedModel implements BakedModel { + private final List> models; + private final TextureAtlasSprite particle; + + public GateBakedModel(List> models, TextureAtlasSprite particle) { + this.models = models; + this.particle = particle; + } + + @Override + public List getQuads(@Nullable BlockState blockState, @Nullable Direction direction, RandomSource randomSource) { + return List.of(); + } + + @Override + public @NotNull List getQuads(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) { + List quads = new ArrayList<>(); + Map redstoneStates = new HashMap<>(); + redstoneStates.put("powered_back", state.getValue(BlockGateBase.POWERED_BACK)); + redstoneStates.put("powered_front", state.getValue(BlockGateBase.POWERED_FRONT)); + redstoneStates.put("powered_left", state.getValue(BlockGateBase.POWERED_LEFT)); + redstoneStates.put("powered_right", state.getValue(BlockGateBase.POWERED_RIGHT)); + for(Pair pair : models){ + if (pair.key().test(redstoneStates)){ + quads.addAll(pair.value().getQuads(state, side, rand, data, renderType)); + } + } + return quads; + } + + @Override + public boolean useAmbientOcclusion() { + return false; + } + + @Override + public boolean isGui3d() { + return false; + } + + @Override + public boolean usesBlockLight() { + return false; + } + + @Override + public boolean isCustomRenderer() { + return true; + } + + @Override + public TextureAtlasSprite getParticleIcon() { + return particle; + } + + @Override + public ItemOverrides getOverrides() { + return ItemOverrides.EMPTY; + } +} diff --git a/src/main/java/com/bluepowermod/client/render/GateModel.java b/src/main/java/com/bluepowermod/client/render/GateModel.java new file mode 100644 index 000000000..5ea74b65e --- /dev/null +++ b/src/main/java/com/bluepowermod/client/render/GateModel.java @@ -0,0 +1,45 @@ +package com.bluepowermod.client.render; + +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import it.unimi.dsi.fastutil.Pair; +import net.minecraft.client.renderer.block.model.ItemOverrides; +import net.minecraft.client.renderer.texture.TextureAtlas; +import net.minecraft.client.renderer.texture.TextureAtlasSprite; +import net.minecraft.client.resources.model.BakedModel; +import net.minecraft.client.resources.model.Material; +import net.minecraft.client.resources.model.ModelBaker; +import net.minecraft.client.resources.model.ModelState; +import net.minecraft.client.resources.model.UnbakedModel; +import net.minecraft.resources.ResourceLocation; +import net.minecraftforge.client.model.geometry.IGeometryBakingContext; +import net.minecraftforge.client.model.geometry.IUnbakedGeometry; + +import java.util.List; +import java.util.function.Function; + +public class GateModel implements IUnbakedGeometry { + private final List> models; + private final ResourceLocation particle; + + public GateModel(List> models, ResourceLocation particle) { + this.models = models; + this.particle = particle; + } + + @Override + public BakedModel bake(IGeometryBakingContext iGeometryBakingContext, ModelBaker modelBaker, Function function, ModelState modelState, ItemOverrides itemOverrides, ResourceLocation resourceLocation) { + ImmutableList.Builder> builder = ImmutableList.builder(); + this.models.forEach((model) -> { + builder.add(Pair.of(model.key(), model.value().bake(modelBaker, function, modelState, resourceLocation))); + }); + return new GateBakedModel(builder.build(), function.apply(new Material(TextureAtlas.LOCATION_BLOCKS, particle))); + } + + @Override + public void resolveParents(Function modelGetter, IGeometryBakingContext context) { + for (Pair unbakedModel : models) { + unbakedModel.value().resolveParents(modelGetter); + } + } +} diff --git a/src/main/java/com/bluepowermod/client/render/GateModelLoader.java b/src/main/java/com/bluepowermod/client/render/GateModelLoader.java new file mode 100644 index 000000000..32030f01b --- /dev/null +++ b/src/main/java/com/bluepowermod/client/render/GateModelLoader.java @@ -0,0 +1,95 @@ +package com.bluepowermod.client.render; + +import com.google.common.collect.ImmutableList; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.JsonPrimitive; +import it.unimi.dsi.fastutil.Pair; +import net.minecraft.client.renderer.block.model.BlockModel; +import net.minecraft.client.renderer.texture.MissingTextureAtlasSprite; +import net.minecraft.client.resources.model.UnbakedModel; +import net.minecraft.resources.ResourceLocation; +import net.minecraftforge.client.model.geometry.IGeometryBakingContext; +import net.minecraftforge.client.model.geometry.IGeometryLoader; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.function.Function; +import java.util.function.Predicate; +import java.util.stream.Collectors; + +public class GateModelLoader implements IGeometryLoader { + @Override + public GateModel read(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException { + JsonArray models = jsonObject.getAsJsonArray("models"); + ResourceLocation particle = jsonObject.has("particle") ? new ResourceLocation(jsonObject.get("particle").getAsString()) : MissingTextureAtlasSprite.getLocation(); + ImmutableList.Builder> builder = ImmutableList.builder(); + for (JsonElement model : models) { + String modelName = null; + IGateCondition condition = IGateCondition.ALWAYS_TRUE; + if (model instanceof JsonPrimitive primitive && primitive.isString()){ + modelName = primitive.getAsString(); + } else if (model instanceof JsonObject object) { + modelName = object.getAsJsonPrimitive("model").getAsString(); + if (object.has("when")){ + Function mappingFunction = j -> { + if (j.isBoolean()) return j.getAsBoolean(); + if (j.isNumber()) return j.getAsNumber(); + if (j.isString()) return j.getAsString(); + throw new JsonParseException("When condition must be a string, a number, or a boolean: " + j); + }; + JsonObject when = object.getAsJsonObject("when"); + List>> conditionsList = new ArrayList<>(); + if (when.has("OR") && when.get("OR").isJsonArray()){ + for (JsonElement element : when.getAsJsonArray("OR")){ + if (element instanceof JsonObject conditionObject){ + Map conditions = conditionObject.entrySet().stream() + .filter(e -> e.getValue() instanceof JsonPrimitive) + .collect(Collectors.toMap(Entry::getKey, e -> mappingFunction.apply(e.getValue().getAsJsonPrimitive()))); + conditionsList.add(m -> { + boolean[] bool = new boolean[1]; + bool[0] = true; + conditions.forEach((s, o) -> { + bool[0] &= m.containsKey(s) && m.get(s).equals(o); + }); + return bool[0]; + }); + } + } + } else { + Map conditions = when.asMap().entrySet().stream() + .filter(e -> e.getValue() instanceof JsonPrimitive) + .collect(Collectors.toMap(Entry::getKey, e -> mappingFunction.apply(e.getValue().getAsJsonPrimitive()))); + conditionsList.add(m -> { + boolean[] bool = new boolean[1]; + bool[0] = true; + conditions.forEach((s, o) -> { + bool[0] &= m.containsKey(s) && m.get(s).equals(o); + }); + return bool[0]; + }); + } + condition = m ->{ + if (conditionsList.isEmpty()) return true; + boolean test = conditionsList.get(0).test(m); + for (int i = 1; i < conditionsList.size(); i++) { + test |= conditionsList.get(i).test(m); + } + return test; + }; + } + } + if (modelName != null){ + JsonObject modelObject = new JsonObject(); + modelObject.addProperty("parent", modelName); + builder.add(Pair.of(condition, jsonDeserializationContext.deserialize(modelObject, BlockModel.class))); + } + } + return new GateModel(builder.build(), particle); + } +} diff --git a/src/main/java/com/bluepowermod/client/render/IGateCondition.java b/src/main/java/com/bluepowermod/client/render/IGateCondition.java new file mode 100644 index 000000000..7cc1a5bee --- /dev/null +++ b/src/main/java/com/bluepowermod/client/render/IGateCondition.java @@ -0,0 +1,9 @@ +package com.bluepowermod.client.render; + +import java.util.Map; + +@FunctionalInterface +public interface IGateCondition { + IGateCondition ALWAYS_TRUE = m -> true; + boolean test(Map map); +} diff --git a/src/main/java/com/bluepowermod/client/render/Renderers.java b/src/main/java/com/bluepowermod/client/render/Renderers.java index 23a1b7b10..f3245c994 100644 --- a/src/main/java/com/bluepowermod/client/render/Renderers.java +++ b/src/main/java/com/bluepowermod/client/render/Renderers.java @@ -26,6 +26,7 @@ import net.minecraft.client.renderer.RenderType; import net.minecraft.client.renderer.ItemBlockRenderTypes; import net.minecraftforge.client.event.ModelEvent; +import net.minecraftforge.client.event.ModelEvent.RegisterGeometryLoaders; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.api.distmarker.Dist; @@ -80,6 +81,11 @@ public void onModelBakeEvent(ModelEvent.ModifyBakingResult event) { } + @SubscribeEvent + public void onRegisterGeometryLoadersEvent(RegisterGeometryLoaders event){ + event.register("gate", new GateModelLoader()); + } + public static void init() { BlockEntityRenderers.register(BPBlockEntityType.LAMP.get(), context -> new RenderLamp()); diff --git a/src/main/java/com/bluepowermod/init/BPBlocks.java b/src/main/java/com/bluepowermod/init/BPBlocks.java index 40ed35557..768cd63fd 100644 --- a/src/main/java/com/bluepowermod/init/BPBlocks.java +++ b/src/main/java/com/bluepowermod/init/BPBlocks.java @@ -20,7 +20,13 @@ import com.bluepowermod.api.misc.MinecraftColor; import com.bluepowermod.api.wire.redstone.RedwireType; import com.bluepowermod.block.*; -import com.bluepowermod.block.gates.BlockGateBase; +import com.bluepowermod.block.gates.BlockGateAnd; +import com.bluepowermod.block.gates.BlockGateBuffer; +import com.bluepowermod.block.gates.BlockGateNot; +import com.bluepowermod.block.gates.BlockGateOr; +import com.bluepowermod.block.gates.BlockGateRSLatch; +import com.bluepowermod.block.gates.BlockGateToggleLatch; +import com.bluepowermod.block.gates.BlockGateXor; import com.bluepowermod.block.gates.BlockNullCell; import com.bluepowermod.block.lighting.BlockLampRGBSurface; import com.bluepowermod.block.lighting.BlockLampSurface; @@ -269,19 +275,30 @@ public class BPBlocks { - public static final RegistryObject blockGateAND = BLOCKS.register("gate_and", BlockGateBase::new); + public static final RegistryObject blockGateAND = BLOCKS.register("gate_and", () -> new BlockGateAnd(false)); + public static final RegistryObject blockGateNOT = BLOCKS.register("gate_not", BlockGateNot::new); + public static final RegistryObject blockGateOR = BLOCKS.register("gate_or", () -> new BlockGateOr(false)); public static final RegistryObject blockNullCell = BLOCKS.register("gate_nullcell", BlockNullCell::new); - public static final RegistryObject blockGateNAND = BLOCKS.register("gate_nand",() -> new BlockGateBase(){ - @Override - public byte computeRedstone(BlockGateBase.Side side, byte back, byte front, byte left, byte right){ - return (byte)((left == 0 || right == 0 || back == 0 ) ? 16 : 0); - } - }); + public static final RegistryObject blockGateNAND = BLOCKS.register("gate_nand",() -> new BlockGateAnd(true)); + public static final RegistryObject blockGateNOR = BLOCKS.register("gate_nor", () -> new BlockGateOr(true)); + public static final RegistryObject blockGateBUFFER = BLOCKS.register("gate_buffer", BlockGateBuffer::new); + public static final RegistryObject blockGateXOR = BLOCKS.register("gate_xor", () -> new BlockGateXor(false)); + public static final RegistryObject blockGateXNOR = BLOCKS.register("gate_xnor", () -> new BlockGateXor(true)); + public static final RegistryObject blockRSLatch = BLOCKS.register("gate_rs", BlockGateRSLatch::new); + public static final RegistryObject blockToggleLatch = BLOCKS.register("gate_toggle", BlockGateToggleLatch::new); static{ BPItems.ITEMS.register(blockGateAND.getKey().location().getPath(), () -> new BlockItem(blockGateAND.get(), new Item.Properties())); + BPItems.ITEMS.register(blockGateNOT.getKey().location().getPath(), () -> new BlockItem(blockGateNOT.get(), new Item.Properties())); + BPItems.ITEMS.register(blockGateOR.getKey().location().getPath(), () -> new BlockItem(blockGateOR.get(), new Item.Properties())); BPItems.ITEMS.register(blockGateNAND.getKey().location().getPath(), () -> new BlockItem(blockGateNAND.get(), new Item.Properties())); + BPItems.ITEMS.register(blockGateNOR.getKey().location().getPath(), () -> new BlockItem(blockGateNOR.get(), new Item.Properties())); BPItems.ITEMS.register(blockNullCell.getKey().location().getPath(), () -> new BlockItem(blockNullCell.get(), new Item.Properties())); + BPItems.ITEMS.register(blockGateBUFFER.getKey().location().getPath(), () -> new BlockItem(blockGateBUFFER.get(), new Item.Properties())); + BPItems.ITEMS.register(blockGateXOR.getKey().location().getPath(), () -> new BlockItem(blockGateXOR.get(), new Item.Properties())); + BPItems.ITEMS.register(blockGateXNOR.getKey().location().getPath(), () -> new BlockItem(blockGateXNOR.get(), new Item.Properties())); + BPItems.ITEMS.register(blockRSLatch.getKey().location().getPath(), () -> new BlockItem(blockRSLatch.get(), new Item.Properties())); + BPItems.ITEMS.register(blockToggleLatch.getKey().location().getPath(), () -> new BlockItem(blockToggleLatch.get(), new Item.Properties())); } public static final RegistryObject blockRedAlloyWire = BLOCKS.register(RedwireType.RED_ALLOY.getName() + "_wire", () -> new BlockAlloyWire(RedwireType.RED_ALLOY.getName()).setWIP(true)); diff --git a/src/main/java/com/bluepowermod/init/BPCreativeTabs.java b/src/main/java/com/bluepowermod/init/BPCreativeTabs.java index bebeeb378..b625e15a9 100644 --- a/src/main/java/com/bluepowermod/init/BPCreativeTabs.java +++ b/src/main/java/com/bluepowermod/init/BPCreativeTabs.java @@ -23,7 +23,6 @@ import net.minecraft.core.registries.Registries; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.chat.Component; -import net.minecraft.resources.ResourceLocation; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.ItemStack; @@ -64,8 +63,16 @@ public void creativeTabEvent(BuildCreativeModeTabContentsEvent event) { event.acceptAll(BPBlocks.machines.stream().map(block -> new ItemStack(block.get())).collect(Collectors.toList())); event.accept(BPBlocks.blulectric_cable.get()); event.accept(BPBlocks.blockGateAND.get()); + event.accept(BPBlocks.blockGateNOT.get()); + event.accept(BPBlocks.blockGateOR.get()); event.accept(BPBlocks.blockGateNAND.get()); + event.accept(BPBlocks.blockGateNOR.get()); + event.accept(BPBlocks.blockGateBUFFER.get()); + event.accept(BPBlocks.blockGateXOR.get()); + event.accept(BPBlocks.blockGateXNOR.get()); event.accept(BPBlocks.blockNullCell.get()); + event.accept(BPBlocks.blockRSLatch.get()); + event.accept(BPBlocks.blockToggleLatch.get()); }else if(event.getTab() == lighting.get()){ event.acceptAll(BPBlocks.allLamps.stream().map(block -> new ItemStack(block.get())).collect(Collectors.toList())); }else if(event.getTab() == microblocks.get()){ diff --git a/src/main/resources/assets/bluepower/blockstates/gate_and.json b/src/main/resources/assets/bluepower/blockstates/gate_and.json index 3b261c930..08bc7a6d6 100644 --- a/src/main/resources/assets/bluepower/blockstates/gate_and.json +++ b/src/main/resources/assets/bluepower/blockstates/gate_and.json @@ -1,220 +1,28 @@ { - "multipart": [ - {"when":{"facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_blank"}}, - {"when":{"powered_left":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_left_on"}}, - {"when":{"powered_left":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_left"}}, - {"when":{"powered_right":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_right_on"}}, - {"when":{"powered_right":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_right"}}, - {"when":{"powered_front":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_front_on"}}, - {"when":{"powered_front":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_front"}}, - {"when":{"powered_back":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_back_on"}}, - {"when":{"powered_back":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_and_back"}}, - {"when":{"facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_blank","y":90}}, - {"when":{"powered_left":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_on","y":90}}, - {"when":{"powered_left":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_left","y":90}}, - {"when":{"powered_right":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_on","y":90}}, - {"when":{"powered_right":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_right","y":90}}, - {"when":{"powered_front":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_on","y":90}}, - {"when":{"powered_front":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_front","y":90}}, - {"when":{"powered_back":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_on","y":90}}, - {"when":{"powered_back":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_and_back","y":90}}, - {"when":{"facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_blank","y":180}}, - {"when":{"powered_left":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_left_on","y":180}}, - {"when":{"powered_left":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_left","y":180}}, - {"when":{"powered_right":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_right_on","y":180}}, - {"when":{"powered_right":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_right","y":180}}, - {"when":{"powered_front":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_front_on","y":180}}, - {"when":{"powered_front":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_front","y":180}}, - {"when":{"powered_back":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_back_on","y":180}}, - {"when":{"powered_back":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_and_back","y":180}}, - {"when":{"facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_blank","y":270}}, - {"when":{"powered_left":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_on","y":270}}, - {"when":{"powered_left":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_left","y":270}}, - {"when":{"powered_right":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_on","y":270}}, - {"when":{"powered_right":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_right","y":270}}, - {"when":{"powered_front":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_on","y":270}}, - {"when":{"powered_front":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_front","y":270}}, - {"when":{"powered_back":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_on","y":270}}, - {"when":{"powered_back":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_and_back","y":270}}, - {"when":{"facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_blank","x":180,"y":0}}, - {"when":{"facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_blank","x":180,"y":90}}, - {"when":{"facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_blank","x":180,"y":180}}, - {"when":{"facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_blank","x":180,"y":270}}, - {"when":{"facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_blank","x":90,"y":0}}, - {"when":{"facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_blank_z","x":90,"y":0}}, - {"when":{"facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_blank","x":270,"y":180}}, - {"when":{"facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_blank_z","x":270,"y":-180}}, - {"when":{"facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_blank","x":90,"y":180}}, - {"when":{"facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_blank_z","x":90,"y":180}}, - {"when":{"facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_blank","x":270,"y":0}}, - {"when":{"facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_blank_z","x":270,"y":0}}, - {"when":{"facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_blank","x":90,"y":90}}, - {"when":{"facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_blank_z","x":90,"y":90}}, - {"when":{"facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_blank","x":270,"y":270}}, - {"when":{"facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_blank_z","x":270,"y":-90}}, - {"when":{"facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_blank","x":90,"y":270}}, - {"when":{"facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_blank_z","x":90,"y":270}}, - {"when":{"facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_blank","x":270,"y":90}}, - {"when":{"facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_blank_z","x":270,"y":90}}, - {"when":{"powered_left":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_left_on","x":180,"y":0}}, - {"when":{"powered_left":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_on","x":180,"y":90}}, - {"when":{"powered_left":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_left_on","x":180,"y":180}}, - {"when":{"powered_left":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_on","x":180,"y":270}}, - {"when":{"powered_left":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_left_on","x":90,"y":0}}, - {"when":{"powered_left":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":90,"y":0}}, - {"when":{"powered_left":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_left_on","x":270,"y":180}}, - {"when":{"powered_left":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":270,"y":-180}}, - {"when":{"powered_left":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_left_on","x":90,"y":180}}, - {"when":{"powered_left":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":90,"y":180}}, - {"when":{"powered_left":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_left_on","x":270,"y":0}}, - {"when":{"powered_left":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":270,"y":0}}, - {"when":{"powered_left":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_left_on","x":90,"y":90}}, - {"when":{"powered_left":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":90,"y":90}}, - {"when":{"powered_left":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_left_on","x":270,"y":270}}, - {"when":{"powered_left":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":270,"y":-90}}, - {"when":{"powered_left":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_left_on","x":90,"y":270}}, - {"when":{"powered_left":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":90,"y":270}}, - {"when":{"powered_left":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_left_on","x":270,"y":90}}, - {"when":{"powered_left":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_on_z","x":270,"y":90}}, - {"when":{"powered_left":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_left","x":180,"y":0}}, - {"when":{"powered_left":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_left","x":180,"y":90}}, - {"when":{"powered_left":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_left","x":180,"y":180}}, - {"when":{"powered_left":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_left","x":180,"y":270}}, - {"when":{"powered_left":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_left","x":90,"y":0}}, - {"when":{"powered_left":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_z","x":90,"y":0}}, - {"when":{"powered_left":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_left","x":270,"y":180}}, - {"when":{"powered_left":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_z","x":270,"y":-180}}, - {"when":{"powered_left":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_left","x":90,"y":180}}, - {"when":{"powered_left":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_z","x":90,"y":180}}, - {"when":{"powered_left":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_left","x":270,"y":0}}, - {"when":{"powered_left":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_z","x":270,"y":0}}, - {"when":{"powered_left":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_left","x":90,"y":90}}, - {"when":{"powered_left":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_z","x":90,"y":90}}, - {"when":{"powered_left":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_left","x":270,"y":270}}, - {"when":{"powered_left":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_z","x":270,"y":-90}}, - {"when":{"powered_left":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_left","x":90,"y":270}}, - {"when":{"powered_left":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_left_z","x":90,"y":270}}, - {"when":{"powered_left":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_left","x":270,"y":90}}, - {"when":{"powered_left":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_left_z","x":270,"y":90}}, - {"when":{"powered_right":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_right_on","x":180,"y":0}}, - {"when":{"powered_right":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_on","x":180,"y":90}}, - {"when":{"powered_right":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_right_on","x":180,"y":180}}, - {"when":{"powered_right":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_on","x":180,"y":270}}, - {"when":{"powered_right":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_right_on","x":90,"y":0}}, - {"when":{"powered_right":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":90,"y":0}}, - {"when":{"powered_right":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_right_on","x":270,"y":180}}, - {"when":{"powered_right":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":270,"y":-180}}, - {"when":{"powered_right":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_right_on","x":90,"y":180}}, - {"when":{"powered_right":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":90,"y":180}}, - {"when":{"powered_right":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_right_on","x":270,"y":0}}, - {"when":{"powered_right":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":270,"y":0}}, - {"when":{"powered_right":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_right_on","x":90,"y":90}}, - {"when":{"powered_right":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":90,"y":90}}, - {"when":{"powered_right":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_right_on","x":270,"y":270}}, - {"when":{"powered_right":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":270,"y":-90}}, - {"when":{"powered_right":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_right_on","x":90,"y":270}}, - {"when":{"powered_right":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":90,"y":270}}, - {"when":{"powered_right":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_right_on","x":270,"y":90}}, - {"when":{"powered_right":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_on_z","x":270,"y":90}}, - {"when":{"powered_right":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_right","x":180,"y":0}}, - {"when":{"powered_right":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_right","x":180,"y":90}}, - {"when":{"powered_right":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_right","x":180,"y":180}}, - {"when":{"powered_right":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_right","x":180,"y":270}}, - {"when":{"powered_right":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_right","x":90,"y":0}}, - {"when":{"powered_right":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_z","x":90,"y":0}}, - {"when":{"powered_right":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_right","x":270,"y":180}}, - {"when":{"powered_right":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_z","x":270,"y":-180}}, - {"when":{"powered_right":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_right","x":90,"y":180}}, - {"when":{"powered_right":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_z","x":90,"y":180}}, - {"when":{"powered_right":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_right","x":270,"y":0}}, - {"when":{"powered_right":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_z","x":270,"y":0}}, - {"when":{"powered_right":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_right","x":90,"y":90}}, - {"when":{"powered_right":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_z","x":90,"y":90}}, - {"when":{"powered_right":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_right","x":270,"y":270}}, - {"when":{"powered_right":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_z","x":270,"y":-90}}, - {"when":{"powered_right":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_right","x":90,"y":270}}, - {"when":{"powered_right":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_right_z","x":90,"y":270}}, - {"when":{"powered_right":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_right","x":270,"y":90}}, - {"when":{"powered_right":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_right_z","x":270,"y":90}}, - {"when":{"powered_front":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_front_on","x":180,"y":0}}, - {"when":{"powered_front":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_on","x":180,"y":90}}, - {"when":{"powered_front":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_front_on","x":180,"y":180}}, - {"when":{"powered_front":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_on","x":180,"y":270}}, - {"when":{"powered_front":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_front_on","x":90,"y":0}}, - {"when":{"powered_front":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":90,"y":0}}, - {"when":{"powered_front":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_front_on","x":270,"y":180}}, - {"when":{"powered_front":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":270,"y":-180}}, - {"when":{"powered_front":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_front_on","x":90,"y":180}}, - {"when":{"powered_front":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":90,"y":180}}, - {"when":{"powered_front":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_front_on","x":270,"y":0}}, - {"when":{"powered_front":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":270,"y":0}}, - {"when":{"powered_front":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_front_on","x":90,"y":90}}, - {"when":{"powered_front":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":90,"y":90}}, - {"when":{"powered_front":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_front_on","x":270,"y":270}}, - {"when":{"powered_front":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":270,"y":-90}}, - {"when":{"powered_front":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_front_on","x":90,"y":270}}, - {"when":{"powered_front":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":90,"y":270}}, - {"when":{"powered_front":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_front_on","x":270,"y":90}}, - {"when":{"powered_front":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_on_z","x":270,"y":90}}, - {"when":{"powered_front":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_front","x":180,"y":0}}, - {"when":{"powered_front":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_front","x":180,"y":90}}, - {"when":{"powered_front":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_front","x":180,"y":180}}, - {"when":{"powered_front":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_front","x":180,"y":270}}, - {"when":{"powered_front":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_front","x":90,"y":0}}, - {"when":{"powered_front":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_z","x":90,"y":0}}, - {"when":{"powered_front":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_front","x":270,"y":180}}, - {"when":{"powered_front":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_z","x":270,"y":-180}}, - {"when":{"powered_front":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_front","x":90,"y":180}}, - {"when":{"powered_front":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_z","x":90,"y":180}}, - {"when":{"powered_front":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_front","x":270,"y":0}}, - {"when":{"powered_front":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_z","x":270,"y":0}}, - {"when":{"powered_front":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_front","x":90,"y":90}}, - {"when":{"powered_front":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_z","x":90,"y":90}}, - {"when":{"powered_front":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_front","x":270,"y":270}}, - {"when":{"powered_front":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_z","x":270,"y":-90}}, - {"when":{"powered_front":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_front","x":90,"y":270}}, - {"when":{"powered_front":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_front_z","x":90,"y":270}}, - {"when":{"powered_front":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_front","x":270,"y":90}}, - {"when":{"powered_front":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_front_z","x":270,"y":90}}, - {"when":{"powered_back":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_back_on","x":180,"y":0}}, - {"when":{"powered_back":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_on","x":180,"y":90}}, - {"when":{"powered_back":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_back_on","x":180,"y":180}}, - {"when":{"powered_back":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_on","x":180,"y":270}}, - {"when":{"powered_back":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_back_on","x":90,"y":0}}, - {"when":{"powered_back":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":90,"y":0}}, - {"when":{"powered_back":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_back_on","x":270,"y":180}}, - {"when":{"powered_back":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":270,"y":-180}}, - {"when":{"powered_back":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_back_on","x":90,"y":180}}, - {"when":{"powered_back":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":90,"y":180}}, - {"when":{"powered_back":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_back_on","x":270,"y":0}}, - {"when":{"powered_back":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":270,"y":0}}, - {"when":{"powered_back":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_back_on","x":90,"y":90}}, - {"when":{"powered_back":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":90,"y":90}}, - {"when":{"powered_back":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_back_on","x":270,"y":270}}, - {"when":{"powered_back":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":270,"y":-90}}, - {"when":{"powered_back":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_back_on","x":90,"y":270}}, - {"when":{"powered_back":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":90,"y":270}}, - {"when":{"powered_back":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_back_on","x":270,"y":90}}, - {"when":{"powered_back":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_on_z","x":270,"y":90}}, - {"when":{"powered_back":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_and_back","x":180,"y":0}}, - {"when":{"powered_back":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_and_back","x":180,"y":90}}, - {"when":{"powered_back":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_and_back","x":180,"y":180}}, - {"when":{"powered_back":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_and_back","x":180,"y":270}}, - {"when":{"powered_back":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_and_back","x":90,"y":0}}, - {"when":{"powered_back":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_z","x":90,"y":0}}, - {"when":{"powered_back":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_and_back","x":270,"y":180}}, - {"when":{"powered_back":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_z","x":270,"y":-180}}, - {"when":{"powered_back":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_and_back","x":90,"y":180}}, - {"when":{"powered_back":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_z","x":90,"y":180}}, - {"when":{"powered_back":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_and_back","x":270,"y":0}}, - {"when":{"powered_back":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_z","x":270,"y":0}}, - {"when":{"powered_back":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_and_back","x":90,"y":90}}, - {"when":{"powered_back":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_z","x":90,"y":90}}, - {"when":{"powered_back":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_and_back","x":270,"y":270}}, - {"when":{"powered_back":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_z","x":270,"y":-90}}, - {"when":{"powered_back":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_and_back","x":90,"y":270}}, - {"when":{"powered_back":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_and_back_z","x":90,"y":270}}, - {"when":{"powered_back":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_and_back","x":270,"y":90}}, - {"when":{"powered_back":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_and_back_z","x":270,"y":90}} - ] + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/and_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/and_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/and_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/and_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/and_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/and_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/and_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/and_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/and_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/and_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/and_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/and_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/and_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/and_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/and_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/and_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/and_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/and_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/and_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/and_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/and_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/and_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/and_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/and_gate/full_z","x":270,"y":90} + } } \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_buffer.json b/src/main/resources/assets/bluepower/blockstates/gate_buffer.json new file mode 100644 index 000000000..b7b72168f --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_buffer.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/buffer_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/buffer_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/buffer_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/buffer_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/buffer_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/buffer_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/buffer_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/buffer_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/buffer_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/buffer_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/buffer_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/buffer_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/buffer_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/buffer_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/buffer_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/buffer_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/buffer_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/buffer_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/buffer_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/buffer_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/buffer_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/buffer_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/buffer_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/buffer_gate/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_nand.json b/src/main/resources/assets/bluepower/blockstates/gate_nand.json index 274cebcf0..09cca0c34 100644 --- a/src/main/resources/assets/bluepower/blockstates/gate_nand.json +++ b/src/main/resources/assets/bluepower/blockstates/gate_nand.json @@ -1,220 +1,28 @@ { - "multipart": [ - {"when":{"facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_blank"}}, - {"when":{"powered_left":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left_on"}}, - {"when":{"powered_left":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left"}}, - {"when":{"powered_right":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right_on"}}, - {"when":{"powered_right":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right"}}, - {"when":{"powered_front":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front_on"}}, - {"when":{"powered_front":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front"}}, - {"when":{"powered_back":"true","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back_on"}}, - {"when":{"powered_back":"false","facing":"up","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back"}}, - {"when":{"facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_blank","y":90}}, - {"when":{"powered_left":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_on","y":90}}, - {"when":{"powered_left":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left","y":90}}, - {"when":{"powered_right":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_on","y":90}}, - {"when":{"powered_right":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right","y":90}}, - {"when":{"powered_front":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_on","y":90}}, - {"when":{"powered_front":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front","y":90}}, - {"when":{"powered_back":"true","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_on","y":90}}, - {"when":{"powered_back":"false","facing":"up","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back","y":90}}, - {"when":{"facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_blank","y":180}}, - {"when":{"powered_left":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left_on","y":180}}, - {"when":{"powered_left":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left","y":180}}, - {"when":{"powered_right":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right_on","y":180}}, - {"when":{"powered_right":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right","y":180}}, - {"when":{"powered_front":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front_on","y":180}}, - {"when":{"powered_front":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front","y":180}}, - {"when":{"powered_back":"true","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back_on","y":180}}, - {"when":{"powered_back":"false","facing":"up","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back","y":180}}, - {"when":{"facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_blank","y":270}}, - {"when":{"powered_left":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_on","y":270}}, - {"when":{"powered_left":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left","y":270}}, - {"when":{"powered_right":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_on","y":270}}, - {"when":{"powered_right":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right","y":270}}, - {"when":{"powered_front":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_on","y":270}}, - {"when":{"powered_front":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front","y":270}}, - {"when":{"powered_back":"true","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_on","y":270}}, - {"when":{"powered_back":"false","facing":"up","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back","y":270}}, - {"when":{"facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_blank","x":180,"y":0}}, - {"when":{"facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_blank","x":180,"y":90}}, - {"when":{"facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_blank","x":180,"y":180}}, - {"when":{"facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_blank","x":180,"y":270}}, - {"when":{"facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_blank","x":90,"y":0}}, - {"when":{"facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":90,"y":0}}, - {"when":{"facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_blank","x":270,"y":180}}, - {"when":{"facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":270,"y":-180}}, - {"when":{"facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_blank","x":90,"y":180}}, - {"when":{"facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":90,"y":180}}, - {"when":{"facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_blank","x":270,"y":0}}, - {"when":{"facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":270,"y":0}}, - {"when":{"facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_blank","x":90,"y":90}}, - {"when":{"facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":90,"y":90}}, - {"when":{"facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_blank","x":270,"y":270}}, - {"when":{"facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":270,"y":-90}}, - {"when":{"facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_blank","x":90,"y":270}}, - {"when":{"facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":90,"y":270}}, - {"when":{"facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_blank","x":270,"y":90}}, - {"when":{"facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_blank_z","x":270,"y":90}}, - {"when":{"powered_left":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left_on","x":180,"y":0}}, - {"when":{"powered_left":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_on","x":180,"y":90}}, - {"when":{"powered_left":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left_on","x":180,"y":180}}, - {"when":{"powered_left":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_on","x":180,"y":270}}, - {"when":{"powered_left":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left_on","x":90,"y":0}}, - {"when":{"powered_left":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":90,"y":0}}, - {"when":{"powered_left":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left_on","x":270,"y":180}}, - {"when":{"powered_left":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":270,"y":-180}}, - {"when":{"powered_left":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left_on","x":90,"y":180}}, - {"when":{"powered_left":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":90,"y":180}}, - {"when":{"powered_left":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left_on","x":270,"y":0}}, - {"when":{"powered_left":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":270,"y":0}}, - {"when":{"powered_left":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left_on","x":90,"y":90}}, - {"when":{"powered_left":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":90,"y":90}}, - {"when":{"powered_left":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left_on","x":270,"y":270}}, - {"when":{"powered_left":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":270,"y":-90}}, - {"when":{"powered_left":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left_on","x":90,"y":270}}, - {"when":{"powered_left":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":90,"y":270}}, - {"when":{"powered_left":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left_on","x":270,"y":90}}, - {"when":{"powered_left":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_on_z","x":270,"y":90}}, - {"when":{"powered_left":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left","x":180,"y":0}}, - {"when":{"powered_left":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left","x":180,"y":90}}, - {"when":{"powered_left":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left","x":180,"y":180}}, - {"when":{"powered_left":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left","x":180,"y":270}}, - {"when":{"powered_left":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left","x":90,"y":0}}, - {"when":{"powered_left":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_z","x":90,"y":0}}, - {"when":{"powered_left":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left","x":270,"y":180}}, - {"when":{"powered_left":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_z","x":270,"y":-180}}, - {"when":{"powered_left":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left","x":90,"y":180}}, - {"when":{"powered_left":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_z","x":90,"y":180}}, - {"when":{"powered_left":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left","x":270,"y":0}}, - {"when":{"powered_left":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_z","x":270,"y":0}}, - {"when":{"powered_left":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left","x":90,"y":90}}, - {"when":{"powered_left":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_z","x":90,"y":90}}, - {"when":{"powered_left":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left","x":270,"y":270}}, - {"when":{"powered_left":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_z","x":270,"y":-90}}, - {"when":{"powered_left":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_left","x":90,"y":270}}, - {"when":{"powered_left":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_left_z","x":90,"y":270}}, - {"when":{"powered_left":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_left","x":270,"y":90}}, - {"when":{"powered_left":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_left_z","x":270,"y":90}}, - {"when":{"powered_right":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right_on","x":180,"y":0}}, - {"when":{"powered_right":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_on","x":180,"y":90}}, - {"when":{"powered_right":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right_on","x":180,"y":180}}, - {"when":{"powered_right":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_on","x":180,"y":270}}, - {"when":{"powered_right":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right_on","x":90,"y":0}}, - {"when":{"powered_right":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":90,"y":0}}, - {"when":{"powered_right":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right_on","x":270,"y":180}}, - {"when":{"powered_right":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":270,"y":-180}}, - {"when":{"powered_right":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right_on","x":90,"y":180}}, - {"when":{"powered_right":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":90,"y":180}}, - {"when":{"powered_right":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right_on","x":270,"y":0}}, - {"when":{"powered_right":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":270,"y":0}}, - {"when":{"powered_right":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right_on","x":90,"y":90}}, - {"when":{"powered_right":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":90,"y":90}}, - {"when":{"powered_right":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right_on","x":270,"y":270}}, - {"when":{"powered_right":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":270,"y":-90}}, - {"when":{"powered_right":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right_on","x":90,"y":270}}, - {"when":{"powered_right":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":90,"y":270}}, - {"when":{"powered_right":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right_on","x":270,"y":90}}, - {"when":{"powered_right":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_on_z","x":270,"y":90}}, - {"when":{"powered_right":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right","x":180,"y":0}}, - {"when":{"powered_right":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right","x":180,"y":90}}, - {"when":{"powered_right":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right","x":180,"y":180}}, - {"when":{"powered_right":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right","x":180,"y":270}}, - {"when":{"powered_right":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right","x":90,"y":0}}, - {"when":{"powered_right":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_z","x":90,"y":0}}, - {"when":{"powered_right":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right","x":270,"y":180}}, - {"when":{"powered_right":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_z","x":270,"y":-180}}, - {"when":{"powered_right":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right","x":90,"y":180}}, - {"when":{"powered_right":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_z","x":90,"y":180}}, - {"when":{"powered_right":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right","x":270,"y":0}}, - {"when":{"powered_right":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_z","x":270,"y":0}}, - {"when":{"powered_right":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right","x":90,"y":90}}, - {"when":{"powered_right":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_z","x":90,"y":90}}, - {"when":{"powered_right":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right","x":270,"y":270}}, - {"when":{"powered_right":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_z","x":270,"y":-90}}, - {"when":{"powered_right":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_right","x":90,"y":270}}, - {"when":{"powered_right":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_right_z","x":90,"y":270}}, - {"when":{"powered_right":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_right","x":270,"y":90}}, - {"when":{"powered_right":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_right_z","x":270,"y":90}}, - {"when":{"powered_front":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front_on","x":180,"y":0}}, - {"when":{"powered_front":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_on","x":180,"y":90}}, - {"when":{"powered_front":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front_on","x":180,"y":180}}, - {"when":{"powered_front":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_on","x":180,"y":270}}, - {"when":{"powered_front":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front_on","x":90,"y":0}}, - {"when":{"powered_front":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":90,"y":0}}, - {"when":{"powered_front":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front_on","x":270,"y":180}}, - {"when":{"powered_front":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":270,"y":-180}}, - {"when":{"powered_front":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front_on","x":90,"y":180}}, - {"when":{"powered_front":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":90,"y":180}}, - {"when":{"powered_front":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front_on","x":270,"y":0}}, - {"when":{"powered_front":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":270,"y":0}}, - {"when":{"powered_front":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front_on","x":90,"y":90}}, - {"when":{"powered_front":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":90,"y":90}}, - {"when":{"powered_front":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front_on","x":270,"y":270}}, - {"when":{"powered_front":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":270,"y":-90}}, - {"when":{"powered_front":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front_on","x":90,"y":270}}, - {"when":{"powered_front":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":90,"y":270}}, - {"when":{"powered_front":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front_on","x":270,"y":90}}, - {"when":{"powered_front":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_on_z","x":270,"y":90}}, - {"when":{"powered_front":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front","x":180,"y":0}}, - {"when":{"powered_front":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front","x":180,"y":90}}, - {"when":{"powered_front":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front","x":180,"y":180}}, - {"when":{"powered_front":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front","x":180,"y":270}}, - {"when":{"powered_front":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front","x":90,"y":0}}, - {"when":{"powered_front":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_z","x":90,"y":0}}, - {"when":{"powered_front":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front","x":270,"y":180}}, - {"when":{"powered_front":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_z","x":270,"y":-180}}, - {"when":{"powered_front":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front","x":90,"y":180}}, - {"when":{"powered_front":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_z","x":90,"y":180}}, - {"when":{"powered_front":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front","x":270,"y":0}}, - {"when":{"powered_front":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_z","x":270,"y":0}}, - {"when":{"powered_front":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front","x":90,"y":90}}, - {"when":{"powered_front":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_z","x":90,"y":90}}, - {"when":{"powered_front":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front","x":270,"y":270}}, - {"when":{"powered_front":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_z","x":270,"y":-90}}, - {"when":{"powered_front":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_front","x":90,"y":270}}, - {"when":{"powered_front":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_front_z","x":90,"y":270}}, - {"when":{"powered_front":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_front","x":270,"y":90}}, - {"when":{"powered_front":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_front_z","x":270,"y":90}}, - {"when":{"powered_back":"true","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back_on","x":180,"y":0}}, - {"when":{"powered_back":"true","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_on","x":180,"y":90}}, - {"when":{"powered_back":"true","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back_on","x":180,"y":180}}, - {"when":{"powered_back":"true","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_on","x":180,"y":270}}, - {"when":{"powered_back":"true","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back_on","x":90,"y":0}}, - {"when":{"powered_back":"true","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":90,"y":0}}, - {"when":{"powered_back":"true","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back_on","x":270,"y":180}}, - {"when":{"powered_back":"true","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":270,"y":-180}}, - {"when":{"powered_back":"true","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back_on","x":90,"y":180}}, - {"when":{"powered_back":"true","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":90,"y":180}}, - {"when":{"powered_back":"true","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back_on","x":270,"y":0}}, - {"when":{"powered_back":"true","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":270,"y":0}}, - {"when":{"powered_back":"true","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back_on","x":90,"y":90}}, - {"when":{"powered_back":"true","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":90,"y":90}}, - {"when":{"powered_back":"true","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back_on","x":270,"y":270}}, - {"when":{"powered_back":"true","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":270,"y":-90}}, - {"when":{"powered_back":"true","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back_on","x":90,"y":270}}, - {"when":{"powered_back":"true","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":90,"y":270}}, - {"when":{"powered_back":"true","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back_on","x":270,"y":90}}, - {"when":{"powered_back":"true","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_on_z","x":270,"y":90}}, - {"when":{"powered_back":"false","facing":"down","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back","x":180,"y":0}}, - {"when":{"powered_back":"false","facing":"down","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back","x":180,"y":90}}, - {"when":{"powered_back":"false","facing":"down","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back","x":180,"y":180}}, - {"when":{"powered_back":"false","facing":"down","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back","x":180,"y":270}}, - {"when":{"powered_back":"false","facing":"north","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back","x":90,"y":0}}, - {"when":{"powered_back":"false","facing":"north","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_z","x":90,"y":0}}, - {"when":{"powered_back":"false","facing":"north","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back","x":270,"y":180}}, - {"when":{"powered_back":"false","facing":"north","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_z","x":270,"y":-180}}, - {"when":{"powered_back":"false","facing":"south","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back","x":90,"y":180}}, - {"when":{"powered_back":"false","facing":"south","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_z","x":90,"y":180}}, - {"when":{"powered_back":"false","facing":"south","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back","x":270,"y":0}}, - {"when":{"powered_back":"false","facing":"south","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_z","x":270,"y":0}}, - {"when":{"powered_back":"false","facing":"east","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back","x":90,"y":90}}, - {"when":{"powered_back":"false","facing":"east","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_z","x":90,"y":90}}, - {"when":{"powered_back":"false","facing":"east","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back","x":270,"y":270}}, - {"when":{"powered_back":"false","facing":"east","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_z","x":270,"y":-90}}, - {"when":{"powered_back":"false","facing":"west","rotation":0},"apply":{"model":"bluepower:block/gate_nand_back","x":90,"y":270}}, - {"when":{"powered_back":"false","facing":"west","rotation":1},"apply":{"model":"bluepower:block/gate_nand_back_z","x":90,"y":270}}, - {"when":{"powered_back":"false","facing":"west","rotation":2},"apply":{"model":"bluepower:block/gate_nand_back","x":270,"y":90}}, - {"when":{"powered_back":"false","facing":"west","rotation":3},"apply":{"model":"bluepower:block/gate_nand_back_z","x":270,"y":90}} - ] + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/nand_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/nand_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/nand_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/nand_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/nand_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/nand_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/nand_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/nand_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/nand_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/nand_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/nand_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/nand_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/nand_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/nand_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/nand_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/nand_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/nand_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/nand_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/nand_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/nand_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/nand_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/nand_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/nand_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/nand_gate/full_z","x":270,"y":90} + } } \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_nor.json b/src/main/resources/assets/bluepower/blockstates/gate_nor.json new file mode 100644 index 000000000..2d58307e3 --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_nor.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/nor_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/nor_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/nor_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/nor_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/nor_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/nor_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/nor_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/nor_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/nor_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/nor_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/nor_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/nor_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/nor_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/nor_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/nor_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/nor_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/nor_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/nor_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/nor_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/nor_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/nor_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/nor_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/nor_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/nor_gate/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_not.json b/src/main/resources/assets/bluepower/blockstates/gate_not.json new file mode 100644 index 000000000..0634888c8 --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_not.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/not_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/not_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/not_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/not_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/not_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/not_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/not_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/not_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/not_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/not_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/not_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/not_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/not_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/not_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/not_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/not_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/not_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/not_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/not_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/not_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/not_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/not_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/not_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/not_gate/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_or.json b/src/main/resources/assets/bluepower/blockstates/gate_or.json new file mode 100644 index 000000000..10fae9e40 --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_or.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/or_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/or_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/or_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/or_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/or_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/or_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/or_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/or_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/or_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/or_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/or_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/or_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/or_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/or_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/or_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/or_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/or_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/or_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/or_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/or_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/or_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/or_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/or_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/or_gate/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_rs.json b/src/main/resources/assets/bluepower/blockstates/gate_rs.json new file mode 100644 index 000000000..674bb128b --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_rs.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/rs_latch/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/rs_latch/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/rs_latch/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/rs_latch/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/rs_latch/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/rs_latch/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/rs_latch/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/rs_latch/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/rs_latch/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/rs_latch/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/rs_latch/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/rs_latch/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/rs_latch/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/rs_latch/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/rs_latch/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/rs_latch/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/rs_latch/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/rs_latch/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/rs_latch/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/rs_latch/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/rs_latch/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/rs_latch/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/rs_latch/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/rs_latch/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_toggle.json b/src/main/resources/assets/bluepower/blockstates/gate_toggle.json new file mode 100644 index 000000000..8d3e2a34f --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_toggle.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/toggle_latch/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/toggle_latch/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/toggle_latch/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/toggle_latch/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/toggle_latch/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/toggle_latch/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/toggle_latch/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/toggle_latch/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/toggle_latch/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/toggle_latch/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/toggle_latch/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/toggle_latch/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/toggle_latch/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/toggle_latch/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/toggle_latch/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/toggle_latch/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/toggle_latch/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/toggle_latch/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/toggle_latch/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/toggle_latch/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/toggle_latch/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/toggle_latch/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/toggle_latch/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/toggle_latch/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_xnor.json b/src/main/resources/assets/bluepower/blockstates/gate_xnor.json new file mode 100644 index 000000000..c073142d1 --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_xnor.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/xnor_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/xnor_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/xnor_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/xnor_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/xnor_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/xnor_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/xnor_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/xnor_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/xnor_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/xnor_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/xnor_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/xnor_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/xnor_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/xnor_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/xnor_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/xnor_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/xnor_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/xnor_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/xnor_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/xnor_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/xnor_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/xnor_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/xnor_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/xnor_gate/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/blockstates/gate_xor.json b/src/main/resources/assets/bluepower/blockstates/gate_xor.json new file mode 100644 index 000000000..7cf866156 --- /dev/null +++ b/src/main/resources/assets/bluepower/blockstates/gate_xor.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=up,rotation=0":{"model":"bluepower:block/xor_gate/full"}, + "facing=up,rotation=1":{"model":"bluepower:block/xor_gate/full","y":90}, + "facing=up,rotation=2":{"model":"bluepower:block/xor_gate/full","y":180}, + "facing=up,rotation=3":{"model":"bluepower:block/xor_gate/full","y":270}, + "facing=down,rotation=0":{"model":"bluepower:block/xor_gate/full","x":180,"y":0}, + "facing=down,rotation=3":{"model":"bluepower:block/xor_gate/full","x":180,"y":90}, + "facing=down,rotation=2":{"model":"bluepower:block/xor_gate/full","x":180,"y":180}, + "facing=down,rotation=1":{"model":"bluepower:block/xor_gate/full","x":180,"y":270}, + "facing=north,rotation=0":{"model":"bluepower:block/xor_gate/full","x":90,"y":0}, + "facing=north,rotation=1":{"model":"bluepower:block/xor_gate/full_z","x":90,"y":0}, + "facing=north,rotation=2":{"model":"bluepower:block/xor_gate/full","x":270,"y":180}, + "facing=north,rotation=3":{"model":"bluepower:block/xor_gate/full_z","x":270,"y":-180}, + "facing=south,rotation=0":{"model":"bluepower:block/xor_gate/full","x":90,"y":180}, + "facing=south,rotation=1":{"model":"bluepower:block/xor_gate/full_z","x":90,"y":180}, + "facing=south,rotation=2":{"model":"bluepower:block/xor_gate/full","x":270,"y":0}, + "facing=south,rotation=3":{"model":"bluepower:block/xor_gate/full_z","x":270,"y":0}, + "facing=east,rotation=0":{"model":"bluepower:block/xor_gate/full","x":90,"y":90}, + "facing=east,rotation=1":{"model":"bluepower:block/xor_gate/full_z","x":90,"y":90}, + "facing=east,rotation=2":{"model":"bluepower:block/xor_gate/full","x":270,"y":270}, + "facing=east,rotation=3":{"model":"bluepower:block/xor_gate/full_z","x":270,"y":-90}, + "facing=west,rotation=0":{"model":"bluepower:block/xor_gate/full","x":90,"y":270}, + "facing=west,rotation=1":{"model":"bluepower:block/xor_gate/full_z","x":90,"y":270}, + "facing=west,rotation=2":{"model":"bluepower:block/xor_gate/full","x":270,"y":90}, + "facing=west,rotation=3":{"model":"bluepower:block/xor_gate/full_z","x":270,"y":90} + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_back.json b/src/main/resources/assets/bluepower/models/block/and_gate/back.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_back.json rename to src/main/resources/assets/bluepower/models/block/and_gate/back.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_back_on.json b/src/main/resources/assets/bluepower/models/block/and_gate/back_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_and_back_on.json rename to src/main/resources/assets/bluepower/models/block/and_gate/back_on.json index 9253e6048..3df85100b 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_back_on.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/back_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_back", + "parent": "bluepower:block/and_gate/back", "textures": { "bluestone_back": "bluepower:base/bluestone_on", "torch_middle": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_back_on_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/back_on_z.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_and_back_on_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/back_on_z.json index c023ca74d..c49bfc032 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_back_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/back_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_back_z", + "parent": "bluepower:block/and_gate/back_z", "textures": { "bluestone_back": "bluepower:base/bluestone_on", "torch_middle": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_back_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/back_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_back_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/back_z.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_blank.json b/src/main/resources/assets/bluepower/models/block/and_gate/blank.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_blank.json rename to src/main/resources/assets/bluepower/models/block/and_gate/blank.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_blank_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/blank_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_blank_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/blank_z.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_front.json b/src/main/resources/assets/bluepower/models/block/and_gate/front.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_front.json rename to src/main/resources/assets/bluepower/models/block/and_gate/front.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_front_on.json b/src/main/resources/assets/bluepower/models/block/and_gate/front_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_and_front_on.json rename to src/main/resources/assets/bluepower/models/block/and_gate/front_on.json index bbd1c8b9d..7dbbfba9b 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_front_on.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/front_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_front", + "parent": "bluepower:block/and_gate/front", "textures": { "bluestone_front": "bluepower:base/bluestone_off", "torch_front": "bluepower:blocks/bluestone_torch_on" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_front_on_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/front_on_z.json similarity index 74% rename from src/main/resources/assets/bluepower/models/block/gate_and_front_on_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/front_on_z.json index 4e3d43626..393b44d3d 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_front_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/front_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_front_z", + "parent": "bluepower:block/and_gate/front_z", "textures": { "torch_front": "bluepower:blocks/bluestone_torch_on", "bluestone_front": "bluepower:base/bluestone_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_front_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/front_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_front_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/front_z.json diff --git a/src/main/resources/assets/bluepower/models/block/and_gate/full.json b/src/main/resources/assets/bluepower/models/block/and_gate/full.json new file mode 100644 index 000000000..a7fa32465 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/and_gate/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/and_gate/blank", + { + "model": "bluepower:block/and_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/and_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/and_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/and_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/and_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/and_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/and_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/and_gate/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/and_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/full_z.json new file mode 100644 index 000000000..259b69c43 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/and_gate/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/and_gate/blank_z", + { + "model": "bluepower:block/and_gate/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/and_gate/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/and_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/and_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/and_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/and_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/and_gate/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/and_gate/right_on_z", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_left.json b/src/main/resources/assets/bluepower/models/block/and_gate/left.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_left.json rename to src/main/resources/assets/bluepower/models/block/and_gate/left.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_left_on.json b/src/main/resources/assets/bluepower/models/block/and_gate/left_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_and_left_on.json rename to src/main/resources/assets/bluepower/models/block/and_gate/left_on.json index 0303d0789..f4012fe42 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_left_on.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/left_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_left", + "parent": "bluepower:block/and_gate/left", "textures": { "bluestone_left": "bluepower:base/bluestone_on", "torch_left": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_left_on_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/left_on_z.json similarity index 74% rename from src/main/resources/assets/bluepower/models/block/gate_and_left_on_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/left_on_z.json index a54fd7372..2be3783d4 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_left_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/left_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_left_z", + "parent": "bluepower:block/and_gate/left_z", "textures": { "bluestone_left": "bluepower:base/bluestone_on", "torch_left": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_left_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/left_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_left_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/left_z.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_right.json b/src/main/resources/assets/bluepower/models/block/and_gate/right.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_right.json rename to src/main/resources/assets/bluepower/models/block/and_gate/right.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_right_on.json b/src/main/resources/assets/bluepower/models/block/and_gate/right_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_and_right_on.json rename to src/main/resources/assets/bluepower/models/block/and_gate/right_on.json index e730f68c2..41184c980 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_right_on.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/right_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_right", + "parent": "bluepower:block/and_gate/right", "textures": { "bluestone_right": "bluepower:base/bluestone_on", "torch_right": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_right_on_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/right_on_z.json similarity index 74% rename from src/main/resources/assets/bluepower/models/block/gate_and_right_on_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/right_on_z.json index 887b9069f..dc7aa0b1c 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_and_right_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/and_gate/right_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_and_right_z", + "parent": "bluepower:block/and_gate/right_z", "textures": { "bluestone_right": "bluepower:base/bluestone_on", "torch_right": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_and_right_z.json b/src/main/resources/assets/bluepower/models/block/and_gate/right_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_and_right_z.json rename to src/main/resources/assets/bluepower/models/block/and_gate/right_z.json diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/back.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/back.json new file mode 100644 index 000000000..28aff17ae --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/back.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_back": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 270, "texture": "#bluestone_back"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/back_on.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/back_on.json new file mode 100644 index 000000000..d4b34fdd4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/back_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/buffer_gate/back", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/back_on_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/back_on_z.json new file mode 100644 index 000000000..63030e393 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/back_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/buffer_gate/back_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/back_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/back_z.json new file mode 100644 index 000000000..534b6d3ad --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/back_z.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [7, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 7, 1], "texture": "#bluestone_left"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/blank.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/blank.json new file mode 100644 index 000000000..51fc4e32e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/blank.json @@ -0,0 +1,286 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 1.001], + "to": [8.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.501, 2, 1.5], + "to": [12.501, 2.25, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12.501, 2, 2.5], + "to": [13.501, 2.25, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.501, 2, 3.5], + "to": [12.501, 2.25, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 0, 0], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [13.501, 2, 8], + "to": [16.001, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 2.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [14.501, 2, 7], + "to": [16.001, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12.501, 2, 4], + "to": [14.501, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [3.501, 2, 1.5], + "to": [6.501, 2.25, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [2.501, 2, 2.5], + "to": [3.501, 2.25, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0.001, 2, 8], + "to": [2.501, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 2.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0.001, 2, 7], + "to": [1.501, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [3.501, 2, 3.5], + "to": [4.501, 2.25, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [1.501, 2, 4], + "to": [3.501, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [8.5, 2, 1.001], + "to": [9.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 3], "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 4.001], + "to": [9, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 0.5], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [8.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/blank_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/blank_z.json new file mode 100644 index 000000000..a8a98a1be --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/blank_z.json @@ -0,0 +1,286 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0.001], + "to": [16, 2, 16.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [11.999, 2, 6.5], + "to": [14.999, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12.5, 2, 9.501], + "to": [14.5, 2.25, 12.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12, 2, 12.501], + "to": [13.5, 2.25, 13.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11, 2, 11.501], + "to": [12.5, 2.25, 12.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 0, 0], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [7, 2, 13.501], + "to": [8, 2.25, 16.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 2.5], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [8, 2, 14.501], + "to": [9, 2.25, 16.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [8, 2, 12.501], + "to": [12, 2.25, 14.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [12.5, 2, 3.501], + "to": [14.5, 2.25, 6.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [12, 2, 2.501], + "to": [13.5, 2.25, 3.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [7, 2, 0.001], + "to": [8, 2.25, 2.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 2.5], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [8, 2, 0.001], + "to": [9, 2.25, 1.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [11, 2, 3.501], + "to": [12.5, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [8, 2, 1.501], + "to": [12, 2.25, 3.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [11.999, 2, 8.5], + "to": [14.999, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 3], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [11.499, 2, 7], + "to": [11.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [9.5, 2, 6], + "to": [11.5, 2.25, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [9.5, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 8.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [0.01, 2, 7], + "to": [6.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "rotation": 90, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/front.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/front.json new file mode 100644 index 000000000..5c3578528 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/front.json @@ -0,0 +1,121 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + }, + { + "name": "Front1", + "from": [7, 2, 0.5], + "to": [9, 7, 4.5], + "shade": false, + "faces": { + "east": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "Front2", + "from": [6, 2, 1.5], + "to": [10, 7, 3.5], + "shade": false, + "faces": { + "north": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 3.5], + "to": [8.5, 2.5, 5], + "faces": { + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1.5], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 5], + "to": [9.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 1.5], + "to": [9, 6, 3.5], + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/front_on.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/front_on.json new file mode 100644 index 000000000..b03383b77 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/front_on.json @@ -0,0 +1,8 @@ +{ + "parent": "bluepower:block/buffer_gate/front", + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_off", + "bluestone_front": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/front_on_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/front_on_z.json new file mode 100644 index 000000000..2bf0942d8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/front_on_z.json @@ -0,0 +1,8 @@ +{ + "parent": "bluepower:block/buffer_gate/front_z", + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_off", + "bluestone_front": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/front_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/front_z.json new file mode 100644 index 000000000..7032f86dc --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/front_z.json @@ -0,0 +1,125 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Middle1", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_middle"} + } + }, + { + "name": "Front1", + "from": [11.5, 2, 7], + "to": [15.5, 7, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "Front2", + "from": [12.5, 2, 6], + "to": [14.5, 7, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 7.5], + "to": [12.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 6.5], + "to": [11, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [12.5, 2, 7], + "to": [14.5, 6, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/full.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/full.json new file mode 100644 index 000000000..7a2e4b31b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/buffer_gate/blank", + { + "model": "bluepower:block/buffer_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/buffer_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/buffer_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/buffer_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/buffer_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/buffer_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/buffer_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/buffer_gate/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/full_z.json new file mode 100644 index 000000000..aef7413e1 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/buffer_gate/blank_z", + { + "model": "bluepower:block/buffer_gate/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/buffer_gate/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/buffer_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/buffer_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/buffer_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/buffer_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/buffer_gate/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/buffer_gate/right_on_z", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/left.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/left.json new file mode 100644 index 000000000..106c85eae --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/left.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [4, 2, 2], + "to": [6.5, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 2.5]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [2, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [3, 2, 3], + "to": [4, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 3.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [2, 2, 4.5], + "to": [3, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/left_on.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/left_on.json new file mode 100644 index 000000000..0cd4333d8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/buffer_gate/left", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/left_on_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/left_on_z.json new file mode 100644 index 000000000..2d91332c0 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/buffer_gate/left_z", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/left_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/left_z.json new file mode 100644 index 000000000..4aa2c4be7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/left_z.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [13, 2, 4], + "to": [14, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [11.5, 2, 3], + "to": [13, 2.5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [8.5, 2, 2], + "to": [11.5, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 270, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/right.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/right.json new file mode 100644 index 000000000..3f03d713b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/right.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "RightWire", + "from": [9.5, 2, 2], + "to": [12, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [8.5, 0, 2.5]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [14, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [13, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [12, 2, 3], + "to": [13, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 0, 3.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [13, 2, 4.5], + "to": [14, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [12, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/right_on.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/right_on.json new file mode 100644 index 000000000..0944e0046 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/buffer_gate/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/right_on_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/right_on_z.json new file mode 100644 index 000000000..18a291b12 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/right_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/buffer_gate/right_z", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/buffer_gate/right_z.json b/src/main/resources/assets/bluepower/models/block/buffer_gate/right_z.json new file mode 100644 index 000000000..0301b479c --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/buffer_gate/right_z.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "RightWire", + "from": [13, 2, 9.5], + "to": [14, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [7.5, 2, 14], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [11.5, 2, 12], + "to": [13, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [8.5, 2, 13], + "to": [11.5, 2.5, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 270, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_buffer.json b/src/main/resources/assets/bluepower/models/block/gate_buffer.json new file mode 100644 index 000000000..f31a54dfd --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_buffer.json @@ -0,0 +1,534 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off", + "bluestone_right": "bluepower:base/bluestone_off", + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 1.001], + "to": [8.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.501, 2, 1.5], + "to": [12.501, 2.25, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12.501, 2, 2.5], + "to": [13.501, 2.25, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.501, 2, 3.5], + "to": [12.501, 2.25, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 0, 0], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [13.501, 2, 8], + "to": [16.001, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 2.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [14.501, 2, 7], + "to": [16.001, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12.501, 2, 4], + "to": [14.501, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [3.501, 2, 1.5], + "to": [6.501, 2.25, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [2.501, 2, 2.5], + "to": [3.501, 2.25, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0.001, 2, 8], + "to": [2.501, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 2.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0.001, 2, 7], + "to": [1.501, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [3.501, 2, 3.5], + "to": [4.501, 2.25, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 1.5], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [1.501, 2, 4], + "to": [3.501, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [8.5, 2, 1.001], + "to": [9.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 3], "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 4.001], + "to": [9, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 0.5], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [8.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + }, + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + }, + { + "name": "Front1", + "from": [7, 2, 0.5], + "to": [9, 7, 4.5], + "shade": false, + "faces": { + "east": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "Front2", + "from": [6, 2, 1.5], + "to": [10, 7, 3.5], + "shade": false, + "faces": { + "north": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 3.5], + "to": [8.5, 2.5, 5], + "faces": { + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1.5], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 5], + "to": [9.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 1.5], + "to": [9, 6, 3.5], + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "LeftWire", + "from": [4, 2, 2], + "to": [6.5, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 2.5]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [2, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [3, 2, 3], + "to": [4, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 3.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "LeftWire", + "from": [2, 2, 4.5], + "to": [3, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [9.5, 2, 2], + "to": [12, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [8.5, 0, 2.5]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2.5, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [14, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [13, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [12, 2, 3], + "to": [13, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [11, 0, 3.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [13, 2, 4.5], + "to": [14, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [12, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 180, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [20] + }, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [21, 22, 23, 24, 25, 26, 27, 28] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [29, 30, 31, 32] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [33, 34, 35, 36] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_nor.json b/src/main/resources/assets/bluepower/models/block/gate_nor.json new file mode 100644 index 000000000..4a19b2429 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_nor.json @@ -0,0 +1,263 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "bluestone_back": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4.5], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [8.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0, 2, 7], + "to": [6.49, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 5], + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 5, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 5], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 5], + "to": [9.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [7, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "RightWire", + "from": [9, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 180, "texture": "#bluestone_back"} + } + }, + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 270, "texture": "#bluestone_back"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [8, 9, 10, 11, 12] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [13] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [14] + }, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [15] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_not.json b/src/main/resources/assets/bluepower/models/block/gate_not.json new file mode 100644 index 000000000..c8f9e895e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_not.json @@ -0,0 +1,268 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_in": "bluepower:base/bluestone_off", + "bluestone_out": "bluepower:base/bluestone_on", + "gate": "bluepower:blocks/gates/gate", + "torch_middle": "bluepower:blocks/bluestone_torch_on" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 4.001], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4], + "to": [10, 2.25, 6], + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [4.5, 2, 6], + "to": [6.5, 2.25, 10], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.5, 2, 6], + "to": [11.5, 2.25, 10], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6], + "to": [8.5, 2.25, 9.5], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6], + "to": [9.5, 2.25, 9.5], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "FrontWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 4.5], + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 5.5, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 5.5, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [15, 2, 16, 7.5], "texture": "#bluestone_out"} + } + }, + { + "name": "FrontWire", + "from": [6.5, 2, 4.5], + "to": [9.5, 2.5, 5.5], + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_out"} + } + }, + { + "name": "LeftBase", + "from": [0, 2, 7], + "to": [4.49, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.49, 2, 7], + "to": [15.98, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [5, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#bluestone_out"} + } + }, + { + "name": "LeftWire", + "from": [5, 2, 6.5], + "to": [6, 2.5, 9.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_out"} + } + }, + { + "name": "RightWire", + "from": [10, 2, 6.5], + "to": [11, 2.5, 9.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_out"} + } + }, + { + "name": "RightWire", + "from": [11, 2, 7.5], + "to": [16, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#bluestone_out"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + }, + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_in"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_in"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_in"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#bluestone_in"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_or.json b/src/main/resources/assets/bluepower/models/block/gate_or.json new file mode 100644 index 000000000..1aa7526fd --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_or.json @@ -0,0 +1,317 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off", + "bluestone_back": "bluepower:base/bluestone_off", + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 1.001], + "to": [8.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-0.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [8.5, 2, 1.001], + "to": [9.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 3], "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 4.001], + "to": [9, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 0.5], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [8.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0, 2, 7], + "to": [6.49, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + }, + { + "name": "Front1", + "from": [7, 2, 0.5], + "to": [9, 7, 4.5], + "shade": false, + "faces": { + "east": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "Front2", + "from": [6, 2, 1.5], + "to": [10, 7, 3.5], + "shade": false, + "faces": { + "north": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 3.5], + "to": [8.5, 2.5, 5], + "faces": { + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1.5], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 5], + "to": [9.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 1.5], + "to": [9, 6, 3.5], + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [7, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "RightWire", + "from": [9, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 180, "texture": "#bluestone_back"} + } + }, + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 270, "texture": "#bluestone_back"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [10, 11, 12, 13, 14, 15, 16, 17] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [18] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [19] + }, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [20] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_rs.json b/src/main/resources/assets/bluepower/models/block/gate_rs.json new file mode 100644 index 000000000..81c65d239 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_rs.json @@ -0,0 +1,578 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate", + "torch_front": "bluepower:blocks/bluestone_torch_on", + "bluestone_right": "bluepower:base/bluestone_on", + "torch_back": "bluepower:blocks/bluestone_torch_off", + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "FrontTorchBase", + "from": [6.5, 2, 1.5], + "to": [9, 2.25, 4.5], + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "BackTorchBase", + "from": [7, 2, 11.5], + "to": [9.5, 2.25, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 10.3]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.5, 2, 13.001], + "to": [11.5, 2.25, 14.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 9]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.5, 2, 12.001], + "to": [12.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [10.5, 2, 11.001], + "to": [13.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9, 2, 4.001], + "to": [13.5, 2.25, 5.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.5, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9, 2, 1.001], + "to": [11.5, 2.25, 2.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -3]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.5, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9, 2, 2.001], + "to": [12.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 3.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3.5, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.5, 2, 5.001], + "to": [13.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 6]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [13.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [1, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [4.5, 2, 1.999], + "to": [6.5, 2.25, 2.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [3.5, 2, 2.999], + "to": [6.5, 2.25, 3.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.5, 2, 3.999], + "to": [5.5, 2.25, 4.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.5, 2, 10.999], + "to": [7, 2.25, 11.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.5, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [4.5, 2, 13.999], + "to": [7, 2.25, 14.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [3.5, 2, 11.999], + "to": [7, 2.25, 13.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3.5, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.5, 2, 4.999], + "to": [4.5, 2.25, 10.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [0.02, 2, 7], + "to": [2.51, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "Torch_Back", + "from": [7, 2, 12], + "to": [9, 5, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [7, 2, 11], + "to": [9, 6, 15], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [6, 2, 12], + "to": [10, 6, 14], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 2], + "to": [9, 5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -5.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [7, 2, 1], + "to": [9, 6, 5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -5.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [6, 2, 2], + "to": [10, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -5.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "LeftWire", + "from": [5, 2, 2.5], + "to": [7, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -3]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [3, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [4, 2, 12.5], + "to": [5.5, 2.5, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 9]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1.5, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [4, 2, 11.5], + "to": [5, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [4, 2, 3.5], + "to": [5, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [5.5, 2, 11.5], + "to": [6.5, 2.5, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 9]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [3, 2, 8.5], + "to": [4, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [3, 2, 4.5], + "to": [4, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_left"} + } + }, + { + "name": "RightWire", + "from": [9, 2, 12.5], + "to": [11, 2.5, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [13, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [10.5, 2, 2.5], + "to": [12, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [11, 2, 3.5], + "to": [12, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [11, 2, 11.5], + "to": [12, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [9.5, 2, 1.5], + "to": [10.5, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [12, 2, 4.5], + "to": [13, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "RightWire", + "from": [12, 2, 8.5], + "to": [13, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + { + "name": "right_base", + "origin": [8, 8, 8], + "color": 0, + "children": [3, 4, 5, 6, 7, 8, 9, 10] + }, + { + "name": "left_base", + "origin": [8, 8, 8], + "color": 0, + "children": [11, 12, 13, 14, 15, 16, 17, 18] + }, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [19, 20, 21] + }, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [22, 23, 24] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [25, 26, 27, 28, 29, 30, 31, 32] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [33, 34, 35, 36, 37, 38, 39, 40] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_toggle.json b/src/main/resources/assets/bluepower/models/block/gate_toggle.json new file mode 100644 index 000000000..be3bf59dd --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_toggle.json @@ -0,0 +1,333 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "gate": "bluepower:blocks/gates/gate", + "base": "block/cobblestone", + "lever": "block/lever", + "bluestone_off": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on", + "torch_back": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [1.5, 2, 11.999], + "to": [4.5, 2.25, 14.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "LeverBase", + "from": [8.5, 2, 3.999], + "to": [13.5, 2.25, 11.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 8, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 8, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 8], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [1.5, 2, 1.499], + "to": [4.5, 2.25, 4.499], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [13.509, 2, 7], + "to": [15.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [1.5, 2, 6], + "to": [5.5, 2.25, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.02, 2, 8], + "to": [2.51, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [4.5, 2, 8], + "to": [8.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 6, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.02, 2, 7], + "to": [8.51, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 10.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 10.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 8.49, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "from": [9, 1.98, 4.5], + "to": [13, 3.98, 11.5], + "rotation": {"angle": 0, "axis": "x", "origin": [3, 2, -0.5]}, + "faces": { + "north": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "east": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "south": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "west": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "up": {"uv": [6, 6, 10, 13], "texture": "#base"} + } + }, + { + "from": [10, 2, 8.1], + "to": [12, 10, 10.1], + "rotation": {"angle": -45, "axis": "x", "origin": [11, 1, 9.1]}, + "faces": { + "north": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "east": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "south": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "west": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "up": {"uv": [7, 6, 9, 8], "texture": "#lever"} + } + }, + { + "name": "LeftWire", + "from": [5, 2, 7.5], + "to": [9, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "LeftWire", + "from": [2, 2, 6.5], + "to": [5, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [2, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "RightWire", + "from": [13, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [9.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "Torch_Back", + "from": [2, 2, 12.5], + "to": [4, 5, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, 5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [2, 2, 11.5], + "to": [4, 6, 15.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, 5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [1, 2, 12.5], + "to": [5, 6, 14.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, 5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Torch_Front", + "from": [2, 2, 2], + "to": [4, 5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, -5.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [2, 2, 1], + "to": [4, 6, 5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, -5.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [1, 2, 2], + "to": [5, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, -5.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + { + "name": "lever_front", + "origin": [8, 8, 8], + "color": 0, + "children": [9, 10] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [11, 12, 13] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [14] + }, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [15, 16, 17] + }, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [18, 19, 20] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_xnor.json b/src/main/resources/assets/bluepower/models/block/gate_xnor.json new file mode 100644 index 000000000..2267f88be --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_xnor.json @@ -0,0 +1,684 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate", + "torch_on": "bluepower:blocks/bluestone_torch_on", + "bluestone_on": "bluepower:base/bluestone_on", + "bluestone_off": "bluepower:base/bluestone_off", + "torch_off": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [3.5, 2, 4.001], + "to": [12.5, 2.25, 5.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 9, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [4.5, 2, 3.001], + "to": [11.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-2.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 7, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 3.001], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -4]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [2.5, 2, 5.001], + "to": [6.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [9.5, 2, 5.001], + "to": [13.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.5, 2, 12.001], + "to": [6.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 12.001], + "to": [12.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.5, 2, 11.001], + "to": [6.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 11.001], + "to": [13.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [6, 2, 9.501], + "to": [10, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 0, 5.5]}, + "faces": { + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 10.001], + "to": [4.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [11.5, 2, 10.001], + "to": [14.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 9.001], + "to": [3.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [12.5, 2, 9.001], + "to": [14.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 11.001], + "to": [9.5, 2.25, 13.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 9.5]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [3.5, 2, 7.001], + "to": [12.5, 2.25, 9.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.001, 2, 7], + "to": [3.491, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [12.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 11], + "to": [9, 5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_on"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 10], + "to": [9, 6, 14], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_on"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_on"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 11], + "to": [10, 6, 13], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_on"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_on"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 9.5], + "to": [9.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "AcrossWire", + "from": [5.5, 2, 7.5], + "to": [7.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "AcrossWire", + "from": [8.5, 2, 7.5], + "to": [10.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 8.5], + "to": [8.5, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 3], + "to": [8.5, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [0, 0, 0.5, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 0.5, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 4.5], + "to": [5, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 4.5], + "to": [12, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [5, 2, 3.5], + "to": [11, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -2]}, + "faces": { + "north": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [3, 2, 5.5], + "to": [6, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-0.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 5.5], + "to": [13, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 1], + "to": [9, 5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_on"} + } + }, + { + "name": "Front1", + "from": [7, 2, 0], + "to": [9, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_on"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_on"} + } + }, + { + "name": "Front2", + "from": [6, 2, 1], + "to": [10, 6, 3], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_on"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_on"} + } + }, + { + "name": "AcrossWire", + "from": [4, 2, 11.5], + "to": [7, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [0, 2, 7.5], + "to": [3.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [3, 2, 10.5], + "to": [4, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [2, 2, 8.5], + "to": [3, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [9, 2, 11.5], + "to": [12, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [12.5, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [12, 2, 10.5], + "to": [13, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [13, 2, 8.5], + "to": [14, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_off"} + } + }, + { + "name": "Torch_Left", + "from": [3.5, 2, 7], + "to": [5.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_off"} + } + }, + { + "name": "Left1", + "from": [3.5, 2, 6], + "to": [5.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_off"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_off"} + } + }, + { + "name": "Left2", + "from": [2.5, 2, 7], + "to": [6.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_off"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_off"} + } + }, + { + "name": "Torch_Right", + "from": [10.5, 2, 7], + "to": [12.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_off"} + } + }, + { + "name": "Right1", + "from": [10.5, 2, 6], + "to": [12.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_off"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_off"} + } + }, + { + "name": "Right2", + "from": [9.5, 2, 7], + "to": [13.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_off"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_off"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [19, 20, 21, 22, 23, 24, 25] + }, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [26, 27, 28, 29, 30, 31, 32, 33, 34] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [35, 36, 37, 38] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [39, 40, 41, 42] + }, + { + "name": "left_torch", + "origin": [8, 8, 8], + "color": 0, + "children": [43, 44, 45] + }, + { + "name": "right_torch", + "origin": [8, 8, 8], + "color": 0, + "children": [46, 47, 48] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_xor.json b/src/main/resources/assets/bluepower/models/block/gate_xor.json new file mode 100644 index 000000000..e75353bb3 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/gate_xor.json @@ -0,0 +1,654 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate", + "torch_on": "bluepower:blocks/bluestone_torch_on", + "bluestone_on": "bluepower:base/bluestone_on", + "bluestone_off": "bluepower:base/bluestone_off", + "torch_right": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [3.5, 2, 4.001], + "to": [12.5, 2.25, 5.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 9, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [4.5, 2, 3.001], + "to": [11.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-2.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 7, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 3.001], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -4]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [2.5, 2, 5.001], + "to": [6.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [9.5, 2, 5.001], + "to": [13.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.5, 2, 12.001], + "to": [6.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 12.001], + "to": [12.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.5, 2, 11.001], + "to": [6.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 11.001], + "to": [13.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [6, 2, 9.501], + "to": [10, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 0, 5.5]}, + "faces": { + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 10.001], + "to": [4.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [11.5, 2, 10.001], + "to": [14.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 9.001], + "to": [3.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [12.5, 2, 9.001], + "to": [14.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 11.001], + "to": [9.5, 2.25, 13.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 9.5]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [3.5, 2, 7.001], + "to": [12.5, 2.25, 9.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.001, 2, 7], + "to": [3.491, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [12.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 11], + "to": [9, 5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_on"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 10], + "to": [9, 6, 14], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_on"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_on"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 11], + "to": [10, 6, 13], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_on"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_on"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 9.5], + "to": [9.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "AcrossWire", + "from": [5.5, 2, 7.5], + "to": [7.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "AcrossWire", + "from": [8.5, 2, 7.5], + "to": [10.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 8.5], + "to": [8.5, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_on"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_on"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_on"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -3.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 3.5, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 3.5, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 3.5], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 4.5], + "to": [5, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 4.5], + "to": [12, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [5, 2, 3.5], + "to": [11, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -2]}, + "faces": { + "north": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [3, 2, 5.5], + "to": [6, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-0.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 5.5], + "to": [13, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [4, 2, 11.5], + "to": [7, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [0, 2, 7.5], + "to": [3.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [3, 2, 10.5], + "to": [4, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [2, 2, 8.5], + "to": [3, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [9, 2, 11.5], + "to": [12, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "AcrossWire", + "from": [12.5, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [12, 2, 10.5], + "to": [13, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_off"} + } + }, + { + "name": "TopWire", + "from": [13, 2, 8.5], + "to": [14, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_off"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_off"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_off"} + } + }, + { + "name": "Torch_Left", + "from": [3.5, 2, 7], + "to": [5.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_right"} + } + }, + { + "name": "Left1", + "from": [3.5, 2, 6], + "to": [5.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Left2", + "from": [2.5, 2, 7], + "to": [6.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Torch_Right", + "from": [10.5, 2, 7], + "to": [12.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_right"} + } + }, + { + "name": "Right1", + "from": [10.5, 2, 6], + "to": [12.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Right2", + "from": [9.5, 2, 7], + "to": [13.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + { + "name": "back", + "origin": [8, 8, 8], + "color": 0, + "children": [19, 20, 21, 22, 23, 24, 25] + }, + { + "name": "front", + "origin": [8, 8, 8], + "color": 0, + "children": [26, 27, 28, 29, 30, 31] + }, + { + "name": "left", + "origin": [8, 8, 8], + "color": 0, + "children": [32, 33, 34, 35] + }, + { + "name": "right", + "origin": [8, 8, 8], + "color": 0, + "children": [36, 37, 38, 39] + }, + { + "name": "left_torch", + "origin": [8, 8, 8], + "color": 0, + "children": [40, 41, 42] + }, + { + "name": "right_torch", + "origin": [8, 8, 8], + "color": 0, + "children": [43, 44, 45] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_back.json b/src/main/resources/assets/bluepower/models/block/nand_gate/back.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_back.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/back.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_back_on.json b/src/main/resources/assets/bluepower/models/block/nand_gate/back_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_nand_back_on.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/back_on.json index 7d4551b29..d5f798088 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_back_on.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/back_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_back", + "parent": "bluepower:block/nand_gate/back", "textures": { "bluestone_back": "bluepower:base/bluestone_on", "torch_middle": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_back_on_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/back_on_z.json similarity index 74% rename from src/main/resources/assets/bluepower/models/block/gate_nand_back_on_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/back_on_z.json index 7c56fdbea..3e5824b48 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_back_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/back_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_back_z", + "parent": "bluepower:block/nand_gate/back_z", "textures": { "bluestone_back": "bluepower:base/bluestone_on", "torch_middle": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_back_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/back_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_back_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/back_z.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_blank.json b/src/main/resources/assets/bluepower/models/block/nand_gate/blank.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_blank.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/blank.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_blank_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/blank_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_blank_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/blank_z.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_front.json b/src/main/resources/assets/bluepower/models/block/nand_gate/front.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_front.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/front.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_front_on.json b/src/main/resources/assets/bluepower/models/block/nand_gate/front_on.json similarity index 63% rename from src/main/resources/assets/bluepower/models/block/gate_nand_front_on.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/front_on.json index 06cd5b4f4..5c1611d15 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_front_on.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/front_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_front", + "parent": "bluepower:block/nand_gate/front", "textures": { "bluestone_front": "bluepower:base/bluestone_on" } diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_front_on_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/front_on_z.json similarity index 62% rename from src/main/resources/assets/bluepower/models/block/gate_nand_front_on_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/front_on_z.json index 1dee5b20b..400374d23 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_front_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/front_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_front_z", + "parent": "bluepower:block/nand_gate/front_z", "textures": { "bluestone_front": "bluepower:base/bluestone_on" } diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_front_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/front_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_front_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/front_z.json diff --git a/src/main/resources/assets/bluepower/models/block/nand_gate/full.json b/src/main/resources/assets/bluepower/models/block/nand_gate/full.json new file mode 100644 index 000000000..0d38ea5a0 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/nand_gate/blank", + { + "model": "bluepower:block/nand_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/nand_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/nand_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/nand_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/nand_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/nand_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/nand_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/nand_gate/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nand_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/full_z.json new file mode 100644 index 000000000..644c5dc50 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/nand_gate/blank_z", + { + "model": "bluepower:block/nand_gate/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/nand_gate/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/nand_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/nand_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/nand_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/nand_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/nand_gate/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/nand_gate/right_on_z", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_left.json b/src/main/resources/assets/bluepower/models/block/nand_gate/left.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_left.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/left.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_left_on.json b/src/main/resources/assets/bluepower/models/block/nand_gate/left_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_nand_left_on.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/left_on.json index 9cf7d5bf6..d6904e687 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_left_on.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/left_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_left", + "parent": "bluepower:block/nand_gate/left", "textures": { "bluestone_left": "bluepower:base/bluestone_on", "torch_left": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_left_on_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/left_on_z.json similarity index 74% rename from src/main/resources/assets/bluepower/models/block/gate_nand_left_on_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/left_on_z.json index fbc5dccf8..3d51511e2 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_left_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/left_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_left_z", + "parent": "bluepower:block/nand_gate/left_z", "textures": { "bluestone_left": "bluepower:base/bluestone_on", "torch_left": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_left_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/left_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_left_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/left_z.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_right.json b/src/main/resources/assets/bluepower/models/block/nand_gate/right.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_right.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/right.json diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_right_on.json b/src/main/resources/assets/bluepower/models/block/nand_gate/right_on.json similarity index 75% rename from src/main/resources/assets/bluepower/models/block/gate_nand_right_on.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/right_on.json index bf193fff0..a0a7f7751 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_right_on.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/right_on.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_right", + "parent": "bluepower:block/nand_gate/right", "textures": { "bluestone_right": "bluepower:base/bluestone_on", "torch_right": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_right_on_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/right_on_z.json similarity index 74% rename from src/main/resources/assets/bluepower/models/block/gate_nand_right_on_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/right_on_z.json index f695dd787..449150067 100644 --- a/src/main/resources/assets/bluepower/models/block/gate_nand_right_on_z.json +++ b/src/main/resources/assets/bluepower/models/block/nand_gate/right_on_z.json @@ -1,5 +1,5 @@ { - "parent": "bluepower:block/gate_nand_right_z", + "parent": "bluepower:block/nand_gate/right_z", "textures": { "bluestone_right": "bluepower:base/bluestone_on", "torch_right": "bluepower:blocks/bluestone_torch_off" diff --git a/src/main/resources/assets/bluepower/models/block/gate_nand_right_z.json b/src/main/resources/assets/bluepower/models/block/nand_gate/right_z.json similarity index 100% rename from src/main/resources/assets/bluepower/models/block/gate_nand_right_z.json rename to src/main/resources/assets/bluepower/models/block/nand_gate/right_z.json diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/back.json b/src/main/resources/assets/bluepower/models/block/nor_gate/back.json new file mode 100644 index 000000000..28aff17ae --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/back.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_back": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 270, "texture": "#bluestone_back"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/back_on.json b/src/main/resources/assets/bluepower/models/block/nor_gate/back_on.json new file mode 100644 index 000000000..a7b7b7fe2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/back_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/nor_gate/back", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/blank.json b/src/main/resources/assets/bluepower/models/block/nor_gate/blank.json new file mode 100644 index 000000000..49559c09c --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/blank.json @@ -0,0 +1,136 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4.5], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [8.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0, 2, 7], + "to": [6.49, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/blank_z.json b/src/main/resources/assets/bluepower/models/block/nor_gate/blank_z.json new file mode 100644 index 000000000..747daec31 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/blank_z.json @@ -0,0 +1,139 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0.001], + "to": [16, 2, 16.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [11.499, 2, 7], + "to": [15.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [9.5, 2, 6], + "to": [11.5, 2.25, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [9.5, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 8.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [7, 2, 0], + "to": [9, 2.25, 6.49], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [7, 2, 9.49], + "to": [9, 2.25, 15.98], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [0.01, 2, 7], + "to": [6.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "rotation": 90, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/front.json b/src/main/resources/assets/bluepower/models/block/nor_gate/front.json new file mode 100644 index 000000000..9ce20091e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/front.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_off", + "bluestone_front": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 0.5], + "to": [8.5, 2.5, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -3]}, + "faces": { + "east": {"uv": [0, 0, 4.5, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 4.5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 4.5], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 5], + "to": [9.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/front_on.json b/src/main/resources/assets/bluepower/models/block/nor_gate/front_on.json new file mode 100644 index 000000000..a678e21f2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/front_on.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/nor_gate/front", + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/front_on_z.json b/src/main/resources/assets/bluepower/models/block/nor_gate/front_on_z.json new file mode 100644 index 000000000..32e66a621 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/front_on_z.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/nor_gate/front_z", + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/front_z.json b/src/main/resources/assets/bluepower/models/block/nor_gate/front_z.json new file mode 100644 index 000000000..130210349 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/front_z.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_off", + "bluestone_front": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Middle1", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_middle"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 7.5], + "to": [15.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4.5, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 4.5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 4.5], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 6.5], + "to": [11, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/full.json b/src/main/resources/assets/bluepower/models/block/nor_gate/full.json new file mode 100644 index 000000000..f8e939252 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/nor_gate/blank", + { + "model": "bluepower:block/nor_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/nor_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/nor_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/nor_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/nor_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/nor_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/nor_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/nor_gate/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/nor_gate/full_z.json new file mode 100644 index 000000000..2d7e06e69 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/nor_gate/blank_z", + { + "model": "bluepower:block/nor_gate/left", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/nor_gate/left_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/nor_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/nor_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/nor_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/nor_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/nor_gate/back", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/nor_gate/back_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/left.json b/src/main/resources/assets/bluepower/models/block/nor_gate/left.json new file mode 100644 index 000000000..534b6d3ad --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/left.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [7, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 7, 1], "texture": "#bluestone_left"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/left_on.json b/src/main/resources/assets/bluepower/models/block/nor_gate/left_on.json new file mode 100644 index 000000000..b9698fd35 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/nor_gate/left", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/left_on_z.json b/src/main/resources/assets/bluepower/models/block/nor_gate/left_on_z.json new file mode 100644 index 000000000..3d87c0b77 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/nor_gate/left_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/left_z.json b/src/main/resources/assets/bluepower/models/block/nor_gate/left_z.json new file mode 100644 index 000000000..04b23b1d6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/left_z.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 90, "texture": "#bluestone_left"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/right.json b/src/main/resources/assets/bluepower/models/block/nor_gate/right.json new file mode 100644 index 000000000..e0158c590 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/right.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "RightWire", + "from": [9, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 180, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/nor_gate/right_on.json b/src/main/resources/assets/bluepower/models/block/nor_gate/right_on.json new file mode 100644 index 000000000..c0f9b1207 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/nor_gate/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/nor_gate/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/back.json b/src/main/resources/assets/bluepower/models/block/not_gate/back.json new file mode 100644 index 000000000..124303c21 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/back.json @@ -0,0 +1,51 @@ +{ + "ambientocclusion": false, + "textures": { + "bluestone_in": "bluepower:base/bluestone_off", + "torch_middle": "bluepower:blocks/bluestone_torch_on" + }, + "elements": [ + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_in"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_in"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_in"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#bluestone_in"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/back_on.json b/src/main/resources/assets/bluepower/models/block/not_gate/back_on.json new file mode 100644 index 000000000..684a5299d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/back_on.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/not_gate/back", + "textures": { + "bluestone_in": "bluepower:base/bluestone_on", + "torch_middle": "bluepower:blocks/bluestone_torch_off" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/back_on_z.json b/src/main/resources/assets/bluepower/models/block/not_gate/back_on_z.json new file mode 100644 index 000000000..1d99240f1 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/back_on_z.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/not_gate/back_z", + "textures": { + "bluestone_in": "bluepower:base/bluestone_on", + "torch_middle": "bluepower:blocks/bluestone_torch_off" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/back_z.json b/src/main/resources/assets/bluepower/models/block/not_gate/back_z.json new file mode 100644 index 000000000..032dc491e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/back_z.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_in": "bluepower:base/bluestone_off", + "torch_middle": "bluepower:blocks/bluestone_torch_on" + }, + "elements": [ + { + "name": "BackWire", + "from": [0, 2, 7.5], + "to": [7, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_in"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_in"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_in"}, + "up": {"uv": [0, 0, 1, 7], "rotation": 90, "texture": "#bluestone_in"} + } + }, + { + "name": "Middle1", + "from": [5.5, 2, 6.5], + "to": [9.5, 6, 8.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 7.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6.5, 2, 5.5], + "to": [8.5, 6, 9.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 7.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [6.5, 2, 6.5], + "to": [8.5, 5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 7.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_middle"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/blank.json b/src/main/resources/assets/bluepower/models/block/not_gate/blank.json new file mode 100644 index 000000000..71c84c3c4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/blank.json @@ -0,0 +1,155 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 4.001], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4], + "to": [10, 2.25, 6], + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [4.5, 2, 6], + "to": [6.5, 2.25, 10], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.5, 2, 6], + "to": [11.5, 2.25, 10], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6], + "to": [8.5, 2.25, 9.5], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6], + "to": [9.5, 2.25, 9.5], + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0, 2, 7], + "to": [4.49, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.49, 2, 7], + "to": [15.98, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/blank_z.json b/src/main/resources/assets/bluepower/models/block/not_gate/blank_z.json new file mode 100644 index 000000000..f12a64c9f --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/blank_z.json @@ -0,0 +1,165 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0.001], + "to": [16, 2, 16.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [11.999, 2, 7], + "to": [15.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [10, 2, 6], + "to": [12, 2.25, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [6, 2, 9.5], + "to": [10, 2.25, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [10, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 8.5], + "to": [10, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [7, 2, 0], + "to": [9, 2.25, 4.49], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [7, 2, 11.49], + "to": [9, 2.25, 15.98], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [0.01, 2, 7], + "to": [6.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "rotation": 90, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/front.json b/src/main/resources/assets/bluepower/models/block/not_gate/front.json new file mode 100644 index 000000000..9d32c6be4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/front.json @@ -0,0 +1,31 @@ +{ + "ambientocclusion": false, + "textures": { + "bluestone_out": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "FrontWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 4.5], + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 5.5, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 5.5, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [15, 2, 16, 7.5], "texture": "#bluestone_out"} + } + }, + { + "name": "FrontWire", + "from": [6.5, 2, 4.5], + "to": [9.5, 2.5, 5.5], + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_out"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/front_on.json b/src/main/resources/assets/bluepower/models/block/not_gate/front_on.json new file mode 100644 index 000000000..1a463e639 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/front_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/not_gate/front", + "textures": { + "bluestone_out": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/full.json b/src/main/resources/assets/bluepower/models/block/not_gate/full.json new file mode 100644 index 000000000..c1a5e3109 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/not_gate/blank", + { + "model": "bluepower:block/not_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/not_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/not_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/not_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/not_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/not_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/not_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/not_gate/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/not_gate/full_z.json new file mode 100644 index 000000000..b7de6bdd4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/not_gate/blank_z", + { + "model": "bluepower:block/not_gate/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/not_gate/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/not_gate/right", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/not_gate/right_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/not_gate/front", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/not_gate/front_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/not_gate/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/not_gate/right_on_z", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/left.json b/src/main/resources/assets/bluepower/models/block/not_gate/left.json new file mode 100644 index 000000000..e59b026f2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/left.json @@ -0,0 +1,31 @@ +{ + "ambientocclusion": false, + "textures": { + "bluestone_out": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [5, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#bluestone_out"} + } + }, + { + "name": "LeftWire", + "from": [5, 2, 6.5], + "to": [6, 2.5, 9.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_out"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/left_on.json b/src/main/resources/assets/bluepower/models/block/not_gate/left_on.json new file mode 100644 index 000000000..78da29bc2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/not_gate/left", + "textures": { + "bluestone_out": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/right.json b/src/main/resources/assets/bluepower/models/block/not_gate/right.json new file mode 100644 index 000000000..9d4d72ef6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/right.json @@ -0,0 +1,31 @@ +{ + "ambientocclusion": false, + "textures": { + "bluestone_out": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "RightWire", + "from": [10, 2, 6.5], + "to": [11, 2.5, 9.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_out"} + } + }, + { + "name": "RightWire", + "from": [11, 2, 7.5], + "to": [16, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#bluestone_out"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/right_on.json b/src/main/resources/assets/bluepower/models/block/not_gate/right_on.json new file mode 100644 index 000000000..3e2de6203 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/not_gate/right", + "textures": { + "bluestone_out": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/right_on_z.json b/src/main/resources/assets/bluepower/models/block/not_gate/right_on_z.json new file mode 100644 index 000000000..876c8e63c --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/right_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/not_gate/right_z", + "textures": { + "bluestone_out": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/not_gate/right_z.json b/src/main/resources/assets/bluepower/models/block/not_gate/right_z.json new file mode 100644 index 000000000..26dd50691 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/not_gate/right_z.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_out": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "RightWire", + "from": [6.5, 2, 10], + "to": [9.5, 2.5, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "east": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#bluestone_out"} + } + }, + { + "name": "RightWire", + "from": [7.5, 2, 11], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_out"}, + "west": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_out"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#bluestone_out"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/back.json b/src/main/resources/assets/bluepower/models/block/or_gate/back.json new file mode 100644 index 000000000..28aff17ae --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/back.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_back": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "BackWire", + "from": [7.5, 2, 9], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 270, "texture": "#bluestone_back"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/back_on.json b/src/main/resources/assets/bluepower/models/block/or_gate/back_on.json new file mode 100644 index 000000000..42a7437f8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/back_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/or_gate/back", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/blank.json b/src/main/resources/assets/bluepower/models/block/or_gate/blank.json new file mode 100644 index 000000000..43b90985f --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/blank.json @@ -0,0 +1,160 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0.001, 0, 0], + "to": [16.001, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 1.001], + "to": [8.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-0.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [8.5, 2, 1.001], + "to": [9.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 3], "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [7, 2, 4.001], + "to": [9, 2.25, 4.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 0.5], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [6, 2, 4.5], + "to": [10, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [8.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [8.5, 2, 6.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [0, 2, 7], + "to": [6.49, 2.25, 9], + "faces": { + "north": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 9.5], + "to": [9, 2.25, 15.99], + "faces": { + "east": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/blank_z.json b/src/main/resources/assets/bluepower/models/block/or_gate/blank_z.json new file mode 100644 index 000000000..dc2e56ccc --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/blank_z.json @@ -0,0 +1,163 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0.001], + "to": [16, 2, 16.001], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [11.999, 2, 6.5], + "to": [14.999, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [11.999, 2, 8.5], + "to": [14.999, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 3], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontBase", + "from": [11.499, 2, 7], + "to": [11.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 0.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [9.5, 2, 6], + "to": [11.5, 2.25, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 6.5], + "to": [9.5, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 4], "texture": "#gate"} + } + }, + { + "name": "CenterBase", + "from": [6.5, 2, 8.5], + "to": [9.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 0.5, 4], "texture": "#gate"} + } + }, + { + "name": "LeftBase", + "from": [7, 2, 0], + "to": [9, 2.25, 6.49], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 0], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [7, 2, 9.49], + "to": [9, 2.25, 15.98], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [0.01, 2, 7], + "to": [6.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 6.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6.5], "rotation": 90, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/front.json b/src/main/resources/assets/bluepower/models/block/or_gate/front.json new file mode 100644 index 000000000..5c3578528 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/front.json @@ -0,0 +1,121 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Middle1", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_middle"} + } + }, + { + "name": "Front1", + "from": [7, 2, 0.5], + "to": [9, 7, 4.5], + "shade": false, + "faces": { + "east": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "Front2", + "from": [6, 2, 1.5], + "to": [10, 7, 3.5], + "shade": false, + "faces": { + "north": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 3.5], + "to": [8.5, 2.5, 5], + "faces": { + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1.5], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 5], + "to": [9.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 1.5], + "to": [9, 6, 3.5], + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/front_on.json b/src/main/resources/assets/bluepower/models/block/or_gate/front_on.json new file mode 100644 index 000000000..9135557eb --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/front_on.json @@ -0,0 +1,8 @@ +{ + "parent": "bluepower:block/or_gate/front", + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_off", + "bluestone_front": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/front_on_z.json b/src/main/resources/assets/bluepower/models/block/or_gate/front_on_z.json new file mode 100644 index 000000000..e8e7b9996 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/front_on_z.json @@ -0,0 +1,8 @@ +{ + "parent": "bluepower:block/or_gate/front_z", + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_off", + "bluestone_front": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/front_z.json b/src/main/resources/assets/bluepower/models/block/or_gate/front_z.json new file mode 100644 index 000000000..7032f86dc --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/front_z.json @@ -0,0 +1,125 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_middle": "bluepower:blocks/bluestone_torch_on", + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Middle1", + "from": [6, 2, 7], + "to": [10, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Middle2", + "from": [7, 2, 6], + "to": [9, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_middle"} + } + }, + { + "name": "Torch_Middle", + "from": [7, 2, 7], + "to": [9, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_middle"} + } + }, + { + "name": "Front1", + "from": [11.5, 2, 7], + "to": [15.5, 7, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "Front2", + "from": [12.5, 2, 6], + "to": [14.5, 7, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 10], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 10], "texture": "#torch_front"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 7.5], + "to": [12.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1.5], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 6.5], + "to": [11, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 9, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [12.5, 2, 7], + "to": [14.5, 6, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_front"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/full.json b/src/main/resources/assets/bluepower/models/block/or_gate/full.json new file mode 100644 index 000000000..744827300 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/or_gate/blank", + { + "model": "bluepower:block/or_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/or_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/or_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/or_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/or_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/or_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/or_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/or_gate/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/or_gate/full_z.json new file mode 100644 index 000000000..3311c3841 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/or_gate/blank_z", + { + "model": "bluepower:block/or_gate/left", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/or_gate/left_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/or_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/or_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/or_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/or_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/or_gate/back", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/or_gate/back_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/left.json b/src/main/resources/assets/bluepower/models/block/or_gate/left.json new file mode 100644 index 000000000..534b6d3ad --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/left.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [7, 2.5, 8.5], + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 7, 1], "texture": "#bluestone_left"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/left_on.json b/src/main/resources/assets/bluepower/models/block/or_gate/left_on.json new file mode 100644 index 000000000..3bbb22e46 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/or_gate/left", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/left_on_z.json b/src/main/resources/assets/bluepower/models/block/or_gate/left_on_z.json new file mode 100644 index 000000000..7041931d3 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/or_gate/left_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/left_z.json b/src/main/resources/assets/bluepower/models/block/or_gate/left_z.json new file mode 100644 index 000000000..04b23b1d6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/left_z.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "LeftWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 90, "texture": "#bluestone_left"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/right.json b/src/main/resources/assets/bluepower/models/block/or_gate/right.json new file mode 100644 index 000000000..e0158c590 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/right.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "RightWire", + "from": [9, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 7, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 7, 1], "rotation": 180, "texture": "#bluestone_right"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/or_gate/right_on.json b/src/main/resources/assets/bluepower/models/block/or_gate/right_on.json new file mode 100644 index 000000000..3e2ddf06a --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/or_gate/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/or_gate/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/back.json b/src/main/resources/assets/bluepower/models/block/rs_latch/back.json new file mode 100644 index 000000000..ee60a1967 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/back.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Back", + "from": [7, 2, 12], + "to": [9, 5, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [7, 2, 11], + "to": [9, 6, 15], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [6, 2, 12], + "to": [10, 6, 14], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/back_on.json b/src/main/resources/assets/bluepower/models/block/rs_latch/back_on.json new file mode 100644 index 000000000..673877ce2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/back_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/back", + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/back_on_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/back_on_z.json new file mode 100644 index 000000000..15ac0e37b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/back_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/back_z", + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/back_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/back_z.json new file mode 100644 index 000000000..6929ee11d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/back_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Back", + "from": [2, 2, 7], + "to": [4, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [1, 2, 7], + "to": [5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [2, 2, 6], + "to": [4, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/blank.json b/src/main/resources/assets/bluepower/models/block/rs_latch/blank.json new file mode 100644 index 000000000..d574732ca --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/blank.json @@ -0,0 +1,283 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "FrontTorchBase", + "from": [6.5, 2, 1.5], + "to": [9, 2.25, 4.5], + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "BackTorchBase", + "from": [7, 2, 11.5], + "to": [9.5, 2.25, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 10.3]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.5, 2, 13.001], + "to": [11.5, 2.25, 14.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 9]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9.5, 2, 12.001], + "to": [12.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [10.5, 2, 11.001], + "to": [13.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9, 2, 4.001], + "to": [13.5, 2.25, 5.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.5, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9, 2, 1.001], + "to": [11.5, 2.25, 2.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -3]}, + "faces": { + "north": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.5, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [9, 2, 2.001], + "to": [12.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 3.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3.5, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.5, 2, 5.001], + "to": [13.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 6]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [13.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [1, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [4.5, 2, 1.999], + "to": [6.5, 2.25, 2.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [3.5, 2, 2.999], + "to": [6.5, 2.25, 3.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.5, 2, 3.999], + "to": [5.5, 2.25, 4.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.5, 2, 10.999], + "to": [7, 2.25, 11.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.5, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [4.5, 2, 13.999], + "to": [7, 2.25, 14.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [3.5, 2, 11.999], + "to": [7, 2.25, 13.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3.5, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.5, 2, 4.999], + "to": [4.5, 2.25, 10.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [0.02, 2, 7], + "to": [2.51, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 180, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + { + "name": "right_base", + "origin": [8, 8, 8], + "color": 0, + "children": [3, 4, 5, 6, 7, 8, 9, 10] + }, + { + "name": "left_base", + "origin": [8, 8, 8], + "color": 0, + "children": [11, 12, 13, 14, 15, 16, 17, 18] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/blank_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/blank_z.json new file mode 100644 index 000000000..04f4e79ef --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/blank_z.json @@ -0,0 +1,285 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "FrontTorchBase", + "from": [11.5, 2, 6.5], + "to": [14.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackTorchBase", + "from": [1.5, 2, 7], + "to": [4.5, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [1.999, 2, 9.5], + "to": [2.999, 2.25, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.999, 2, 9.5], + "to": [3.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [3.999, 2, 10.5], + "to": [4.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [10.999, 2, 9], + "to": [11.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.5, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [13.999, 2, 9], + "to": [14.999, 2.25, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.999, 2, 9], + "to": [13.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3.5, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [4.999, 2, 11.5], + "to": [10.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [7, 2, 13.49], + "to": [9, 2.25, 15.98], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [13.001, 2, 4.5], + "to": [14.001, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [12.001, 2, 3.5], + "to": [13.001, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [11.001, 2, 2.5], + "to": [12.001, 2.25, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [4.001, 2, 2.5], + "to": [5.001, 2.25, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.5, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [1.001, 2, 4.5], + "to": [2.001, 2.25, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.5, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [2.001, 2, 3.5], + "to": [4.001, 2.25, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3.5, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [5.001, 2, 2.5], + "to": [11.001, 2.25, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "RightBase", + "from": [7, 2, 0.02], + "to": [9, 2.25, 2.51], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 270, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + }, + "groups": [ + 0, + 1, + 2, + { + "name": "right_base", + "origin": [8, 8, 8], + "color": 0, + "children": [3, 4, 5, 6, 7, 8, 9, 10] + }, + { + "name": "left_base", + "origin": [8, 8, 8], + "color": 0, + "children": [11, 12, 13, 14, 15, 16, 17, 18] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/front.json b/src/main/resources/assets/bluepower/models/block/rs_latch/front.json new file mode 100644 index 000000000..ba7866e41 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/front.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Front", + "from": [7, 2, 2], + "to": [9, 5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -5.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [7, 2, 1], + "to": [9, 6, 5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -5.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [6, 2, 2], + "to": [10, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -5.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/front_on.json b/src/main/resources/assets/bluepower/models/block/rs_latch/front_on.json new file mode 100644 index 000000000..7d48dcf54 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/front_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/front", + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/front_on_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/front_on_z.json new file mode 100644 index 000000000..31e09f1d2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/front_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/front_z", + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/front_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/front_z.json new file mode 100644 index 000000000..f91fb4178 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/front_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Front", + "from": [12, 2, 7], + "to": [14, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [11, 2, 7], + "to": [15, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [12, 2, 6], + "to": [14, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/full.json b/src/main/resources/assets/bluepower/models/block/rs_latch/full.json new file mode 100644 index 000000000..4ed0aac61 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/full.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/rs_latch/blank", + { + "model": "bluepower:block/rs_latch/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/rs_latch/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/rs_latch/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/rs_latch/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/rs_latch/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/rs_latch/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/rs_latch/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/rs_latch/right_on", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/full_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/full_z.json new file mode 100644 index 000000000..70a3223a6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/full_z.json @@ -0,0 +1,55 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/rs_latch/blank_z", + { + "model": "bluepower:block/rs_latch/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/rs_latch/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/rs_latch/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/rs_latch/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/rs_latch/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/rs_latch/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/rs_latch/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/rs_latch/right_on_z", + "when": { + "powered_right": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/left.json b/src/main/resources/assets/bluepower/models/block/rs_latch/left.json new file mode 100644 index 000000000..5a58fb934 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/left.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [5, 2, 2.5], + "to": [7, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -3]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "AcrossWire", + "from": [0, 2, 7.5], + "to": [3, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 12.5], + "to": [5.5, 2.5, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 9]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1.5, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 11.5], + "to": [5, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 3.5], + "to": [5, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [5.5, 2, 11.5], + "to": [6.5, 2.5, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 9]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [3, 2, 8.5], + "to": [4, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [3, 2, 4.5], + "to": [4, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/left_on.json b/src/main/resources/assets/bluepower/models/block/rs_latch/left_on.json new file mode 100644 index 000000000..128ea1df7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/left", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/left_on_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/left_on_z.json new file mode 100644 index 000000000..7d0709a57 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/left_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/left_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/left_z.json new file mode 100644 index 000000000..7dac6dbc8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/left_z.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [12.5, 2, 5], + "to": [13.5, 2.5, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [2.5, 2, 4], + "to": [3.5, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1.5, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [3.5, 2, 4], + "to": [4.5, 2.5, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [11.5, 2, 4], + "to": [12.5, 2.5, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [1.5, 2, 5.5], + "to": [4.5, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [4.5, 2, 3], + "to": [7.5, 2.5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [8.5, 2, 3], + "to": [11.5, 2.5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/right.json b/src/main/resources/assets/bluepower/models/block/rs_latch/right.json new file mode 100644 index 000000000..101ec52ab --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/right.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [9, 2, 12.5], + "to": [11, 2.5, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "AcrossWire", + "from": [13, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [10.5, 2, 2.5], + "to": [12, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1.5, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 3.5], + "to": [12, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 11.5], + "to": [12, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [9.5, 2, 1.5], + "to": [10.5, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [12, 2, 4.5], + "to": [13, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [12, 2, 8.5], + "to": [13, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/right_on.json b/src/main/resources/assets/bluepower/models/block/rs_latch/right_on.json new file mode 100644 index 000000000..74ce91b74 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/right_on_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/right_on_z.json new file mode 100644 index 000000000..02a84185e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/right_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/rs_latch/right_z", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/rs_latch/right_z.json b/src/main/resources/assets/bluepower/models/block/rs_latch/right_z.json new file mode 100644 index 000000000..48dbbaf4b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/rs_latch/right_z.json @@ -0,0 +1,113 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [2.5, 2, 9], + "to": [3.5, 2.5, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 13], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [12.5, 2, 10.5], + "to": [13.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1.5, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1.5, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [11.5, 2, 11], + "to": [12.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [3.5, 2, 11], + "to": [4.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [11.5, 2, 9.5], + "to": [14.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [8.5, 2, 12], + "to": [11.5, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [4.5, 2, 12], + "to": [7.5, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/back.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/back.json new file mode 100644 index 000000000..7d1f68bc2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/back.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Back", + "from": [2, 2, 12.5], + "to": [4, 5, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, 5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [2, 2, 11.5], + "to": [4, 6, 15.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, 5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [1, 2, 12.5], + "to": [5, 6, 14.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, 5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/back_on.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/back_on.json new file mode 100644 index 000000000..db47037dc --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/back_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/back", + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/back_on_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/back_on_z.json new file mode 100644 index 000000000..c9416f9c4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/back_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/back_z", + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/back_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/back_z.json new file mode 100644 index 000000000..ec7897496 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/back_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Back", + "from": [1.5, 2, 2], + "to": [3.5, 5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [0.5, 2, 2], + "to": [4.5, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Back", + "from": [1.5, 2, 1], + "to": [3.5, 6, 5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/blank.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/blank.json new file mode 100644 index 000000000..39ed7dd90 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/blank.json @@ -0,0 +1,149 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "gate": "bluepower:blocks/gates/gate", + "particle": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [1.5, 2, 11.999], + "to": [4.5, 2.25, 14.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "LeverBase", + "from": [8.5, 2, 3.999], + "to": [13.5, 2.25, 11.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 8, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 8, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 8], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [1.5, 2, 1.499], + "to": [4.5, 2.25, 4.499], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [13.509, 2, 7], + "to": [15.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [1.5, 2, 6], + "to": [5.5, 2.25, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.02, 2, 8], + "to": [2.51, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [4.5, 2, 8], + "to": [8.5, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 6, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 180, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.02, 2, 7], + "to": [8.51, 2.25, 8], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 10.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 10.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 8.49, 1], "rotation": 180, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/blank_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/blank_z.json new file mode 100644 index 000000000..a71919bba --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/blank_z.json @@ -0,0 +1,124 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [1.001, 2, 1.5], + "to": [4.001, 2.25, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "LeverBase", + "from": [4.001, 2, 8.5], + "to": [12.001, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 8, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 8, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 8], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [11.501, 2, 1.5], + "to": [14.501, 2.25, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 13.509], + "to": [9, 2.25, 15.999], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [9, 2, 1.5], + "to": [10, 2.25, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 0.02], + "to": [8, 2.25, 2.51], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2.49, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 4.5], + "to": [8, 2.25, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 6, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 270, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [8, 2, 0.02], + "to": [9, 2.25, 8.51], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 10.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 10.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 8.49, 1], "rotation": 270, "texture": "#gate"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/front.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/front.json new file mode 100644 index 000000000..0d552ba49 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/front.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Front", + "from": [2, 2, 2], + "to": [4, 5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, -5.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [2, 2, 1], + "to": [4, 6, 5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, -5.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [1, 2, 2], + "to": [5, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-5, 0, -5.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/front_on.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/front_on.json new file mode 100644 index 000000000..2f0785b4e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/front_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/front", + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/front_on_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/front_on_z.json new file mode 100644 index 000000000..983960ab7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/front_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/front_z", + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/front_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/front_z.json new file mode 100644 index 000000000..7e6ec596e --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/front_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_front": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Front", + "from": [12, 2, 2], + "to": [14, 5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [11, 2, 2], + "to": [15, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [12, 2, 1], + "to": [14, 6, 5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/full.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/full.json new file mode 100644 index 000000000..afc6c835c --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/full.json @@ -0,0 +1,69 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/toggle_latch/blank", + { + "model": "bluepower:block/toggle_latch/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/toggle_latch/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/toggle_latch/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/toggle_latch/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/toggle_latch/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/toggle_latch/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/toggle_latch/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/toggle_latch/right_on", + "when": { + "powered_right": true + } + }, + { + "model": "bluepower:block/toggle_latch/lever_front", + "when": { + "powered_front": true, + "powered_back": false + } + }, + { + "model": "bluepower:block/toggle_latch/lever_back", + "when": { + "powered_front": false, + "powered_back": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/full_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/full_z.json new file mode 100644 index 000000000..4e65f18d2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/full_z.json @@ -0,0 +1,69 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/toggle_latch/blank_z", + { + "model": "bluepower:block/toggle_latch/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/toggle_latch/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/toggle_latch/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/toggle_latch/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/toggle_latch/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/toggle_latch/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/toggle_latch/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/toggle_latch/right_on_z", + "when": { + "powered_right": true + } + }, + { + "model": "bluepower:block/toggle_latch/lever_front_z", + "when": { + "powered_front": true, + "powered_back": false + } + }, + { + "model": "bluepower:block/toggle_latch/lever_back_z", + "when": { + "powered_front": false, + "powered_back": true + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/left.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/left.json new file mode 100644 index 000000000..e46d8434a --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/left.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "LeftWire", + "from": [5, 2, 7.5], + "to": [9, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [2, 2, 6.5], + "to": [5, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-2, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [0, 2, 7.5], + "to": [2, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/left_on.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/left_on.json new file mode 100644 index 000000000..d83c545e7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/left", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/left_on_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/left_on_z.json new file mode 100644 index 000000000..3e1cb5d72 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/left_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/left_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/left_z.json new file mode 100644 index 000000000..553bd9c8c --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/left_z.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "LeftWire", + "from": [7.5, 2, 5], + "to": [8.5, 2.5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 4, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [8.5, 2, 2], + "to": [9.5, 2.5, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "LeftWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_back.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_back.json new file mode 100644 index 000000000..ace5a201d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_back.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "block/cobblestone", + "base": "block/cobblestone", + "lever": "block/lever" + }, + "elements": [ + { + "from": [9, 1.98, 4.5], + "to": [13, 3.98, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 1, -0.5]}, + "faces": { + "north": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "east": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "south": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "west": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "up": {"uv": [6, 6, 10, 13], "texture": "#base"} + } + }, + { + "from": [10, 2, 4.9], + "to": [12, 10, 6.9], + "rotation": {"angle": 45, "axis": "x", "origin": [11, 0, 5.9]}, + "faces": { + "north": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "east": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "south": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "west": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "up": {"uv": [7, 6, 9, 8], "texture": "#lever"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_back_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_back_z.json new file mode 100644 index 000000000..db4b75ea3 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_back_z.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "block/cobblestone", + "base": "block/cobblestone", + "lever": "block/lever" + }, + "elements": [ + { + "from": [4.5, 1.98, 9], + "to": [11.5, 3.98, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 7.5]}, + "faces": { + "north": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "east": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "south": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "west": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "up": {"uv": [6, 6, 10, 13], "rotation": 90, "texture": "#base"} + } + }, + { + "from": [0.1, -1, 10], + "to": [8.1, 1, 12], + "rotation": {"angle": -45, "axis": "z", "origin": [10.1, 0, 11]}, + "faces": { + "north": {"uv": [7, 6, 9, 16], "rotation": 90, "texture": "#lever"}, + "south": {"uv": [7, 6, 9, 16], "rotation": 270, "texture": "#lever"}, + "west": {"uv": [7, 6, 9, 8], "texture": "#lever"}, + "up": {"uv": [7, 6, 9, 16], "rotation": 270, "texture": "#lever"}, + "down": {"uv": [7, 6, 9, 16], "rotation": 270, "texture": "#lever"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_front.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_front.json new file mode 100644 index 000000000..fd582a9c8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_front.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "block/cobblestone", + "base": "block/cobblestone", + "lever": "block/lever" + }, + "elements": [ + { + "from": [9, 1.98, 4.5], + "to": [13, 3.98, 11.5], + "rotation": {"angle": 0, "axis": "x", "origin": [3, 2, -0.5]}, + "faces": { + "north": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "east": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "south": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "west": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "up": {"uv": [6, 6, 10, 13], "texture": "#base"} + } + }, + { + "from": [10, 2, 8.1], + "to": [12, 10, 10.1], + "rotation": {"angle": -45, "axis": "x", "origin": [11, 1, 9.1]}, + "faces": { + "north": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "east": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "south": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "west": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "up": {"uv": [7, 6, 9, 8], "texture": "#lever"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_front_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_front_z.json new file mode 100644 index 000000000..5d1100f5d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/lever_front_z.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "block/cobblestone", + "base": "block/cobblestone", + "lever": "block/lever" + }, + "elements": [ + { + "from": [4.5, 1.98, 9], + "to": [11.5, 3.98, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 2, 7.5]}, + "faces": { + "north": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "east": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "south": {"uv": [3, 0, 10, 2], "texture": "#base"}, + "west": {"uv": [6, 0, 10, 2], "texture": "#base"}, + "up": {"uv": [6, 6, 10, 13], "rotation": 90, "texture": "#base"} + } + }, + { + "from": [5.9, 2, 10], + "to": [7.9, 10, 12], + "rotation": {"angle": -45, "axis": "z", "origin": [6.9, 1, 11]}, + "faces": { + "north": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "east": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "south": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "west": {"uv": [7, 6, 9, 16], "texture": "#lever"}, + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#lever"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/right.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/right.json new file mode 100644 index 000000000..c9e119a76 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/right.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "RightWire", + "from": [13, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [9.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/right_on.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/right_on.json new file mode 100644 index 000000000..e9309bb36 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/right_on_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/right_on_z.json new file mode 100644 index 000000000..2066f14a5 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/right_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/toggle_latch/right_z", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/toggle_latch/right_z.json b/src/main/resources/assets/bluepower/models/block/toggle_latch/right_z.json new file mode 100644 index 000000000..ea5ce10e6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/toggle_latch/right_z.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "RightWire", + "from": [7.5, 2, 13], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/back.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/back.json new file mode 100644 index 000000000..d4d45e6c1 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/back.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off", + "bluestone_back": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "Torch_Middle", + "from": [7, 2, 11], + "to": [9, 5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_back"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 10], + "to": [9, 6, 14], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 11], + "to": [10, 6, 13], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 9.5], + "to": [9.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [5.5, 2, 7.5], + "to": [7.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [8.5, 2, 7.5], + "to": [10.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 8.5], + "to": [8.5, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/back_on.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/back_on.json new file mode 100644 index 000000000..7337f773b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/back_on.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/xnor_gate/back", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on", + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/back_on_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/back_on_z.json new file mode 100644 index 000000000..739817a6a --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/back_on_z.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/xnor_gate/back_z", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on", + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/back_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/back_z.json new file mode 100644 index 000000000..7806af305 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/back_z.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off", + "bluestone_back": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "Torch_Middle", + "from": [3, 2, 7], + "to": [5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_back"} + } + }, + { + "name": "Middle1", + "from": [2, 2, 7], + "to": [6, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Middle2", + "from": [3, 2, 6], + "to": [5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "AcrossWire", + "from": [5.5, 2, 6.5], + "to": [6.5, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 5.5], + "to": [8.5, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 8.5], + "to": [8.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#bluestone_back"} + } + }, + { + "name": "TopWire", + "from": [6.5, 2, 7.5], + "to": [7.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/blank.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/blank.json new file mode 100644 index 000000000..2eaa6e439 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/blank.json @@ -0,0 +1,280 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [3.5, 2, 4.001], + "to": [12.5, 2.25, 5.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 9, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [9.5, 2, 3.001], + "to": [11.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [4.5, 2, 3.001], + "to": [6.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-2.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [2.5, 2, 5.001], + "to": [6.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [9.5, 2, 5.001], + "to": [13.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.5, 2, 12.001], + "to": [6.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 12.001], + "to": [12.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.5, 2, 11.001], + "to": [6.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 11.001], + "to": [13.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [6, 2, 9.501], + "to": [10, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 0, 5.5]}, + "faces": { + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 10.001], + "to": [4.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [11.5, 2, 10.001], + "to": [14.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 9.001], + "to": [3.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [12.5, 2, 9.001], + "to": [14.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 1.001], + "to": [9.5, 2.25, 4.001], + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 11.001], + "to": [9.5, 2.25, 13.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 9.5]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [3.5, 2, 7.001], + "to": [12.5, 2.25, 9.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.001, 2, 7], + "to": [3.491, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [12.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/blank_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/blank_z.json new file mode 100644 index 000000000..528f8d6f1 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/blank_z.json @@ -0,0 +1,282 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [10.999, 2, 3.5], + "to": [11.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 9, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [11.999, 2, 9.5], + "to": [12.999, 2.25, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [11.999, 2, 4.5], + "to": [12.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [8.999, 2, 2.5], + "to": [10.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [8.999, 2, 9.5], + "to": [10.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.999, 2, 3.5], + "to": [3.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.999, 2, 9.5], + "to": [3.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.999, 2, 2.5], + "to": [4.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.999, 2, 9.5], + "to": [4.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [4.999, 2, 6], + "to": [6.499, 2.25, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [4.999, 2, 1.5], + "to": [5.999, 2.25, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [4.999, 2, 11.5], + "to": [5.999, 2.25, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [5.999, 2, 1.5], + "to": [6.999, 2.25, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [5.999, 2, 12.5], + "to": [6.999, 2.25, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [11.999, 2, 6.5], + "to": [14.999, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 7], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [2.499, 2, 6.5], + "to": [4.999, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.499, 2, 3.5], + "to": [8.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 6, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 3.491], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 12.49], + "to": [9, 2.25, 15.98], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/front.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/front.json new file mode 100644 index 000000000..055458a98 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/front.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "TopWire", + "from": [7.5, 2, 3], + "to": [8.5, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 0.5, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 0.5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 4.5], + "to": [5, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 4.5], + "to": [12, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [5, 2, 3.5], + "to": [11, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -2]}, + "faces": { + "north": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [3, 2, 5.5], + "to": [6, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-0.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 5.5], + "to": [13, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [7, 2, 1], + "to": [9, 5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [7, 2, 0], + "to": [9, 6, 4], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [6, 2, 1], + "to": [10, 6, 3], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/front_on.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/front_on.json new file mode 100644 index 000000000..bbc88dcab --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/front_on.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/xnor_gate/front", + "textures": { + "bluestone_front": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/front_on_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/front_on_z.json new file mode 100644 index 000000000..3ee357ce9 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/front_on_z.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/xnor_gate/front_z", + "textures": { + "bluestone_front": "bluepower:base/bluestone_off", + "torch_front": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/front_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/front_z.json new file mode 100644 index 000000000..4857cf5d9 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/front_z.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_front": "bluepower:base/bluestone_on", + "torch_front": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "TopWire", + "from": [12.5, 2, 7.5], + "to": [13, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 0.5, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 0.5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 0.5], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [10.5, 2, 4], + "to": [11.5, 2.5, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [10.5, 2, 11], + "to": [11.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [11.5, 2, 5], + "to": [12.5, 2.5, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 6, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [9.5, 2, 3], + "to": [10.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [9.5, 2, 10], + "to": [10.5, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "Torch_Front", + "from": [13, 2, 7], + "to": [15, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [12, 2, 7], + "to": [16, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + }, + { + "name": "Front", + "from": [13, 2, 6], + "to": [15, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_front"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/full.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/full.json new file mode 100644 index 000000000..8bc445c83 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/full.json @@ -0,0 +1,107 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/xnor_gate/blank", + { + "model": "bluepower:block/xnor_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/xnor_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/xnor_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/xnor_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/xnor_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/xnor_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/xnor_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/xnor_gate/right_on", + "when": { + "powered_right": true + } + }, + { + "model": "bluepower:block/xnor_gate/left_torch", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": true, + "powered_right": false + } + ] + } + }, + { + "model": "bluepower:block/xnor_gate/left_torch_on", + "when": { + "powered_left": false, + "powered_right": true + } + }, + { + "model": "bluepower:block/xnor_gate/right_torch", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": false, + "powered_right": true + } + ] + } + }, + { + "model": "bluepower:block/xnor_gate/right_torch_on", + "when": { + "powered_left": true, + "powered_right": false + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/full_z.json new file mode 100644 index 000000000..97689a9e3 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/full_z.json @@ -0,0 +1,107 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/xnor_gate/blank_z", + { + "model": "bluepower:block/xnor_gate/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/xnor_gate/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/xnor_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/xnor_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/xnor_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/xnor_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/xnor_gate/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/xnor_gate/right_on_z", + "when": { + "powered_right": true + } + }, + { + "model": "bluepower:block/xnor_gate/left_torch_z", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": true, + "powered_right": false + } + ] + } + }, + { + "model": "bluepower:block/xnor_gate/left_torch_on_Z", + "when": { + "powered_left": false, + "powered_right": true + } + }, + { + "model": "bluepower:block/xnor_gate/right_torch_z", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": false, + "powered_right": true + } + ] + } + }, + { + "model": "bluepower:block/xnor_gate/right_torch_on_z", + "when": { + "powered_left": true, + "powered_right": false + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left.json new file mode 100644 index 000000000..f40120f39 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [4, 2, 11.5], + "to": [7, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "AcrossWire", + "from": [0, 2, 7.5], + "to": [3.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [3, 2, 10.5], + "to": [4, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [2, 2, 8.5], + "to": [3, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_on.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_on.json new file mode 100644 index 000000000..f57bd6ab7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/left", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_on_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_on_z.json new file mode 100644 index 000000000..9c307a2f8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/left_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch.json new file mode 100644 index 000000000..a98b701ca --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Left", + "from": [3.5, 2, 7], + "to": [5.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_left"} + } + }, + { + "name": "Left1", + "from": [3.5, 2, 6], + "to": [5.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + }, + { + "name": "Left2", + "from": [2.5, 2, 7], + "to": [6.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_on.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_on.json new file mode 100644 index 000000000..1f9ed91b1 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/left_torch", + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_on_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_on_z.json new file mode 100644 index 000000000..ecff5d783 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/left_torch_z", + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_z.json new file mode 100644 index 000000000..3c1bce3c9 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_torch_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Left", + "from": [7, 2, 3.5], + "to": [9, 5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_left"} + } + }, + { + "name": "Left1", + "from": [6, 2, 3.5], + "to": [10, 6, 5.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + }, + { + "name": "Left2", + "from": [7, 2, 2.5], + "to": [9, 6, 6.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/left_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_z.json new file mode 100644 index 000000000..7622fc3a7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/left_z.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [3.5, 2, 4], + "to": [4.5, 2.5, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [4.5, 2, 3], + "to": [5.5, 2.5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [5.5, 2, 2], + "to": [7.5, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 2], "rotation": 90, "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right.json new file mode 100644 index 000000000..e90f05f49 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_off": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [9, 2, 11.5], + "to": [12, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_right"} + } + }, + { + "name": "AcrossWire", + "from": [12.5, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [12, 2, 10.5], + "to": [13, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [13, 2, 8.5], + "to": [14, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_on.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_on.json new file mode 100644 index 000000000..0d59150ab --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_on_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_on_z.json new file mode 100644 index 000000000..296ca09a6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/right_z", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch.json new file mode 100644 index 000000000..26913c481 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Right", + "from": [10.5, 2, 7], + "to": [12.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_right"} + } + }, + { + "name": "Right1", + "from": [10.5, 2, 6], + "to": [12.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Right2", + "from": [9.5, 2, 7], + "to": [13.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_on.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_on.json new file mode 100644 index 000000000..73f98bea2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/right_torch", + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_on_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_on_z.json new file mode 100644 index 000000000..a72f7524f --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xnor_gate/right_torch_z", + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_z.json new file mode 100644 index 000000000..39ac3c3e4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_torch_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Right", + "from": [7, 2, 10.5], + "to": [9, 5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_right"} + } + }, + { + "name": "Right1", + "from": [6, 2, 10.5], + "to": [10, 6, 12.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Right2", + "from": [7, 2, 9.5], + "to": [9, 6, 13.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xnor_gate/right_z.json b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_z.json new file mode 100644 index 000000000..00ebd68d8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xnor_gate/right_z.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [3.5, 2, 9], + "to": [4.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_right"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 12.5], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [4.5, 2, 12], + "to": [5.5, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [5.5, 2, 13], + "to": [7.5, 2.5, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 2], "rotation": 90, "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/back.json b/src/main/resources/assets/bluepower/models/block/xor_gate/back.json new file mode 100644 index 000000000..d4d45e6c1 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/back.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off", + "bluestone_back": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "Torch_Middle", + "from": [7, 2, 11], + "to": [9, 5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_back"} + } + }, + { + "name": "Middle1", + "from": [7, 2, 10], + "to": [9, 6, 14], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Middle2", + "from": [6, 2, 11], + "to": [10, 6, 13], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 3.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "AcrossWire", + "from": [6.5, 2, 9.5], + "to": [9.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 4]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [5.5, 2, 7.5], + "to": [7.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [8.5, 2, 7.5], + "to": [10.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#bluestone_back"} + } + }, + { + "name": "TopWire", + "from": [7.5, 2, 8.5], + "to": [8.5, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/back_on.json b/src/main/resources/assets/bluepower/models/block/xor_gate/back_on.json new file mode 100644 index 000000000..6f50e240d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/back_on.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/xor_gate/back", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on", + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/back_on_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/back_on_z.json new file mode 100644 index 000000000..357329d16 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/back_on_z.json @@ -0,0 +1,7 @@ +{ + "parent": "bluepower:block/xor_gate/back_z", + "textures": { + "bluestone_back": "bluepower:base/bluestone_on", + "torch_back": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/back_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/back_z.json new file mode 100644 index 000000000..7806af305 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/back_z.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_back": "bluepower:blocks/bluestone_torch_off", + "bluestone_back": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "Torch_Middle", + "from": [3, 2, 7], + "to": [5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_back"} + } + }, + { + "name": "Middle1", + "from": [2, 2, 7], + "to": [6, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "Middle2", + "from": [3, 2, 6], + "to": [5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_back"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_back"} + } + }, + { + "name": "AcrossWire", + "from": [5.5, 2, 6.5], + "to": [6.5, 2.5, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 5.5], + "to": [8.5, 2.5, 7.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#bluestone_back"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 8.5], + "to": [8.5, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#bluestone_back"} + } + }, + { + "name": "TopWire", + "from": [6.5, 2, 7.5], + "to": [7.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_back"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_back"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_back"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/blank.json b/src/main/resources/assets/bluepower/models/block/xor_gate/blank.json new file mode 100644 index 000000000..22f170a98 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/blank.json @@ -0,0 +1,267 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "faces": { + "north": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "east": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "south": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [3.5, 2, 4.001], + "to": [12.5, 2.25, 5.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 9, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [4.5, 2, 3.001], + "to": [11.5, 2.25, 4.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-2.5, 0, -1]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 7, 0.5], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 3.001], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -4]}, + "faces": { + "north": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [2.5, 2, 5.001], + "to": [6.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [9.5, 2, 5.001], + "to": [13.5, 2.25, 7.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.5, 2, 12.001], + "to": [6.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 12.001], + "to": [12.5, 2.25, 13.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.5, 2, 11.001], + "to": [6.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [9.5, 2, 11.001], + "to": [13.5, 2.25, 12.001], + "rotation": {"angle": 0, "axis": "y", "origin": [2.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [6, 2, 9.501], + "to": [10, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-1, 0, 5.5]}, + "faces": { + "east": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 10.001], + "to": [4.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [11.5, 2, 10.001], + "to": [14.5, 2.25, 11.001], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [1.5, 2, 9.001], + "to": [3.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [12.5, 2, 9.001], + "to": [14.5, 2.25, 10.001], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "east": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.5, 2, 11.001], + "to": [9.5, 2.25, 13.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 9.5]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [3.5, 2, 7.001], + "to": [12.5, 2.25, 9.501], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [0.001, 2, 7], + "to": [3.491, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [12.49, 2, 7], + "to": [15.98, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -0.5]}, + "faces": { + "north": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/blank_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/blank_z.json new file mode 100644 index 000000000..3a75e95c6 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/blank_z.json @@ -0,0 +1,268 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "particle": "bluepower:blocks/gates/gate", + "gate": "bluepower:blocks/gates/gate" + }, + "elements": [ + { + "name": "Base", + "from": [0, 0, 0], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 16], "rotation": 270, "texture": "#gate"}, + "east": {"uv": [0, 0, 16, 1], "rotation": 180, "texture": "#gate"}, + "south": {"uv": [15, 0, 16, 16], "rotation": 90, "texture": "#gate"}, + "west": {"uv": [0, 15, 16, 16], "texture": "#gate"}, + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [10.999, 2, 3.5], + "to": [11.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 9, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [11.999, 2, 4.5], + "to": [12.999, 2.25, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 7, 0.5], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [12.999, 2, 7], + "to": [15.999, 2.25, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 7, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 3], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [8.999, 2, 2.5], + "to": [10.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TopBase", + "from": [8.999, 2, 9.5], + "to": [10.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.999, 2, 3.5], + "to": [3.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [2.999, 2, 9.5], + "to": [3.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.999, 2, 2.5], + "to": [4.999, 2.25, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [3.999, 2, 9.5], + "to": [4.999, 2.25, 13.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 4, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [4.999, 2, 6], + "to": [6.499, 2.25, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1.5, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [4.999, 2, 1.5], + "to": [5.999, 2.25, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [4.999, 2, 11.5], + "to": [5.999, 2.25, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [5.999, 2, 1.5], + "to": [6.999, 2.25, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "BackBase", + "from": [5.999, 2, 12.5], + "to": [6.999, 2.25, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 2, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [2.499, 2, 6.5], + "to": [4.999, 2.25, 9.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 1, 6], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "TorchBase", + "from": [6.499, 2, 3.5], + "to": [8.999, 2.25, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 3, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 9, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 6, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 0.001], + "to": [9, 2.25, 3.491], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "east": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + }, + { + "name": "AcrossBase", + "from": [7, 2, 12.49], + "to": [9, 2.25, 15.98], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [0, 0, 3.49, 1.25], "texture": "#gate"}, + "south": {"uv": [0, 0, 2, 0.25], "texture": "#gate"}, + "west": {"uv": [0, 0, 3.49, 0.25], "texture": "#gate"}, + "up": {"uv": [0, 0, 4.99, 1], "rotation": 90, "texture": "#gate"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, -45, 0], + "translation": [0, 2.5, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 45, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "rotation": [0, -180, 0] + }, + "fixed": { + "rotation": [0, -180, 0] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/front.json b/src/main/resources/assets/bluepower/models/block/xor_gate/front.json new file mode 100644 index 000000000..06dee136b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/front.json @@ -0,0 +1,87 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_front": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "TopWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -3.5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 3.5, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 3.5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 3.5], "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [4, 2, 4.5], + "to": [5, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [11, 2, 4.5], + "to": [12, 2.5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, 1]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [5, 2, 3.5], + "to": [11, 2.5, 4.5], + "rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -2]}, + "faces": { + "north": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [3, 2, 5.5], + "to": [6, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-0.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [10, 2, 5.5], + "to": [13, 2.5, 6.5], + "rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/front_on.json b/src/main/resources/assets/bluepower/models/block/xor_gate/front_on.json new file mode 100644 index 000000000..8714454fd --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/front_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/front", + "textures": { + "bluestone_front": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/front_on_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/front_on_z.json new file mode 100644 index 000000000..f22883b37 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/front_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/front_z", + "textures": { + "bluestone_front": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/front_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/front_z.json new file mode 100644 index 000000000..7ff2839d4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/front_z.json @@ -0,0 +1,87 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_front": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "TopWire", + "from": [12.5, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 3.5, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 3.5, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 3.5], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [10.5, 2, 4], + "to": [11.5, 2.5, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "TopWire", + "from": [10.5, 2, 11], + "to": [11.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [11.5, 2, 5], + "to": [12.5, 2.5, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 6, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 6, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [9.5, 2, 3], + "to": [10.5, 2.5, 6], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + }, + { + "name": "AcrossWire", + "from": [9.5, 2, 10], + "to": [10.5, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_front"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_front"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_front"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/full.json b/src/main/resources/assets/bluepower/models/block/xor_gate/full.json new file mode 100644 index 000000000..41779024a --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/full.json @@ -0,0 +1,107 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/xor_gate/blank", + { + "model": "bluepower:block/xor_gate/back", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/xor_gate/back_on", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/xor_gate/front", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/xor_gate/front_on", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/xor_gate/left", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/xor_gate/left_on", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/xor_gate/right", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/xor_gate/right_on", + "when": { + "powered_right": true + } + }, + { + "model": "bluepower:block/xor_gate/left_torch", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": true, + "powered_right": false + } + ] + } + }, + { + "model": "bluepower:block/xor_gate/left_torch_on", + "when": { + "powered_left": false, + "powered_right": true + } + }, + { + "model": "bluepower:block/xor_gate/right_torch", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": false, + "powered_right": true + } + ] + } + }, + { + "model": "bluepower:block/xor_gate/right_torch_on", + "when": { + "powered_left": true, + "powered_right": false + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/full_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/full_z.json new file mode 100644 index 000000000..e318f7cfa --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/full_z.json @@ -0,0 +1,107 @@ +{ + "loader": "bluepower:gate", + "models": [ + "bluepower:block/xor_gate/blank_z", + { + "model": "bluepower:block/xor_gate/back_z", + "when": { + "powered_back": false + } + }, + { + "model": "bluepower:block/xor_gate/back_on_z", + "when": { + "powered_back": true + } + }, + { + "model": "bluepower:block/xor_gate/front_z", + "when": { + "powered_front": false + } + }, + { + "model": "bluepower:block/xor_gate/front_on_z", + "when": { + "powered_front": true + } + }, + { + "model": "bluepower:block/xor_gate/left_z", + "when": { + "powered_left": false + } + }, + { + "model": "bluepower:block/xor_gate/left_on_z", + "when": { + "powered_left": true + } + }, + { + "model": "bluepower:block/xor_gate/right_z", + "when": { + "powered_right": false + } + }, + { + "model": "bluepower:block/xor_gate/right_on_z", + "when": { + "powered_right": true + } + }, + { + "model": "bluepower:block/xor_gate/left_torch_z", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": true, + "powered_right": false + } + ] + } + }, + { + "model": "bluepower:block/xor_gate/left_torch_on_Z", + "when": { + "powered_left": false, + "powered_right": true + } + }, + { + "model": "bluepower:block/xor_gate/right_torch_z", + "when": { + "OR": [ + { + "powered_left": true, + "powered_right": true + }, + { + "powered_left": false, + "powered_right": false + }, + { + "powered_left": false, + "powered_right": true + } + ] + } + }, + { + "model": "bluepower:block/xor_gate/right_torch_on_z", + "when": { + "powered_left": true, + "powered_right": false + } + } + ], + "particle": "bluepower:blocks/gates/gate" +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left.json new file mode 100644 index 000000000..f40120f39 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [4, 2, 11.5], + "to": [7, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [0.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "AcrossWire", + "from": [0, 2, 7.5], + "to": [3.5, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [3, 2, 10.5], + "to": [4, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [2, 2, 8.5], + "to": [3, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_on.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_on.json new file mode 100644 index 000000000..56c674edf --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/left", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_on_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_on_z.json new file mode 100644 index 000000000..2a969cfbc --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/left_z", + "textures": { + "bluestone_left": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch.json new file mode 100644 index 000000000..a98b701ca --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Left", + "from": [3.5, 2, 7], + "to": [5.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_left"} + } + }, + { + "name": "Left1", + "from": [3.5, 2, 6], + "to": [5.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + }, + { + "name": "Left2", + "from": [2.5, 2, 7], + "to": [6.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [-3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_on.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_on.json new file mode 100644 index 000000000..dbd9444a2 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/left_torch", + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_on_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_on_z.json new file mode 100644 index 000000000..956b93d53 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/left_torch_z", + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_z.json new file mode 100644 index 000000000..3c1bce3c9 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_torch_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_left": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Left", + "from": [7, 2, 3.5], + "to": [9, 5, 5.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_left"} + } + }, + { + "name": "Left1", + "from": [6, 2, 3.5], + "to": [10, 6, 5.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + }, + { + "name": "Left2", + "from": [7, 2, 2.5], + "to": [9, 6, 6.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_left"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/left_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/left_z.json new file mode 100644 index 000000000..7622fc3a7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/left_z.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_left": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [3.5, 2, 4], + "to": [4.5, 2.5, 7], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 0], + "to": [8.5, 2.5, 3.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [4.5, 2, 3], + "to": [5.5, 2.5, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_left"} + } + }, + { + "name": "TopWire", + "from": [5.5, 2, 2], + "to": [7.5, 2.5, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_left"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_left"}, + "up": {"uv": [0, 0, 1, 2], "rotation": 90, "texture": "#bluestone_left"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right.json new file mode 100644 index 000000000..e90f05f49 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_off": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [9, 2, 11.5], + "to": [12, 2.5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 6]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_right"} + } + }, + { + "name": "AcrossWire", + "from": [12.5, 2, 7.5], + "to": [16, 2.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 2]}, + "faces": { + "north": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [12, 2, 10.5], + "to": [13, 2.5, 11.5], + "rotation": {"angle": 0, "axis": "y", "origin": [4.5, 0, 7]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [13, 2, 8.5], + "to": [14, 2.5, 10.5], + "rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, 5]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 2], "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_on.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_on.json new file mode 100644 index 000000000..31d2b8416 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/right", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_on_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_on_z.json new file mode 100644 index 000000000..8fe6c9627 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/right_z", + "textures": { + "bluestone_right": "bluepower:base/bluestone_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch.json new file mode 100644 index 000000000..26913c481 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Right", + "from": [10.5, 2, 7], + "to": [12.5, 5, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "texture": "#torch_right"} + } + }, + { + "name": "Right1", + "from": [10.5, 2, 6], + "to": [12.5, 6, 10], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Right2", + "from": [9.5, 2, 7], + "to": [13.5, 6, 9], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [3.5, 0, -0.5]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_on.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_on.json new file mode 100644 index 000000000..e56d20724 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_on.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/right_torch", + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_on_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_on_z.json new file mode 100644 index 000000000..861665e1b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_on_z.json @@ -0,0 +1,6 @@ +{ + "parent": "bluepower:block/xor_gate/right_torch_z", + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_on" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_z.json new file mode 100644 index 000000000..39ac3c3e4 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_torch_z.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "torch_right": "bluepower:blocks/bluestone_torch_off" + }, + "elements": [ + { + "name": "Torch_Right", + "from": [7, 2, 10.5], + "to": [9, 5, 12.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "up": {"uv": [7, 6, 9, 8], "rotation": 90, "texture": "#torch_right"} + } + }, + { + "name": "Right1", + "from": [6, 2, 10.5], + "to": [10, 6, 12.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "south": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + }, + { + "name": "Right2", + "from": [7, 2, 9.5], + "to": [9, 6, 13.5], + "shade": false, + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "east": {"uv": [6, 5, 10, 9], "texture": "#torch_right"}, + "west": {"uv": [6, 5, 10, 9], "texture": "#torch_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/block/xor_gate/right_z.json b/src/main/resources/assets/bluepower/models/block/xor_gate/right_z.json new file mode 100644 index 000000000..00ebd68d8 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/block/xor_gate/right_z.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.9.0", + "credit": "Made with Blockbench", + "ambientocclusion": false, + "textures": { + "bluestone_right": "bluepower:base/bluestone_off" + }, + "elements": [ + { + "name": "AcrossWire", + "from": [3.5, 2, 9], + "to": [4.5, 2.5, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_right"} + } + }, + { + "name": "AcrossWire", + "from": [7.5, 2, 12.5], + "to": [8.5, 2.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 3, 0.5], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 3, 1], "rotation": 90, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [4.5, 2, 12], + "to": [5.5, 2.5, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 1, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#bluestone_right"} + } + }, + { + "name": "TopWire", + "from": [5.5, 2, 13], + "to": [7.5, 2.5, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]}, + "faces": { + "north": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "east": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "south": {"uv": [0, 0, 2, 0.5], "texture": "#bluestone_right"}, + "west": {"uv": [0, 0, 1, 0.25], "texture": "#bluestone_right"}, + "up": {"uv": [0, 0, 1, 2], "rotation": 90, "texture": "#bluestone_right"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bluepower/models/item/gate_buffer.json b/src/main/resources/assets/bluepower/models/item/gate_buffer.json new file mode 100644 index 000000000..64006c88b --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_buffer.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_buffer" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_nor.json b/src/main/resources/assets/bluepower/models/item/gate_nor.json new file mode 100644 index 000000000..5aaf52bae --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_nor.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_nor" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_not.json b/src/main/resources/assets/bluepower/models/item/gate_not.json new file mode 100644 index 000000000..138267bea --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_not.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_not" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_or.json b/src/main/resources/assets/bluepower/models/item/gate_or.json new file mode 100644 index 000000000..610b6085d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_or.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_or" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_rs.json b/src/main/resources/assets/bluepower/models/item/gate_rs.json new file mode 100644 index 000000000..d48029fcf --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_rs.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_rs" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_toggle.json b/src/main/resources/assets/bluepower/models/item/gate_toggle.json new file mode 100644 index 000000000..dde7bd3b7 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_toggle.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_toggle" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_xnor.json b/src/main/resources/assets/bluepower/models/item/gate_xnor.json new file mode 100644 index 000000000..4ffbff010 --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_xnor.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_xnor" +} diff --git a/src/main/resources/assets/bluepower/models/item/gate_xor.json b/src/main/resources/assets/bluepower/models/item/gate_xor.json new file mode 100644 index 000000000..0227fe64d --- /dev/null +++ b/src/main/resources/assets/bluepower/models/item/gate_xor.json @@ -0,0 +1,3 @@ +{ + "parent": "bluepower:block/gate_xor" +} diff --git a/src/main/resources/data/bluepower/recipes/gate_buffer.jsonx b/src/main/resources/data/bluepower/recipes/gate_buffer.json similarity index 91% rename from src/main/resources/data/bluepower/recipes/gate_buffer.jsonx rename to src/main/resources/data/bluepower/recipes/gate_buffer.json index a1f9041c8..d4ddfccac 100644 --- a/src/main/resources/data/bluepower/recipes/gate_buffer.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_buffer.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:buffer_gate" + "item": "bluepower:gate_buffer" }, "pattern": [ "ACA", diff --git a/src/main/resources/data/bluepower/recipes/gate_nor.jsonx b/src/main/resources/data/bluepower/recipes/gate_nor.json similarity index 92% rename from src/main/resources/data/bluepower/recipes/gate_nor.jsonx rename to src/main/resources/data/bluepower/recipes/gate_nor.json index 1903c0e2b..b129203e8 100644 --- a/src/main/resources/data/bluepower/recipes/gate_nor.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_nor.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:nor_gate" + "item": "bluepower:gate_nor" }, "pattern": [ "TAT", diff --git a/src/main/resources/data/bluepower/recipes/gate_not.jsonx b/src/main/resources/data/bluepower/recipes/gate_not.json similarity index 92% rename from src/main/resources/data/bluepower/recipes/gate_not.jsonx rename to src/main/resources/data/bluepower/recipes/gate_not.json index 795d4ad6c..2a1f37b02 100644 --- a/src/main/resources/data/bluepower/recipes/gate_not.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_not.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:not_gate" + "item": "bluepower:gate_not" }, "pattern": [ "TAT", diff --git a/src/main/resources/data/bluepower/recipes/gate_or.jsonx b/src/main/resources/data/bluepower/recipes/gate_or.json similarity index 92% rename from src/main/resources/data/bluepower/recipes/gate_or.jsonx rename to src/main/resources/data/bluepower/recipes/gate_or.json index 9fb5d944f..ec8ebe633 100644 --- a/src/main/resources/data/bluepower/recipes/gate_or.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_or.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:or_gate" + "item": "bluepower:gate_or" }, "pattern": [ "TCT", diff --git a/src/main/resources/data/bluepower/recipes/gate_rs_latch.jsonx b/src/main/resources/data/bluepower/recipes/gate_rs_latch.json similarity index 92% rename from src/main/resources/data/bluepower/recipes/gate_rs_latch.jsonx rename to src/main/resources/data/bluepower/recipes/gate_rs_latch.json index 99a62cc80..a759f53fb 100644 --- a/src/main/resources/data/bluepower/recipes/gate_rs_latch.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_rs_latch.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:rs_latch" + "item": "bluepower:gate_rs" }, "pattern": [ "WWA", diff --git a/src/main/resources/data/bluepower/recipes/gate_toggle_latch.jsonx b/src/main/resources/data/bluepower/recipes/gate_toggle_latch.json similarity index 90% rename from src/main/resources/data/bluepower/recipes/gate_toggle_latch.jsonx rename to src/main/resources/data/bluepower/recipes/gate_toggle_latch.json index 734c9bd64..e50eb7483 100644 --- a/src/main/resources/data/bluepower/recipes/gate_toggle_latch.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_toggle_latch.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:toggle_latch" + "item": "bluepower:gate_toggle" }, "pattern": [ "CTT", diff --git a/src/main/resources/data/bluepower/recipes/gate_xnor.jsonx b/src/main/resources/data/bluepower/recipes/gate_xnor.json similarity index 78% rename from src/main/resources/data/bluepower/recipes/gate_xnor.jsonx rename to src/main/resources/data/bluepower/recipes/gate_xnor.json index e29bb732a..f7b954c69 100644 --- a/src/main/resources/data/bluepower/recipes/gate_xnor.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_xnor.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:xnor_gate" + "item": "bluepower:gate_xnor" }, "pattern": [ "ACA", @@ -17,9 +17,6 @@ }, "C": { "item": "bluepower:bluestone_cathode_tile" - }, - "T": { - "item": "bluepower:stone_tile" } } } diff --git a/src/main/resources/data/bluepower/recipes/gate_xor.jsonx b/src/main/resources/data/bluepower/recipes/gate_xor.json similarity index 78% rename from src/main/resources/data/bluepower/recipes/gate_xor.jsonx rename to src/main/resources/data/bluepower/recipes/gate_xor.json index 8a85fd03e..f1267b33f 100644 --- a/src/main/resources/data/bluepower/recipes/gate_xor.jsonx +++ b/src/main/resources/data/bluepower/recipes/gate_xor.json @@ -1,6 +1,6 @@ { "result": { - "item": "bluepower:xor_gate" + "item": "bluepower:gate_xor" }, "pattern": [ "AWA", @@ -17,9 +17,6 @@ }, "C": { "item": "bluepower:bluestone_cathode_tile" - }, - "T": { - "item": "bluepower:stone_tile" } } }