Fix schematics and models
This commit is contained in:
parent
e0ae426cab
commit
a220390a5a
377 changed files with 3123 additions and 1119 deletions
1
logs/latest.log
Normal file
1
logs/latest.log
Normal file
|
@ -0,0 +1 @@
|
|||
[23:07:02] [main/ERROR]: Unable to bootstrap registry 'minecraft:sound_event'
|
38
src/main/java/org/dimdev/Generator.java
Normal file
38
src/main/java/org/dimdev/Generator.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package org.dimdev;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Paths;
|
||||
|
||||
public class Generator {
|
||||
private static final String PREFIX = "E:\\IdeaPojects\\DimDoors\\resources\\assets\\dimdoors\\blockstates\\";
|
||||
private static final String SUFFIX = "_fabric.json";
|
||||
private static final String[] COLORS = {
|
||||
"black",
|
||||
"blue",
|
||||
"brown",
|
||||
"cyan",
|
||||
"gray",
|
||||
"green",
|
||||
"light_blue",
|
||||
"light_gray",
|
||||
"lime",
|
||||
"magenta",
|
||||
"orange",
|
||||
"pink",
|
||||
"purple",
|
||||
"red",
|
||||
"silver",
|
||||
"white",
|
||||
"yellow"
|
||||
};
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
String template = new String(Files.readAllBytes(Paths.get(PREFIX + "color" + SUFFIX)), StandardCharsets.UTF_8);
|
||||
|
||||
for (String color : COLORS) {
|
||||
Files.write(Paths.get(PREFIX + "color" + SUFFIX), template.replace("color", color).getBytes());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
package org.dimdev;
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("a");
|
||||
}
|
||||
}
|
|
@ -1,28 +1,16 @@
|
|||
package org.dimdev.dimdoors;
|
||||
|
||||
import com.mojang.brigadier.CommandDispatcher;
|
||||
import com.mojang.brigadier.arguments.FloatArgumentType;
|
||||
import com.mojang.brigadier.arguments.IntegerArgumentType;
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
import net.fabricmc.fabric.api.registry.CommandRegistry;
|
||||
import net.minecraft.command.arguments.CoordinateArgument;
|
||||
import net.minecraft.command.arguments.DimensionArgumentType;
|
||||
import net.minecraft.command.arguments.RotationArgumentType;
|
||||
import net.minecraft.command.arguments.Vec3ArgumentType;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.server.command.CommandManager;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
import net.minecraft.world.dimension.DimensionType;
|
||||
import org.dimdev.dimdoors.block.ModBlocks;
|
||||
import org.dimdev.dimdoors.commands.CommandDimTeleport;
|
||||
import org.dimdev.dimdoors.commands.DimTeleportCommand;
|
||||
import org.dimdev.dimdoors.commands.SchematicCommand;
|
||||
import org.dimdev.dimdoors.entity.ModEntityTypes;
|
||||
import org.dimdev.dimdoors.item.ModItems;
|
||||
import org.dimdev.dimdoors.pockets.SchematicHandler;
|
||||
import org.dimdev.dimdoors.rift.targets.*;
|
||||
import org.dimdev.dimdoors.world.ModBiomes;
|
||||
import org.dimdev.dimdoors.world.ModDimensions;
|
||||
import org.dimdev.util.TeleportUtil;
|
||||
|
||||
public class DimensionalDoorsInitializer implements ModInitializer {
|
||||
@Override
|
||||
|
@ -53,7 +41,7 @@ public class DimensionalDoorsInitializer implements ModInitializer {
|
|||
}
|
||||
|
||||
private void registerCommands() {
|
||||
CommandRegistry.INSTANCE.register(false, CommandDimTeleport::register);
|
||||
|
||||
CommandRegistry.INSTANCE.register(false, DimTeleportCommand::register);
|
||||
CommandRegistry.INSTANCE.register(false, SchematicCommand::register);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,4 +25,8 @@ public class ModBlockEntityTypes {
|
|||
private static <E extends BlockEntity> BlockEntityType<E> register(String id, Supplier<? extends E> supplier, Block[] blocks) {
|
||||
return Registry.register(Registry.BLOCK_ENTITY_TYPE, id, new BlockEntityType<>(supplier, Sets.newHashSet(blocks), null));
|
||||
}
|
||||
|
||||
public static void init() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
//package org.dimdev.dimdoors.commands;
|
||||
//
|
||||
//import net.minecraft.block.state.BlockState;
|
||||
//import net.minecraft.command.CommandBase;
|
||||
//import net.minecraft.command.CommandException;
|
||||
//import net.minecraft.command.ICommandSender;
|
||||
//import net.minecraft.entity.player.EntityPlayerMP;
|
||||
//import net.minecraft.item.DyeColor;
|
||||
//import net.minecraft.server.MinecraftServer;
|
||||
//import net.minecraft.util.math.BlockPos;
|
||||
//import org.dimdev.dimdoors.block.FabricBlock;
|
||||
//import org.dimdev.pocketlib.Pocket;
|
||||
//import org.dimdev.pocketlib.PocketRegistry;
|
||||
//import org.dimdev.pocketlib.PocketWorldDimension;
|
||||
//
|
||||
//public class CommandFabricConvert extends CommandBase {
|
||||
//
|
||||
// @Override
|
||||
// public String getName() {
|
||||
// return "fabricconvert";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String getUsage(ICommandSender sender) {
|
||||
// return "commands.fabricconvert.usage";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException {
|
||||
// EntityPlayerMP player = getCommandSenderAsPlayer(sender);
|
||||
//
|
||||
// if (!(player.world.dimension instanceof PocketWorldDimension)) throw new CommandException("commands.generic.dimdoors.not_in_pocket");
|
||||
// Pocket pocket = PocketRegistry.instance(player.dimension).getPocketAt(player.getPosition());
|
||||
// if (pocket == null) throw new CommandException("commands.generic.dimdoors.not_in_pocket");
|
||||
//
|
||||
// BlockPos origin = pocket.getOrigin();
|
||||
// int size = (pocket.getSize() + 1) * 16 - 1;
|
||||
//
|
||||
// for (int x = 0; x < size; x++) {
|
||||
// for (int y = 0; y < size; y++) {
|
||||
// for (int z = 0; z < size; z++) {
|
||||
// BlockState state = player.world.getBlockState(new BlockPos(origin.getX() + x, origin.getY() + y, origin.getZ() + z));
|
||||
//
|
||||
// if (state.getBlock() instanceof FabricBlock) {
|
||||
// player.world.setBlockState(origin, state.withProperty(FabricBlock.COLOR, DyeColor.BLACK));
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// notifyCommandListener(sender, this, "commands.fabricconvert.success");
|
||||
// }
|
||||
//}
|
|
@ -1,97 +0,0 @@
|
|||
//package org.dimdev.dimdoors.commands;
|
||||
//
|
||||
//import net.minecraft.command.CommandBase;
|
||||
//import net.minecraft.command.CommandException;
|
||||
//import net.minecraft.command.ICommandSender;
|
||||
//import net.minecraft.command.WrongUsageException;
|
||||
//import net.minecraft.entity.player.EntityPlayerMP;
|
||||
//import net.minecraft.server.MinecraftServer;
|
||||
//import net.minecraft.util.math.BlockPos;
|
||||
//import org.dimdev.util.Location;
|
||||
//import org.dimdev.util.TeleportUtil;
|
||||
//import org.dimdev.util.WorldUtils;
|
||||
//import org.dimdev.dimdoors.pockets.PocketGenerator;
|
||||
//import org.dimdev.dimdoors.pockets.PocketTemplate;
|
||||
//import org.dimdev.dimdoors.pockets.SchematicHandler;
|
||||
//import org.dimdev.dimdoors.rift.targets.EntityTarget;
|
||||
//import org.dimdev.dimdoors.rift.registry.RiftRegistry;
|
||||
//import org.dimdev.dimdoors.world.ModDimensions;
|
||||
//import org.dimdev.pocketlib.Pocket;
|
||||
//
|
||||
//
|
||||
//import java.util.ArrayList;
|
||||
//import java.util.List;
|
||||
//import java.util.stream.Collectors;
|
||||
//
|
||||
//public class CommandPocket extends CommandBase {
|
||||
//
|
||||
// @Override
|
||||
// public String getName() {
|
||||
// return "pocket";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String getUsage(ICommandSender sender) {
|
||||
// return "commands.pocket.usage";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException {
|
||||
// EntityPlayerMP player = getCommandSenderAsPlayer(sender);
|
||||
//
|
||||
// // Check that the number of arguments is correct
|
||||
// if (args.length < 2 || args.length > 3) {
|
||||
// throw new WrongUsageException("commands.pocket.usage");
|
||||
// }
|
||||
//
|
||||
// // Make sure the player is in a pocket world
|
||||
// if (!ModDimensions.isDimDoorsPocketDimension(player.world)) {
|
||||
// throw new CommandException("commands.generic.dimdoors.not_in_pocket_dim");
|
||||
// }
|
||||
//
|
||||
// String group = args[0];
|
||||
// String name = args[1];
|
||||
//
|
||||
// // Check if the schematic exists
|
||||
// if (!SchematicHandler.INSTANCE.getTemplateGroups().contains(group)) {
|
||||
// throw new CommandException("commands.pocket.group_not_found", group);
|
||||
// } else if (!SchematicHandler.INSTANCE.getTemplateNames(group).contains(name)) {
|
||||
// throw new CommandException("commands.pocket.template_not_found", name);
|
||||
// }
|
||||
//
|
||||
// boolean setup = args.length < 3 || parseBoolean(args[2]);
|
||||
//
|
||||
// // Generate the schematic
|
||||
// PocketTemplate template = SchematicHandler.INSTANCE.getTemplate(group, name);
|
||||
// Pocket pocket = PocketGenerator.generatePocketFromTemplate(WorldUtils.getDim(player.world), template, null, setup);
|
||||
//
|
||||
// // Teleport the player there
|
||||
// if (RiftRegistry.instance().getPocketEntrance(pocket) != null) {
|
||||
// EntityTarget entrance = (EntityTarget) player.world.getBlockEntity(RiftRegistry.instance().getPocketEntrance(pocket).pos);
|
||||
// entrance.receiveEntity(player, 0, 0);
|
||||
// } else {
|
||||
// int size = (pocket.getSize() + 1) * 16;
|
||||
// TeleportUtil.teleport(player, new BlockPos((pocket.box.minX + pocket.box.maxX)/2, (pocket.box.minY + pocket.box.maxY)/2, (pocket.box.minZ + pocket.box.maxZ)/2)));
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public List<String> getTabCompletions(MinecraftServer server, ICommandSender sender, String[] args, BlockPos targetPos) {
|
||||
// List<String> list = new ArrayList<>();
|
||||
// switch (args.length) {
|
||||
// case 1:
|
||||
// list = new ArrayList<>(SchematicHandler.INSTANCE.getTemplateGroups());
|
||||
// break;
|
||||
// case 2:
|
||||
// list = new ArrayList<>(SchematicHandler.INSTANCE.getTemplateNames(args[0]));
|
||||
// break;
|
||||
// case 3:
|
||||
// list.add("true");
|
||||
// list.add("false");
|
||||
// break;
|
||||
// }
|
||||
// return list.stream()
|
||||
// .filter(s -> s.toLowerCase().startsWith(args[args.length - 1].toLowerCase()))
|
||||
// .collect(Collectors.toList());
|
||||
// }
|
||||
//}
|
|
@ -1,49 +0,0 @@
|
|||
//package org.dimdev.dimdoors.commands;
|
||||
//
|
||||
//import net.minecraft.command.CommandBase;
|
||||
//import net.minecraft.command.CommandException;
|
||||
//import net.minecraft.command.ICommandSender;
|
||||
//import net.minecraft.command.WrongUsageException;
|
||||
//import net.minecraft.entity.player.EntityPlayerMP;
|
||||
//import net.minecraft.server.MinecraftServer;
|
||||
//import net.minecraft.util.math.Vec3i;
|
||||
//import org.dimdev.util.schem.Schematic;
|
||||
//import org.dimdev.dimdoors.pockets.SchematicHandler;
|
||||
//import org.dimdev.pocketlib.Pocket;
|
||||
//import org.dimdev.pocketlib.PocketRegistry;
|
||||
//import org.dimdev.pocketlib.PocketWorldDimension;
|
||||
//
|
||||
//public class CommandSaveSchem extends CommandBase {
|
||||
//
|
||||
// @Override
|
||||
// public String getName() {
|
||||
// return "saveschem";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String getUsage(ICommandSender sender) {
|
||||
// return "commands.saveschem.usage";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException {
|
||||
// EntityPlayerMP player = getCommandSenderAsPlayer(sender);
|
||||
//
|
||||
// if (args.length != 1) {
|
||||
// throw new WrongUsageException("commands.saveschem.usage");
|
||||
// }
|
||||
//
|
||||
// if (!(player.world.dimension instanceof PocketWorldDimension))
|
||||
// throw new CommandException("commands.generic.dimdoors.not_in_pocket");
|
||||
// Pocket pocket = PocketRegistry.instance(player.dimension).getPocketAt(player.getPosition());
|
||||
// if (pocket == null) throw new CommandException("commands.generic.dimdoors.not_in_pocket");
|
||||
//
|
||||
// int size = (pocket.getSize() + 1) * 16 - 1;
|
||||
// Schematic schematic = Schematic.createFromWorld(player.world, pocket.getOrigin(), pocket.getOrigin().add(new Vec3i(size, size, size)));
|
||||
// schematic.name = args[0];
|
||||
// schematic.author = player.getName();
|
||||
//
|
||||
// SchematicHandler.INSTANCE.saveSchematicForEditing(schematic, args[0]);
|
||||
// notifyCommandListener(sender, this, "commands.saveschem.success", args[0]);
|
||||
// }
|
||||
//}
|
|
@ -22,7 +22,7 @@ import net.minecraft.util.math.Vec3d;
|
|||
import net.minecraft.world.dimension.DimensionType;
|
||||
import org.dimdev.util.TeleportUtil;
|
||||
|
||||
public class CommandDimTeleport {
|
||||
public class DimTeleportCommand {
|
||||
public static void register(CommandDispatcher<ServerCommandSource> dispatcher) {
|
||||
dispatcher.register(CommandManager.literal("dimteleport")
|
||||
.then(CommandManager
|
||||
|
@ -42,13 +42,6 @@ public class CommandDimTeleport {
|
|||
.executes(ctx -> teleport(ctx.getSource().getPlayer(), DimensionArgumentType.getDimensionArgument(ctx, "dimension"), Vec3ArgumentType.getVec3(ctx, "coordinates"), FloatArgumentType.getFloat(ctx, "yaw")))
|
||||
)
|
||||
);
|
||||
|
||||
Gson gson = new Gson();
|
||||
|
||||
NbtOps nbtOps = NbtOps.INSTANCE;
|
||||
JsonOps jsonOps = JsonOps.INSTANCE;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private static int teleport(ServerPlayerEntity player, DimensionType dimension, Vec3d coordinates, float yaw) {
|
||||
|
@ -59,53 +52,4 @@ public class CommandDimTeleport {
|
|||
}
|
||||
return 1;
|
||||
}
|
||||
//
|
||||
// @Override1
|
||||
// public String getName() {
|
||||
// return "dimteleport";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public String getUsage(ICommandSender sender) {
|
||||
// return "commands.dimteleport.usage";
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public List<String> getAliases() {
|
||||
// return Arrays.asList("dteleport", "dtp");
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException {
|
||||
// EntityPlayerMP player = getCommandSenderAsPlayer(sender);
|
||||
//
|
||||
// // Check that the number of arguments is correct
|
||||
// if (args.length < 4 || args.length > 6) {
|
||||
// throw new WrongUsageException("commands.dimteleport.usage");
|
||||
// }
|
||||
//
|
||||
// int dimension = parseInt(args[0]);
|
||||
//
|
||||
// Vec3d senderPos = sender.getPositionVector();
|
||||
// CoordinateArgument x = parseCoordinate(senderPos.x, args[1], true);
|
||||
// CoordinateArgument y = parseCoordinate(senderPos.y, args[2], false);
|
||||
// CoordinateArgument z = parseCoordinate(senderPos.z, args[3], true);
|
||||
//
|
||||
// CoordinateArgument yaw = parseCoordinate(player.rotationYaw, args.length > 4 ? args[4] : "~", false);
|
||||
// CoordinateArgument pitch = parseCoordinate(player.rotationPitch, args.length > 5 ? args[5] : "~", false);
|
||||
//
|
||||
// TeleportUtil.teleport(player, new Location(dimension, new BlockPos(x.getResult(), y.getResult(), z.getResult())), (float) yaw.getResult(), (float) pitch.getResult());
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public List<String> getTabCompletions(MinecraftServer server, ICommandSender sender, String[] args, BlockPos targetPos) {
|
||||
// if (args.length == 1) {
|
||||
// return Arrays.stream(DimensionManager.getStaticDimensionIDs())
|
||||
// .map(Object::toString)
|
||||
// .filter(s -> s.toLowerCase().startsWith(args[0].toLowerCase()))
|
||||
// .collect(Collectors.toList());
|
||||
// } else {
|
||||
// return args.length > 1 && args.length <= 4 ? getTabCompletionCoordinate(args, 1, targetPos) : Collections.emptyList();
|
||||
// }
|
||||
// }
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
package org.dimdev.dimdoors.commands;
|
||||
|
||||
|
||||
import com.mojang.brigadier.CommandDispatcher;
|
||||
import com.mojang.brigadier.arguments.StringArgumentType;
|
||||
import net.minecraft.nbt.NbtIo;
|
||||
import net.minecraft.server.command.CommandManager;
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import org.dimdev.Generator;
|
||||
import org.dimdev.util.schem.Schematic;
|
||||
import org.dimdev.util.schem.SchematicConverter;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
public class SchematicCommand {
|
||||
public static void register(CommandDispatcher<ServerCommandSource> dispatcher) {
|
||||
dispatcher.register(CommandManager.literal("schematic")
|
||||
.then(CommandManager.literal("place")
|
||||
.then(CommandManager.argument("schematic_name", StringArgumentType.string())
|
||||
.executes(ctx -> {
|
||||
SchematicConverter.reloadConversions();
|
||||
ServerPlayerEntity player = ctx.getSource().getPlayer();
|
||||
String id = StringArgumentType.getString(ctx, "schematic_name");
|
||||
|
||||
try (InputStream in = Generator.class.getResourceAsStream("/assets/dimdoors/pockets/schematic/ruins/" + id + ".schem")) {
|
||||
Schematic.loadFromNBT(NbtIo.readCompressed(in))
|
||||
.place(
|
||||
player.world,
|
||||
(int) player.getPos().x,
|
||||
(int) player.getPos().y,
|
||||
(int) player.getPos().z
|
||||
);
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
}
|
||||
|
||||
System.out.println(id + " placed");
|
||||
|
||||
return 1;
|
||||
}
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
|
@ -176,7 +176,7 @@ public class SchematicHandler { // TODO: parts of this should be moved to the or
|
|||
}
|
||||
|
||||
if (schematic != null
|
||||
&& (schematic.width > (template.getSize() + 1) * 16 || schematic.length > (template.getSize() + 1) * 16)) {
|
||||
&& (schematic.sizeX > (template.getSize() + 1) * 16 || schematic.sizeZ > (template.getSize() + 1) * 16)) {
|
||||
LOGGER.warn("Schematic " + template.getId() + " was bigger than specified in its json file and therefore wasn't loaded");
|
||||
isValidFormat = false;
|
||||
}
|
||||
|
|
|
@ -1,96 +0,0 @@
|
|||
//package org.dimdev.dimdoors.tools;
|
||||
//
|
||||
//import net.minecraft.nbt.CompressedStreamTools;
|
||||
//import org.apache.commons.io.FileUtils;
|
||||
//import org.dimdev.util.schem.Schematic;
|
||||
//
|
||||
//import java.io.*;
|
||||
//
|
||||
//public final class SchematicProcessor {
|
||||
//
|
||||
// @SuppressWarnings("UseOfSystemOutOrSystemErr")
|
||||
// public static void main(String... args) throws IOException {
|
||||
// // Parse arguments
|
||||
// boolean testMode = false;
|
||||
// File schematicDir = new File("schematics/");
|
||||
// if (args.length > 2) {
|
||||
// System.err.println("Too many arguments!");
|
||||
// return;
|
||||
// } else if (args.length == 2) {
|
||||
// testMode = args[0].equals("true");
|
||||
// schematicDir = new File(args[1]);
|
||||
// if (!schematicDir.isDirectory()) {
|
||||
// System.err.print("The directory " + args[0] + " couldn't be found!");
|
||||
// return;
|
||||
// }
|
||||
// } else if (args.length == 1) {
|
||||
// testMode = args[0].equals("true");
|
||||
// }
|
||||
//
|
||||
// Initializer.initialize();
|
||||
//
|
||||
// if (testMode) {
|
||||
// File out = new File("out");
|
||||
// FileUtils.deleteDirectory(out);
|
||||
// out.mkdir();
|
||||
// }
|
||||
//
|
||||
// process(schematicDir, testMode);
|
||||
// }
|
||||
//
|
||||
//
|
||||
// private static void process(File file, boolean testMode) throws IOException {
|
||||
// if (file.isDirectory()) {
|
||||
// for (File subFile : file.listFiles()) {
|
||||
// process(subFile, testMode);
|
||||
// }
|
||||
// } else {
|
||||
// Schematic schematic = Schematic.loadFromNBT(CompressedStreamTools.readCompressed(new FileInputStream(file)));
|
||||
// schematic = runTasks(schematic);
|
||||
//
|
||||
// if (schematic != null) {
|
||||
// File outputFile = testMode ? new File("out", file.getName()) : file;
|
||||
// if (!testMode) {
|
||||
// outputFile.delete();
|
||||
// }
|
||||
// CompressedStreamTools.writeCompressed(schematic.saveToNBT(), new FileOutputStream(outputFile));
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// // ***** ADD YOUR CODE BELOW THIS LINE *****
|
||||
//
|
||||
// private static boolean schematicChanged = false;
|
||||
// private static boolean paletteChanged = false;
|
||||
//
|
||||
// private static Schematic runTasks(Schematic schematic) {
|
||||
// // ADD TASKS HERE, DON'T FORGET TO SET schematicChanged and paletteChanged
|
||||
// //task1(schematic);
|
||||
// //task2(schematic);
|
||||
// //task3(schematic);
|
||||
// // ...
|
||||
//
|
||||
// if (paletteChanged) {
|
||||
// schematic = rewriteSchematic(schematic); // To get rid of unused palette IDs
|
||||
// paletteChanged = false;
|
||||
// }
|
||||
// return schematicChanged ? schematic : null;
|
||||
// }
|
||||
//
|
||||
// private static Schematic rewriteSchematic(Schematic schematic) {
|
||||
// Schematic copy = new Schematic(schematic.name, schematic.author, schematic.width, schematic.height, schematic.length);
|
||||
// copy.creationDate = schematic.creationDate;
|
||||
// copy.requiredMods = schematic.requiredMods;
|
||||
// copy.offset = schematic.offset;
|
||||
// for (int x = 0; x < schematic.width; x++) {
|
||||
// for (int y = 0; y < schematic.height; y++) {
|
||||
// for (int z = 0; z < schematic.length; z++) {
|
||||
// copy.setBlockState(x, y, z, schematic.getBlockState(x, y, z));
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// copy.tileEntities = schematic.tileEntities;
|
||||
// copy.entities = schematic.entities;
|
||||
// return copy;
|
||||
// }
|
||||
//}
|
|
@ -4,11 +4,11 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraft.block.entity.BlockEntity;
|
||||
import net.minecraft.block.entity.BlockEntityType;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.fluid.FluidState;
|
||||
import net.minecraft.nbt.*;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.state.StateManager;
|
||||
import net.minecraft.state.property.Property;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
@ -16,6 +16,7 @@ import net.minecraft.util.math.BlockPos;
|
|||
import net.minecraft.util.math.Box;
|
||||
import net.minecraft.util.math.Vec3i;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.minecraft.world.BlockView;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
import net.minecraft.world.chunk.ChunkSection;
|
||||
|
@ -25,16 +26,16 @@ import org.apache.logging.log4j.Logger;
|
|||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
public class Schematic {
|
||||
public class Schematic implements BlockView {
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
public int version = 1;
|
||||
public String author = null;
|
||||
public String name = null;
|
||||
public long creationDate;
|
||||
public String[] requiredMods = {};
|
||||
public short width;
|
||||
public short height;
|
||||
public short length;
|
||||
public short sizeX;
|
||||
public short sizeY;
|
||||
public short sizeZ;
|
||||
public int[] offset = {0, 0, 0};
|
||||
public int paletteMax;
|
||||
public List<BlockState> palette = new ArrayList<>();
|
||||
|
@ -48,9 +49,9 @@ public class Schematic {
|
|||
|
||||
public Schematic(short width, short height, short length) {
|
||||
this();
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.length = length;
|
||||
this.sizeX = width;
|
||||
this.sizeY = height;
|
||||
this.sizeZ = length;
|
||||
blockData = new short[width][height][length];
|
||||
palette.add(Blocks.AIR.getDefaultState());
|
||||
paletteMax++;
|
||||
|
@ -93,9 +94,9 @@ public class Schematic {
|
|||
}
|
||||
}
|
||||
|
||||
schematic.width = nbt.getShort("Width");
|
||||
schematic.height = nbt.getShort("Height");
|
||||
schematic.length = nbt.getShort("Length");
|
||||
schematic.sizeX = nbt.getShort("Width");
|
||||
schematic.sizeY = nbt.getShort("Height");
|
||||
schematic.sizeZ = nbt.getShort("Length");
|
||||
|
||||
if (nbt.contains("Offset")) { // Offset is not required
|
||||
schematic.offset = nbt.getIntArray("Offset");
|
||||
|
@ -110,7 +111,7 @@ public class Schematic {
|
|||
}
|
||||
|
||||
for (int i = 0; i < paletteMap.size(); i++) {
|
||||
String blockStateString = paletteMap.get(i);
|
||||
String blockStateString = SchematicConverter.updateId(paletteMap.get(i));
|
||||
char lastBlockStateStringChar = blockStateString.charAt(blockStateString.length() - 1);
|
||||
String id;
|
||||
String state;
|
||||
|
@ -126,6 +127,10 @@ public class Schematic {
|
|||
|
||||
Block block = Registry.BLOCK.get(new Identifier(id));
|
||||
|
||||
if (block == Blocks.AIR && !"minecraft:air".equals(id)) {
|
||||
System.err.println("Missing ID: " + blockStateString);
|
||||
}
|
||||
|
||||
BlockState blockstate = block.getDefaultState();
|
||||
|
||||
if (!state.isEmpty()) {
|
||||
|
@ -143,11 +148,11 @@ public class Schematic {
|
|||
}
|
||||
|
||||
byte[] blockDataIntArray = nbt.getByteArray("BlockData");
|
||||
schematic.blockData = new short[schematic.width][schematic.height][schematic.length];
|
||||
for (int x = 0; x < schematic.width; x++) {
|
||||
for (int y = 0; y < schematic.height; y++) {
|
||||
for (int z = 0; z < schematic.length; z++) {
|
||||
schematic.blockData[x][y][z] = blockDataIntArray[x + z * schematic.width + y * schematic.width * schematic.length]; //according to the documentation on https://github.com/SpongePowered/Schematic-Specification/blob/master/versions/schematic-1.md
|
||||
schematic.blockData = new short[schematic.sizeX][schematic.sizeY][schematic.sizeZ];
|
||||
for (int x = 0; x < schematic.sizeX; x++) {
|
||||
for (int y = 0; y < schematic.sizeY; y++) {
|
||||
for (int z = 0; z < schematic.sizeZ; z++) {
|
||||
schematic.blockData[x][y][z] = blockDataIntArray[x + z * schematic.sizeX + y * schematic.sizeX * schematic.sizeZ]; //according to the documentation on https://github.com/SpongePowered/Schematic-Specification/blob/master/versions/schematic-1.md
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -164,6 +169,8 @@ public class Schematic {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
SchematicRedstoneFixer.fixRedstone(schematic);
|
||||
return schematic;
|
||||
}
|
||||
|
||||
|
@ -188,9 +195,9 @@ public class Schematic {
|
|||
metadataCompound.put("RequiredMods", requiredModsTagList);
|
||||
nbt.put("Metadata", metadataCompound);
|
||||
|
||||
nbt.putShort("Width", width);
|
||||
nbt.putShort("Height", height);
|
||||
nbt.putShort("Length", length);
|
||||
nbt.putShort("Width", sizeX);
|
||||
nbt.putShort("Height", sizeY);
|
||||
nbt.putShort("Length", sizeZ);
|
||||
nbt.putIntArray("Offset", offset);
|
||||
nbt.putInt("PaletteMax", paletteMax);
|
||||
|
||||
|
@ -204,12 +211,12 @@ public class Schematic {
|
|||
|
||||
nbt.put("Palette", paletteNBT);
|
||||
|
||||
byte[] blockDataIntArray = new byte[width * height * length];
|
||||
byte[] blockDataIntArray = new byte[sizeX * sizeY * sizeZ];
|
||||
|
||||
for (int x = 0; x < width; x++) {
|
||||
for (int y = 0; y < height; y++) {
|
||||
for (int z = 0; z < length; z++) {
|
||||
blockDataIntArray[x + z * width + y * width * length] = (byte) blockData[x][y][z]; //according to the documentation on https://github.com/SpongePowered/Schematic-Specification/blob/master/versions/schematic-1.md
|
||||
for (int x = 0; x < sizeX; x++) {
|
||||
for (int y = 0; y < sizeY; y++) {
|
||||
for (int z = 0; z < sizeZ; z++) {
|
||||
blockDataIntArray[x + z * sizeX + y * sizeX * sizeZ] = (byte) blockData[x][y][z]; //according to the documentation on https://github.com/SpongePowered/Schematic-Specification/blob/master/versions/schematic-1.md
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -346,44 +353,48 @@ public class Schematic {
|
|||
setBlocks(world, xBase, yBase, zBase);
|
||||
|
||||
// Set BlockEntity data
|
||||
for (CompoundTag BlockEntityNBT : tileEntities) {
|
||||
Vec3i schematicPos = new BlockPos(BlockEntityNBT.getInt("x"), BlockEntityNBT.getInt("y"), BlockEntityNBT.getInt("z"));
|
||||
BlockPos pos = new BlockPos(xBase, yBase, zBase).add(schematicPos);
|
||||
BlockEntity blockEntity = world.getBlockEntity(pos);
|
||||
if (blockEntity != null) {
|
||||
String id = BlockEntityNBT.getString("id");
|
||||
String blockBlockEntityId = BlockEntityType.getId(blockEntity.getType()).toString();
|
||||
if (id.equals(blockBlockEntityId)) {
|
||||
blockEntity.fromTag(BlockEntityNBT);
|
||||
|
||||
// Correct the position
|
||||
blockEntity.setLocation(world, pos);
|
||||
blockEntity.markDirty();
|
||||
} else {
|
||||
throw new RuntimeException("Schematic contained BlockEntity " + id + " at " + pos + " but the BlockEntity of that block (" + world.getBlockState(pos) + ") must be " + blockBlockEntityId);
|
||||
}
|
||||
} else {
|
||||
throw new RuntimeException("Schematic contained BlockEntity info at " + pos + " but the block there (" + world.getBlockState(pos) + ") has no BlockEntity.");
|
||||
}
|
||||
}
|
||||
|
||||
// Spawn entities
|
||||
for (CompoundTag entityNBT : entities) {
|
||||
// Correct the position and UUID
|
||||
ListTag posNBT = (ListTag) entityNBT.get("Pos");
|
||||
ListTag newPosNBT = new ListTag();
|
||||
newPosNBT.add(DoubleTag.of(posNBT.getDouble(0) + xBase));
|
||||
newPosNBT.add(DoubleTag.of(posNBT.getDouble(1) + yBase));
|
||||
newPosNBT.add(DoubleTag.of(posNBT.getDouble(2) + zBase));
|
||||
CompoundTag adjustedEntityTag = entityNBT.copy();
|
||||
adjustedEntityTag.put("Pos", newPosNBT);
|
||||
adjustedEntityTag.putUuidNew("UUID", UUID.randomUUID());
|
||||
|
||||
world.spawnEntity(EntityType.getEntityFromTag(adjustedEntityTag, world).orElseThrow(() -> new RuntimeException("missing entity type")));
|
||||
}
|
||||
// for (CompoundTag BlockEntityNBT : tileEntities) {
|
||||
// Vec3i schematicPos = new BlockPos(BlockEntityNBT.getInt("x"), BlockEntityNBT.getInt("y"), BlockEntityNBT.getInt("z"));
|
||||
// BlockPos pos = new BlockPos(xBase, yBase, zBase).add(schematicPos);
|
||||
// BlockEntity blockEntity = world.getBlockEntity(pos);
|
||||
// if (blockEntity != null) {
|
||||
// String id = BlockEntityNBT.getString("id");
|
||||
// String blockBlockEntityId = BlockEntityType.getId(blockEntity.getType()).toString();
|
||||
// if (id.equals(blockBlockEntityId)) {
|
||||
// blockEntity.fromTag(BlockEntityNBT);
|
||||
//
|
||||
// // Correct the position
|
||||
// blockEntity.setLocation(world, pos);
|
||||
// blockEntity.markDirty();
|
||||
// } else {
|
||||
// System.err.println("Schematic contained BlockEntity " + id + " at " + pos + " but the BlockEntity of that block (" + world.getBlockState(pos) + ") must be " + blockBlockEntityId);
|
||||
// }
|
||||
// } else {
|
||||
// System.err.println("Schematic contained BlockEntity info at " + pos + " but the block there (" + world.getBlockState(pos) + ") has no BlockEntity.");
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// // Spawn entities
|
||||
// for (CompoundTag entityNBT : entities) {
|
||||
// // Correct the position and UUID
|
||||
// ListTag posNBT = (ListTag) entityNBT.get("Pos");
|
||||
// ListTag newPosNBT = new ListTag();
|
||||
// newPosNBT.add(DoubleTag.of(posNBT.getDouble(0) + xBase));
|
||||
// newPosNBT.add(DoubleTag.of(posNBT.getDouble(1) + yBase));
|
||||
// newPosNBT.add(DoubleTag.of(posNBT.getDouble(2) + zBase));
|
||||
// CompoundTag adjustedEntityTag = entityNBT.copy();
|
||||
// adjustedEntityTag.put("Pos", newPosNBT);
|
||||
// adjustedEntityTag.putUuidNew("UUID", UUID.randomUUID());
|
||||
//
|
||||
// world.spawnEntity(EntityType.getEntityFromTag(adjustedEntityTag, world).orElseThrow(() -> new RuntimeException("missing entity type")));
|
||||
// }
|
||||
}
|
||||
|
||||
public BlockState getBlockState(int x, int y, int z) {
|
||||
if (x < 0 || x >= sizeX || y < 0 || y >= sizeY || z < 0 || z >= sizeZ) {
|
||||
return Blocks.AIR.getDefaultState();
|
||||
}
|
||||
|
||||
return palette.get(blockData[x][y][z]);
|
||||
}
|
||||
|
||||
|
@ -396,42 +407,44 @@ public class Schematic {
|
|||
}
|
||||
}
|
||||
|
||||
private void setBlocks(World world, int xBase, int yBase, int zBase) {
|
||||
private void setBlocks(World world, int originX, int originY, int originZ) {
|
||||
LOGGER.debug("Setting chunk blockstates");
|
||||
ServerWorld serverWorld = ((ServerWorld) world);
|
||||
|
||||
long setTime = 0;
|
||||
long relightTime = 0;
|
||||
|
||||
for (int chunkX = 0; chunkX <= (width >> 4) + 1; chunkX++) {
|
||||
for (int chunkZ = 0; chunkZ <= (length >> 4) + 1; chunkZ++) {
|
||||
for (int cx = 0; cx <= (sizeX >> 4) + 1; cx++) {
|
||||
for (int cz = 0; cz <= (sizeZ >> 4) + 1; cz++) {
|
||||
long setStart = System.nanoTime();
|
||||
// Get the chunk only once for efficiency
|
||||
Chunk chunk = world.getChunk((xBase >> 4) + chunkX, (zBase >> 4) + chunkZ);
|
||||
Chunk chunk = world.getChunk((originX >> 4) + cx, (originZ >> 4) + cz);
|
||||
ChunkSection[] sections = chunk.getSectionArray();
|
||||
|
||||
for (int storageY = 0; storageY <= (height >> 4) + 1; storageY++) {
|
||||
// Get the storage only once for eficiency
|
||||
ChunkSection storage = sections[(yBase >> 4) + storageY];
|
||||
boolean setAir = storage != null;
|
||||
for (int cy = 0; cy <= (sizeY >> 4) + 1; cy++) {
|
||||
ChunkSection section = sections[(originY >> 4) + cy];
|
||||
|
||||
for (int x = 0; x < 16; x++) {
|
||||
for (int y = 0; y < 16; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
int sx = (chunkX << 4) + x - (xBase & 0x0F);
|
||||
int sy = (storageY << 4) + y - (yBase & 0x0F);
|
||||
int sz = (chunkZ << 4) + z - (zBase & 0x0F);
|
||||
boolean setAir = true;
|
||||
if (section == null) {
|
||||
section = new ChunkSection((originY >> 4) + cy << 4);
|
||||
sections[(originY >> 4) + cy] = section;
|
||||
setAir = false;
|
||||
}
|
||||
|
||||
if (sx >= 0 && sy >= 0 && sz >= 0 && sx < width && sy < height && sz < length) {
|
||||
BlockState state = palette.get(blockData[sx][sy][sz]);
|
||||
if (!state.getBlock().equals(Blocks.AIR)) {
|
||||
if (storage == null) {
|
||||
storage = new ChunkSection((yBase >> 4) + storageY << 4);
|
||||
sections[(yBase >> 4) + storageY] = storage;
|
||||
}
|
||||
for (int lx = 0; lx < 16; lx++) {
|
||||
for (int ly = 0; ly < 16; ly++) {
|
||||
for (int lz = 0; lz < 16; lz++) {
|
||||
int x = (cx << 4) + lx - (originX & 0x0F);
|
||||
int y = (cy << 4) + ly - (originY & 0x0F);
|
||||
int z = (cz << 4) + lz - (originZ & 0x0F);
|
||||
|
||||
storage.setBlockState(x, y, z, state);
|
||||
} else if (setAir) {
|
||||
storage.setBlockState(x, y, z, state);
|
||||
if (x >= 0 && y >= 0 && z >= 0 && x < sizeX && y < sizeY && z < sizeZ) {
|
||||
BlockState state = palette.get(blockData[x][y][z]);
|
||||
if (setAir || !state.getBlock().equals(Blocks.AIR)) {
|
||||
section.setBlockState(lx, ly, lz, state);
|
||||
|
||||
BlockPos pos = new BlockPos(originX + x, originY + y, originZ + z);
|
||||
serverWorld.getChunkManager().markForUpdate(pos);
|
||||
serverWorld.getLightingProvider().checkBlock(pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -441,7 +454,8 @@ public class Schematic {
|
|||
|
||||
setTime += System.nanoTime() - setStart;
|
||||
long relightStart = System.nanoTime();
|
||||
// TODO: relight
|
||||
|
||||
chunk.setLightOn(false);
|
||||
relightTime += System.nanoTime() - relightStart;
|
||||
}
|
||||
}
|
||||
|
@ -449,4 +463,19 @@ public class Schematic {
|
|||
// TODO: update region
|
||||
LOGGER.debug("Set block states in " + setTime / 1000000 + " ms and relit chunks/cubes in " + relightTime / 1000000);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockEntity getBlockEntity(BlockPos blockPos) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState getBlockState(BlockPos blockPos) {
|
||||
return getBlockState(blockPos.getX(), blockPos.getY(), blockPos.getZ());
|
||||
}
|
||||
|
||||
@Override
|
||||
public FluidState getFluidState(BlockPos blockPos) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
256
src/main/java/org/dimdev/util/schem/SchematicConverter.java
Normal file
256
src/main/java/org/dimdev/util/schem/SchematicConverter.java
Normal file
|
@ -0,0 +1,256 @@
|
|||
package org.dimdev.util.schem;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class SchematicConverter {
|
||||
public static Map<String, String> CONVERSIONS = new HashMap<>();
|
||||
|
||||
public static String updateId(String id) {
|
||||
|
||||
if (id.equals("minecraft:redstone_torch[facing=north]")) {
|
||||
System.out.println();
|
||||
}
|
||||
id = CONVERSIONS.getOrDefault(id, id);
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
static {
|
||||
reloadConversions();
|
||||
}
|
||||
|
||||
public static void reloadConversions() {
|
||||
CONVERSIONS.clear();
|
||||
SeparateClassToAvoidIdeaLag.a();
|
||||
CONVERSIONS.put("minecraft:double_stone_slab[variant=stone_brick]", "minecraft:brick_slab[type=double]");
|
||||
CONVERSIONS.put("minecraft:double_stone_slab", "minecraft:stone_slab[type=double]");
|
||||
CONVERSIONS.put("minecraft:double_stone_slab[seamless=true]", "minecraft:smooth_stone");
|
||||
CONVERSIONS.put("minecraft:double_wooden_slab", "minecraft:oak_slab[type=double]");
|
||||
CONVERSIONS.put("minecraft:wooden_slab[half=top]", "minecraft:oak_slab[type=top]");
|
||||
CONVERSIONS.put("minecraft:wooden_slab", "minecraft:oak_slab");
|
||||
CONVERSIONS.put("minecraft:planks", "minecraft:oak_planks");
|
||||
CONVERSIONS.put("dimdoors:ancient_fabric", "dimdoors:black_ancient_fabric");
|
||||
CONVERSIONS.put("dimdoors:fabric", "dimdoors:black_fabric");
|
||||
CONVERSIONS.put("minecraft:reeds", "minecraft:sugar_cane");
|
||||
CONVERSIONS.put("minecraft:wooden_door", "minecraft:oak_door[facing=north]");
|
||||
CONVERSIONS.put("minecraft:wooden_door[facing=north]", "minecraft:oak_door[facing=north]");
|
||||
CONVERSIONS.put("minecraft:wooden_door[facing=south]", "minecraft:oak_door[facing=south]");
|
||||
CONVERSIONS.put("minecraft:wooden_door[facing=east]", "minecraft:oak_door[facing=east]");
|
||||
CONVERSIONS.put("minecraft:wooden_door[facing=west]", "minecraft:oak_door[facing=west]");
|
||||
CONVERSIONS.put("minecraft:wooden_door[half=upper]", "minecraft:oak_door[half=upper]");
|
||||
CONVERSIONS.put("minecraft:log[variant=spruce]", "minecraft:spruce_log");
|
||||
CONVERSIONS.put("minecraft:bed[facing=south]", "minecraft:red_bed[facing=south,part=foot]");
|
||||
CONVERSIONS.put("minecraft:bed[facing=south,part=head]", "minecraft:red_bed[facing=south,part=head]");
|
||||
|
||||
CONVERSIONS.put("minecraft:double_stone_slab[variant=nether_brick]", "minecraft:nether_brick_slab[type=double]");
|
||||
|
||||
|
||||
CONVERSIONS.put("dimdoors:ancient_fabric[color=white]", "dimdoors:white_ancient_fabric");
|
||||
CONVERSIONS.put("dimdoors:fabric[color=white]", "dimdoors:white_fabric");
|
||||
CONVERSIONS.put("dimdoors:ancient_fabric[color=orange]", "dimdoors:orange_ancient_fabric");
|
||||
CONVERSIONS.put("dimdoors:fabric[color=orange]", "dimdoors:orange_fabric");
|
||||
CONVERSIONS.put("dimdoors:ancient_fabric[color=lightBlue]", "dimdoors:light_blue_ancient_fabric");
|
||||
CONVERSIONS.put("dimdoors:fabric[color=lightBlue]", "dimdoors:light_blue_fabric");
|
||||
|
||||
CONVERSIONS.put("minecraft:wooden_button[facing=north]", "minecraft:oak_button[face=wall,facing=north]");
|
||||
CONVERSIONS.put("minecraft:wooden_button[facing=south]", "minecraft:oak_button[face=wall,facing=south]");
|
||||
CONVERSIONS.put("minecraft:wooden_button[facing=east]", "minecraft:oak_button[face=wall,facing=east]");
|
||||
CONVERSIONS.put("minecraft:wooden_button[facing=west]", "minecraft:oak_button[face=wall,facing=west]");
|
||||
CONVERSIONS.put("minecraft:wooden_button", "minecraft:oak_button[face=wall,facing=north]");
|
||||
|
||||
CONVERSIONS.put("minecraft:fence", "minecraft:oak_fence");
|
||||
CONVERSIONS.put("minecraft:log[axis=z,variant=spruce]", "minecraft:spruce_log[axis=z]");
|
||||
CONVERSIONS.put("minecraft:golden_rail[powered=true,shape=ascending_north]", "minecraft:powered_rail[powered=true,shape=ascending_north]");
|
||||
|
||||
CONVERSIONS.put("minecraft:log", "minecraft:oak_log");
|
||||
CONVERSIONS.put("minecraft:red_flower", "minecraft:poppy");
|
||||
CONVERSIONS.put("minecraft:yellow_flower", "minecraft:dandelion");
|
||||
CONVERSIONS.put("minecraft:wall_sign[facing=north]", "minecraft:oak_wall_sign[facing=north]");
|
||||
CONVERSIONS.put("minecraft:wall_sign[facing=south]", "minecraft:oak_wall_sign[facing=south]");
|
||||
CONVERSIONS.put("minecraft:wall_sign[facing=east]", "minecraft:oak_wall_sign[facing=east]");
|
||||
CONVERSIONS.put("minecraft:wall_sign[facing=west]", "minecraft:oak_wall_sign[facing=west]");
|
||||
CONVERSIONS.put("minecraft:wall_sign", "minecraft:oak_wall_sign[facing=north]");
|
||||
|
||||
CONVERSIONS.put("minecraft:leaves[check_decay=false,decayable=false]", "minecraft:oak_leaves[persistent=true]");
|
||||
CONVERSIONS.put("minecraft:leaves[decayable=false]", "minecraft:oak_leaves[persistent=true]");
|
||||
CONVERSIONS.put("minecraft:leaves[check_decay=false]", "minecraft:oak_leaves[persistent=true]");
|
||||
|
||||
CONVERSIONS.put("minecraft:leaves[variant=jungle]", "minecraft:jungle_leaves[persistent=true]");
|
||||
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:powered_repeater", "minecraft:repeater[facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=1]", "minecraft:repeater[delay=1,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=2]", "minecraft:repeater[delay=2,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=3]", "minecraft:repeater[delay=3,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=4]", "minecraft:repeater[delay=4,facing=north,powered=true]");
|
||||
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=north]", "minecraft:repeater[facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=south]", "minecraft:repeater[facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=east]", "minecraft:repeater[facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=west]", "minecraft:repeater[facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=north,delay=2]", "minecraft:repeater[delay=2,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=south,delay=2]", "minecraft:repeater[delay=2,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=east,delay=2]", "minecraft:repeater[delay=2,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=west,delay=2]", "minecraft:repeater[delay=2,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=north,delay=3]", "minecraft:repeater[delay=3,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=south,delay=3]", "minecraft:repeater[delay=3,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=east,delay=3]", "minecraft:repeater[delay=3,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=west,delay=3]", "minecraft:repeater[delay=3,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=north,delay=4]", "minecraft:repeater[delay=4,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=south,delay=4]", "minecraft:repeater[delay=4,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=east,delay=4]", "minecraft:repeater[delay=4,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[facing=west,delay=4]", "minecraft:repeater[delay=4,facing=west,powered=true]");
|
||||
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater", "minecraft:repeater[facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=1]", "minecraft:repeater[delay=1,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=2]", "minecraft:repeater[delay=2,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=3]", "minecraft:repeater[delay=3,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=4]", "minecraft:repeater[delay=4,facing=north,powered=false]");
|
||||
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=north]", "minecraft:repeater[facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=south]", "minecraft:repeater[facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=east]", "minecraft:repeater[facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=west]", "minecraft:repeater[facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=north,delay=2]", "minecraft:repeater[delay=2,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=south,delay=2]", "minecraft:repeater[delay=2,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=east,delay=2]", "minecraft:repeater[delay=2,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=west,delay=2]", "minecraft:repeater[delay=2,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=north,delay=3]", "minecraft:repeater[delay=3,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=south,delay=3]", "minecraft:repeater[delay=3,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=east,delay=3]", "minecraft:repeater[delay=3,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=west,delay=3]", "minecraft:repeater[delay=3,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=north,delay=4]", "minecraft:repeater[delay=4,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=south,delay=4]", "minecraft:repeater[delay=4,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=east,delay=4]", "minecraft:repeater[delay=4,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[facing=west,delay=4]", "minecraft:repeater[delay=4,facing=west,powered=false]");
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=2,facing=north]", "minecraft:repeater[delay=2,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=2,facing=south]", "minecraft:repeater[delay=2,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=2,facing=east]", "minecraft:repeater[delay=2,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=2,facing=west]", "minecraft:repeater[delay=2,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=3,facing=north]", "minecraft:repeater[delay=3,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=3,facing=south]", "minecraft:repeater[delay=3,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=3,facing=east]", "minecraft:repeater[delay=3,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=3,facing=west]", "minecraft:repeater[delay=3,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=4,facing=north]", "minecraft:repeater[delay=4,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=4,facing=south]", "minecraft:repeater[delay=4,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=4,facing=east]", "minecraft:repeater[delay=4,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_repeater[delay=4,facing=west]", "minecraft:repeater[delay=4,facing=west,powered=false]");
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=2,facing=north]", "minecraft:repeater[delay=2,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=2,facing=south]", "minecraft:repeater[delay=2,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=2,facing=east]", "minecraft:repeater[delay=2,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=2,facing=west]", "minecraft:repeater[delay=2,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=3,facing=north]", "minecraft:repeater[delay=3,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=3,facing=south]", "minecraft:repeater[delay=3,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=3,facing=east]", "minecraft:repeater[delay=3,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=3,facing=west]", "minecraft:repeater[delay=3,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=4,facing=north]", "minecraft:repeater[delay=4,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=4,facing=south]", "minecraft:repeater[delay=4,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=4,facing=east]", "minecraft:repeater[delay=4,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_repeater[delay=4,facing=west]", "minecraft:repeater[delay=4,facing=west,powered=true]");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:powered_comparator", "minecraft:comparator[facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=1]", "minecraft:comparator[delay=1,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=2]", "minecraft:comparator[delay=2,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=3]", "minecraft:comparator[delay=3,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=4]", "minecraft:comparator[delay=4,facing=north,powered=true]");
|
||||
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=north]", "minecraft:comparator[facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=south]", "minecraft:comparator[facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=east]", "minecraft:comparator[facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=west]", "minecraft:comparator[facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=north,delay=2]", "minecraft:comparator[delay=2,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=south,delay=2]", "minecraft:comparator[delay=2,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=east,delay=2]", "minecraft:comparator[delay=2,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=west,delay=2]", "minecraft:comparator[delay=2,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=north,delay=3]", "minecraft:comparator[delay=3,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=south,delay=3]", "minecraft:comparator[delay=3,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=east,delay=3]", "minecraft:comparator[delay=3,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=west,delay=3]", "minecraft:comparator[delay=3,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=north,delay=4]", "minecraft:comparator[delay=4,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=south,delay=4]", "minecraft:comparator[delay=4,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=east,delay=4]", "minecraft:comparator[delay=4,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[facing=west,delay=4]", "minecraft:comparator[delay=4,facing=west,powered=true]");
|
||||
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator", "minecraft:comparator[facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=1]", "minecraft:comparator[delay=1,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=2]", "minecraft:comparator[delay=2,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=3]", "minecraft:comparator[delay=3,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=4]", "minecraft:comparator[delay=4,facing=north,powered=false]");
|
||||
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=north]", "minecraft:comparator[facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=south]", "minecraft:comparator[facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=east]", "minecraft:comparator[facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=west]", "minecraft:comparator[facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=north,delay=2]", "minecraft:comparator[delay=2,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=south,delay=2]", "minecraft:comparator[delay=2,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=east,delay=2]", "minecraft:comparator[delay=2,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=west,delay=2]", "minecraft:comparator[delay=2,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=north,delay=3]", "minecraft:comparator[delay=3,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=south,delay=3]", "minecraft:comparator[delay=3,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=east,delay=3]", "minecraft:comparator[delay=3,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=west,delay=3]", "minecraft:comparator[delay=3,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=north,delay=4]", "minecraft:comparator[delay=4,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=south,delay=4]", "minecraft:comparator[delay=4,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=east,delay=4]", "minecraft:comparator[delay=4,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[facing=west,delay=4]", "minecraft:comparator[delay=4,facing=west,powered=false]");
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=2,facing=north]", "minecraft:comparator[delay=2,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=2,facing=south]", "minecraft:comparator[delay=2,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=2,facing=east]", "minecraft:comparator[delay=2,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=2,facing=west]", "minecraft:comparator[delay=2,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=3,facing=north]", "minecraft:comparator[delay=3,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=3,facing=south]", "minecraft:comparator[delay=3,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=3,facing=east]", "minecraft:comparator[delay=3,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=3,facing=west]", "minecraft:comparator[delay=3,facing=west,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=4,facing=north]", "minecraft:comparator[delay=4,facing=north,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=4,facing=south]", "minecraft:comparator[delay=4,facing=south,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=4,facing=east]", "minecraft:comparator[delay=4,facing=east,powered=false]");
|
||||
CONVERSIONS.put("minecraft:unpowered_comparator[delay=4,facing=west]", "minecraft:comparator[delay=4,facing=west,powered=false]");
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=2,facing=north]", "minecraft:comparator[delay=2,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=2,facing=south]", "minecraft:comparator[delay=2,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=2,facing=east]", "minecraft:comparator[delay=2,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=2,facing=west]", "minecraft:comparator[delay=2,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=3,facing=north]", "minecraft:comparator[delay=3,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=3,facing=south]", "minecraft:comparator[delay=3,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=3,facing=east]", "minecraft:comparator[delay=3,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=3,facing=west]", "minecraft:comparator[delay=3,facing=west,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=4,facing=north]", "minecraft:comparator[delay=4,facing=north,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=4,facing=south]", "minecraft:comparator[delay=4,facing=south,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=4,facing=east]", "minecraft:comparator[delay=4,facing=east,powered=true]");
|
||||
CONVERSIONS.put("minecraft:powered_comparator[delay=4,facing=west]", "minecraft:comparator[delay=4,facing=west,powered=true]");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CONVERSIONS.put("minecraft:stonebrick", "minecraft:stone_bricks");
|
||||
CONVERSIONS.put("minecraft:log[axis=z,variant=jungle]", "minecraft:jungle_log[axis=z]");
|
||||
CONVERSIONS.put("minecraft:unlit_redstone_torch", "minecraft:redstone_torch[lit=false]");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package org.dimdev.util.schem;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraft.block.RedstoneWireBlock;
|
||||
import net.minecraft.block.enums.WireConnection;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.Direction;
|
||||
import net.minecraft.world.BlockView;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
public class SchematicRedstoneFixer {
|
||||
public static void fixRedstone(Schematic schematic) {
|
||||
for (int x = 0; x < schematic.sizeX; x++) {
|
||||
for (int y = 0; y < schematic.sizeY; y++) {
|
||||
for (int z = 0; z < schematic.sizeZ; z++) {
|
||||
BlockState state = schematic.getBlockState(x, y, z);
|
||||
if (state != null && state.getBlock() == Blocks.REDSTONE_WIRE) {
|
||||
int power = state.get(RedstoneWireBlock.POWER);
|
||||
schematic.setBlockState(x, y, z, getPlacementState(schematic, new BlockPos(x, y, z)).with(RedstoneWireBlock.POWER, power));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static BlockState getPlacementState(BlockView world, BlockPos pos) {
|
||||
return Blocks.REDSTONE_WIRE.getDefaultState()
|
||||
.with(RedstoneWireBlock.WIRE_CONNECTION_WEST, getRenderConnectionType(world, pos, Direction.WEST))
|
||||
.with(RedstoneWireBlock.WIRE_CONNECTION_EAST, getRenderConnectionType(world, pos, Direction.EAST))
|
||||
.with(RedstoneWireBlock.WIRE_CONNECTION_NORTH, getRenderConnectionType(world, pos, Direction.NORTH))
|
||||
.with(RedstoneWireBlock.WIRE_CONNECTION_SOUTH, getRenderConnectionType(world, pos, Direction.SOUTH));
|
||||
}
|
||||
|
||||
private static WireConnection getRenderConnectionType(BlockView world, BlockPos pos, Direction direction) {
|
||||
try {
|
||||
Method m = RedstoneWireBlock.class.getDeclaredMethod("getRenderConnectionType", BlockView.class, BlockPos.class, Direction.class);
|
||||
m.setAccessible(true);
|
||||
return (WireConnection) m.invoke(Blocks.REDSTONE_WIRE, world, pos, direction);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
}
|
1741
src/main/java/org/dimdev/util/schem/SeparateClassToAvoidIdeaLag.java
Normal file
1741
src/main/java/org/dimdev/util/schem/SeparateClassToAvoidIdeaLag.java
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"variants": {
|
||||
"color=white": { "model": "dimdoors:blocks/ancient_fabric_white" },
|
||||
"color=orange": { "model": "dimdoors:blocks/ancient_fabric_orange" },
|
||||
"color=magenta": { "model": "dimdoors:blocks/ancient_fabric_magenta" },
|
||||
"color=light_blue": { "model": "dimdoors:blocks/ancient_fabric_light_blue" },
|
||||
"color=yellow": { "model": "dimdoors:blocks/ancient_fabric_yellow" },
|
||||
"color=lime": { "model": "dimdoors:blocks/ancient_fabric_lime" },
|
||||
"color=pink": { "model": "dimdoors:blocks/ancient_fabric_pink" },
|
||||
"color=gray": { "model": "dimdoors:blocks/ancient_fabric_gray" },
|
||||
"color=silver": { "model": "dimdoors:blocks/ancient_fabric_silver" },
|
||||
"color=cyan": { "model": "dimdoors:blocks/ancient_fabric_cyan" },
|
||||
"color=purple": { "model": "dimdoors:blocks/ancient_fabric_purple" },
|
||||
"color=blue": { "model": "dimdoors:blocks/ancient_fabric_blue" },
|
||||
"color=brown": { "model": "dimdoors:blocks/ancient_fabric_brown" },
|
||||
"color=green": { "model": "dimdoors:blocks/ancient_fabric_green" },
|
||||
"color=red": { "model": "dimdoors:blocks/ancient_fabric_red" },
|
||||
"color=black": { "model": "dimdoors:blocks/ancient_fabric_black" }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/black_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/black_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/blue_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/blue_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/brown_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/brown_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/unstable_dimensional_door_top", "y": 180 }
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/unstable_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/unstable_dimensional_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/cyan_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/cyan_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"normal": { "model": "dimdoors:blocks/no_texture" }
|
||||
"normal": { "model": "dimdoors:block/no_texture" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=north,half=bottom,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_bottom" },
|
||||
"facing=south,half=bottom,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_bottom" },
|
||||
"facing=east,half=bottom,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_bottom" },
|
||||
"facing=west,half=bottom,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_bottom" },
|
||||
"facing=north,half=top,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_top" },
|
||||
"facing=south,half=top,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_top" },
|
||||
"facing=east,half=top,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_top" },
|
||||
"facing=west,half=top,open=false": { "model": "dimdoors:blocks/dimensional_trapdoor_top" },
|
||||
"facing=north,half=bottom,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open" },
|
||||
"facing=south,half=bottom,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open", "y": 180 },
|
||||
"facing=east,half=bottom,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open", "y": 90 },
|
||||
"facing=west,half=bottom,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open", "y": 270 },
|
||||
"facing=north,half=top,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open" },
|
||||
"facing=south,half=top,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open", "y": 180 },
|
||||
"facing=east,half=top,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open", "y": 90 },
|
||||
"facing=west,half=top,open=true": { "model": "dimdoors:blocks/dimensional_trapdoor_open", "y": 270 }
|
||||
"facing=north,half=bottom,open=false": { "model": "dimdoors:block/dimensional_trapdoor_bottom" },
|
||||
"facing=south,half=bottom,open=false": { "model": "dimdoors:block/dimensional_trapdoor_bottom" },
|
||||
"facing=east,half=bottom,open=false": { "model": "dimdoors:block/dimensional_trapdoor_bottom" },
|
||||
"facing=west,half=bottom,open=false": { "model": "dimdoors:block/dimensional_trapdoor_bottom" },
|
||||
"facing=north,half=top,open=false": { "model": "dimdoors:block/dimensional_trapdoor_top" },
|
||||
"facing=south,half=top,open=false": { "model": "dimdoors:block/dimensional_trapdoor_top" },
|
||||
"facing=east,half=top,open=false": { "model": "dimdoors:block/dimensional_trapdoor_top" },
|
||||
"facing=west,half=top,open=false": { "model": "dimdoors:block/dimensional_trapdoor_top" },
|
||||
"facing=north,half=bottom,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open" },
|
||||
"facing=south,half=bottom,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open", "y": 180 },
|
||||
"facing=east,half=bottom,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open", "y": 90 },
|
||||
"facing=west,half=bottom,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open", "y": 270 },
|
||||
"facing=north,half=top,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open" },
|
||||
"facing=south,half=top,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open", "y": 180 },
|
||||
"facing=east,half=top,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open", "y": 90 },
|
||||
"facing=west,half=top,open=true": { "model": "dimdoors:block/dimensional_trapdoor_open", "y": 270 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"variants": {
|
||||
"color=white": { "model": "dimdoors:blocks/fabric_white" },
|
||||
"color=orange": { "model": "dimdoors:blocks/fabric_orange" },
|
||||
"color=magenta": { "model": "dimdoors:blocks/fabric_magenta" },
|
||||
"color=light_blue": { "model": "dimdoors:blocks/fabric_light_blue" },
|
||||
"color=yellow": { "model": "dimdoors:blocks/fabric_yellow" },
|
||||
"color=lime": { "model": "dimdoors:blocks/fabric_lime" },
|
||||
"color=pink": { "model": "dimdoors:blocks/fabric_pink" },
|
||||
"color=gray": { "model": "dimdoors:blocks/fabric_gray" },
|
||||
"color=silver": { "model": "dimdoors:blocks/fabric_silver" },
|
||||
"color=cyan": { "model": "dimdoors:blocks/fabric_cyan" },
|
||||
"color=purple": { "model": "dimdoors:blocks/fabric_purple" },
|
||||
"color=blue": { "model": "dimdoors:blocks/fabric_blue" },
|
||||
"color=brown": { "model": "dimdoors:blocks/fabric_brown" },
|
||||
"color=green": { "model": "dimdoors:blocks/fabric_green" },
|
||||
"color=red": { "model": "dimdoors:blocks/fabric_red" },
|
||||
"color=black": { "model": "dimdoors:blocks/fabric_black" }
|
||||
}
|
||||
}
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/blocks/gold_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top", "y": 180 }
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/blocks/gold_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/gold_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/gold_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/gold_door_top", "y": 180 }
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/gold_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/gold_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/gold_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/gold_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/gold_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/gold_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/gold_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/gray_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/gray_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/green_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/green_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/iron_dimensional_door_top", "y": 180 }
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/iron_dimensional_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/iron_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/iron_dimensional_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/iron_dimensional_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/light_blue_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/light_blue_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/light_gray_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/light_gray_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/lime_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/lime_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/magenta_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/magenta_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "dimdoors:blocks/marking_plate" }
|
||||
"": { "model": "dimdoors:block/marking_plate" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/oak_dimensional_door_top", "y": 180 }
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/oak_dimensional_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/oak_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/oak_dimensional_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/oak_dimensional_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/orange_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/orange_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/pink_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/pink_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/purple_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/purple_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,44 +1,44 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": {
|
||||
"model": "dimdoors:blocks/quartz_door_bottom"
|
||||
"model": "dimdoors:block/quartz_door_bottom"
|
||||
},
|
||||
"facing=south,half=lower,hinge=left,open=false": {
|
||||
"model": "dimdoors:blocks/quartz_door_bottom",
|
||||
"model": "dimdoors:block/quartz_door_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=west,half=lower,hinge=left,open=false": {
|
||||
"model": "dimdoors:blocks/quartz_door_bottom",
|
||||
"model": "dimdoors:block/quartz_door_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top", "y": 180 }
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:blocks/quartz_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:blocks/quartz_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:blocks/quartz_door_top", "y": 180 }
|
||||
"facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_bottom" },
|
||||
"facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_bottom", "y": 90 },
|
||||
"facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_bottom", "y": 180 },
|
||||
"facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_bottom", "y": 270 },
|
||||
"facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh" },
|
||||
"facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 90 },
|
||||
"facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 180 },
|
||||
"facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh", "y": 270 },
|
||||
"facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_bottom_rh" },
|
||||
"facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom", "y": 270 },
|
||||
"facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom" },
|
||||
"facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom", "y": 90 },
|
||||
"facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_bottom", "y": 180 },
|
||||
"facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top" },
|
||||
"facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top", "y": 90 },
|
||||
"facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top", "y": 180 },
|
||||
"facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:block/quartz_door_top", "y": 270 },
|
||||
"facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh" },
|
||||
"facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh", "y": 90 },
|
||||
"facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh", "y": 180 },
|
||||
"facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:block/quartz_door_top_rh", "y": 270 },
|
||||
"facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh", "y": 90 },
|
||||
"facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh", "y": 180 },
|
||||
"facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh", "y": 270 },
|
||||
"facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:block/quartz_door_top_rh" },
|
||||
"facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top", "y": 270 },
|
||||
"facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top" },
|
||||
"facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top", "y": 90 },
|
||||
"facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:block/quartz_door_top", "y": 180 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/red_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/red_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"normal": {"model": "dimdoors:blocks/no_texture"}
|
||||
"normal": {"model": "dimdoors:block/no_texture"}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/silver_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/silver_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "dimdoors:blocks/unravelled_fabric" }
|
||||
"": { "model": "dimdoors:block/unravelled_fabric" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/white_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/white_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/yellow_ancient_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "dimdoors:block/yellow_fabric"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/black_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/black_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/blue_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/blue_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/brown_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/brown_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/cyan_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/cyan_fabric" }
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "block/trapdoor_bottom",
|
||||
"textures": {
|
||||
"texture": "dimdoors:blocks/dimensional_trapdoor"
|
||||
"texture": "dimdoors:block/dimensional_trapdoor"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "block/trapdoor_open",
|
||||
"textures": {
|
||||
"texture": "dimdoors:blocks/dimensional_trapdoor"
|
||||
"texture": "dimdoors:block/dimensional_trapdoor"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "block/trapdoor_top",
|
||||
"textures": {
|
||||
"texture": "dimdoors:blocks/dimensional_trapdoor"
|
||||
"texture": "dimdoors:block/dimensional_trapdoor"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/eternal_fabric" }
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_bottom",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/gold_door_lower",
|
||||
"top": "dimdoors:block/gold_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_bottom_rh",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/gold_door_lower",
|
||||
"top": "dimdoors:block/gold_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_top",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/gold_door_lower",
|
||||
"top": "dimdoors:block/gold_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_top_rh",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/gold_door_lower",
|
||||
"top": "dimdoors:block/gold_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/gray_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/gray_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/green_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/green_fabric" }
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_bottom",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/iron_dimensional_door_lower",
|
||||
"top": "dimdoors:block/iron_dimensional_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_bottom_rh",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/iron_dimensional_door_lower",
|
||||
"top": "dimdoors:block/iron_dimensional_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_top",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/iron_dimensional_door_lower",
|
||||
"top": "dimdoors:block/iron_dimensional_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_top_rh",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/iron_dimensional_door_lower",
|
||||
"top": "dimdoors:block/iron_dimensional_door_upper"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/light_blue_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/light_blue_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/light_gray_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/light_gray_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/lime_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/lime_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": { "all": "dimdoors:block/magenta_ancient_fabric" }
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"parent": "dimdoors:block/fullbright",
|
||||
"textures": { "all": "dimdoors:block/magenta_fabric" }
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||
"textures": {
|
||||
"0": "dimdoors:blocks/marking_plate"
|
||||
"0": "dimdoors:block/marking_plate"
|
||||
},
|
||||
"elements": [
|
||||
{
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/door_bottom",
|
||||
"textures": {
|
||||
"bottom": "dimdoors:block/oak_dimensional_door_lower",
|
||||
"top": "dimdoors:block/oak_dimensional_door_upper"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue