Do many TODOs

This commit is contained in:
Runemoro 2018-01-23 03:16:54 -05:00
parent f34ee86039
commit 0b4e063ace
39 changed files with 385 additions and 735 deletions

View file

@ -1,6 +1,7 @@
package org.dimdev.dimdoors; package org.dimdev.dimdoors;
import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.entity.player.EntityPlayerMP;
import org.dimdev.dimdoors.shared.ModConfig;
import org.dimdev.dimdoors.shared.commands.CommandFabricConvert; import org.dimdev.dimdoors.shared.commands.CommandFabricConvert;
import org.dimdev.dimdoors.shared.commands.CommandPocket; import org.dimdev.dimdoors.shared.commands.CommandPocket;
import org.dimdev.dimdoors.shared.commands.CommandDimTeleport; import org.dimdev.dimdoors.shared.commands.CommandDimTeleport;
@ -60,8 +61,8 @@ public class DimDoors {
log = event.getModLog(); log = event.getModLog();
proxy.onPreInitialization(event); proxy.onPreInitialization(event);
configurationFolder = new File(event.getModConfigurationDirectory(), "/DimDoors"); configurationFolder = new File(event.getModConfigurationDirectory(), "/DimDoors");
if (getConfigurationFolder().exists()) { if (configurationFolder.exists()) {
getConfigurationFolder().mkdirs(); configurationFolder.mkdirs();
} }
} }
@ -85,7 +86,7 @@ public class DimDoors {
} }
public static void sendMessage(Entity entity, String text) { public static void sendMessage(Entity entity, String text) {
if (/* TODO: config option && */ entity instanceof EntityPlayerMP) { if (ModConfig.general.useStatusBar && entity instanceof EntityPlayerMP) {
EntityPlayerMP player = (EntityPlayerMP) entity; EntityPlayerMP player = (EntityPlayerMP) entity;
player.sendStatusMessage(new TextComponentString(text), true); player.sendStatusMessage(new TextComponentString(text), true);
} else { } else {

View file

@ -32,7 +32,7 @@ public class ClientProxy extends CommonProxy {
// causing all item variants to be added to the same item (RegistryDelegate.equals compares the names // causing all item variants to be added to the same item (RegistryDelegate.equals compares the names
// of the delegates only). // of the delegates only).
ModelManager.registerModelVariants(); ModelManager.registerModelVariants();
// ModelManager.addCustomStateMappers(); // TODO: fix this ModelManager.addCustomStateMappers();
} }
@Override @Override

View file

@ -49,8 +49,8 @@ public abstract class CommonProxy {
RiftDestination.destinationRegistry.put("limbo", LimboDestination.class); RiftDestination.destinationRegistry.put("limbo", LimboDestination.class);
RiftDestination.destinationRegistry.put("local", LocalDestination.class); RiftDestination.destinationRegistry.put("local", LocalDestination.class);
RiftDestination.destinationRegistry.put("public_pocket", PublicPocketDestination.class); RiftDestination.destinationRegistry.put("public_pocket", PublicPocketDestination.class);
RiftDestination.destinationRegistry.put("pocket_entrance", PocketEntranceDestination.class); RiftDestination.destinationRegistry.put("pocket_entrance", PocketEntranceMarker.class);
RiftDestination.destinationRegistry.put("pocket_exit", PocketExitDestination.class); RiftDestination.destinationRegistry.put("pocket_exit", PocketExitMarker.class);
RiftDestination.destinationRegistry.put("private", PrivateDestination.class); RiftDestination.destinationRegistry.put("private", PrivateDestination.class);
RiftDestination.destinationRegistry.put("private_pocket_exit", PrivatePocketExitDestination.class); RiftDestination.destinationRegistry.put("private_pocket_exit", PrivatePocketExitDestination.class);
RiftDestination.destinationRegistry.put("relative", RelativeDestination.class); RiftDestination.destinationRegistry.put("relative", RelativeDestination.class);

View file

@ -1,140 +1,151 @@
package org.dimdev.dimdoors.shared; package org.dimdev.dimdoors.shared;
import lombok.Getter; import net.minecraftforge.common.config.Config;
import net.minecraftforge.common.config.ConfigManager; import net.minecraftforge.common.config.ConfigManager;
import net.minecraftforge.fml.client.event.ConfigChangedEvent; import net.minecraftforge.fml.client.event.ConfigChangedEvent;
import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import org.dimdev.dimdoors.DimDoors; import org.dimdev.dimdoors.DimDoors;
import net.minecraftforge.common.config.Config; import static net.minecraftforge.common.config.Config.*;
import java.io.File;
@Config(modid = DimDoors.MODID, name = DimDoors.MODID + "/" + DimDoors.MODID, category="") @Config(modid = DimDoors.MODID, name = DimDoors.MODID + "/" + DimDoors.MODID, category="")
@Mod.EventBusSubscriber(modid = DimDoors.MODID) @Mod.EventBusSubscriber(modid = DimDoors.MODID)
public class ModConfig { public final class ModConfig {
@Config.Comment({"General Config Options"}) @Comment("General Config Options")
public static General general = new General(); public static General general = new General();
@Config.Comment({"Pocket Config Options", @Comment({"Pocket Config Options",
"The following values determine the maximum sizes of different kinds of pockets. These values will only influence new worlds."}) "The following values determine the maximum sizes of different kinds of pockets. These values will only influence new worlds."})
public static Pocket pocket = new Pocket(); public static Pocket pocket = new Pocket();
@Config.Comment({"World Generation Config Options"}) @Comment("World Generation Config Options")
public static WorldGen world = new WorldGen(); public static WorldGen world = new WorldGen();
@Config.Comment({"Dungeon Config Options", @Comment({"Dungeon Config Options",
"The following options will determine the depths, wandering offsets and contents of Dungeon Pockets."}) "The following options will determine the depths, wandering offsets and contents of Dungeon Pockets."})
public static Dungeons dungeon = new Dungeons(); public static Dungeons dungeon = new Dungeons();
@Config.Comment({"Monolith Config Options", @Comment({"Monolith Config Options",
"How dangerous are Monoliths"}) "How dangerous are Monoliths"})
public static Monoliths monolith = new Monoliths(); public static Monoliths monolith = new Monoliths();
public static Limbo limbo = new Limbo();
public static class General { public static class General {
@Config.Name("Base Dimension ID") @Name("Base Dimension ID")
@Config.Comment({"Dimension ID of the first Dimensional Doors dimension. Other dimensions will use consecutive IDs.", @Comment({"Dimension ID of the first Dimensional Doors dimension. Other dimensions will use consecutive IDs.",
"WARNING: If you change this after creating a world, you may lose these dimensions.", "WARNING: If you change this after creating a world, you may lose these dimensions.",
"Default: 684"}) "Default: 684"})
@Getter public int dimensionID = 684; public int baseDimensionID = 684;
@Config.Name("Status Bar Messages instead of Chat") @Name("Status Bar Messages instead of Chat")
@Config.Comment({"This gives clients the options to either send messages", @Comment({"This gives clients the options to either send messages",
"through the status bar (true) or through chat (false).", "through the status bar (true) or through chat (false).",
"Default: true"}) "Default: true"})
@Getter public boolean actionMsg = true; public boolean useStatusBar = true;
@Config.Name("Doors Close Behind Players") @Name("Players Close Doors Behind Them")
@Config.Comment({"This options allows Dimensional Doors to automatically close the door once the player steps through.", @Comment({"This options allows Dimensional Doors to automatically close the door once the player steps through.",
"Setting this to true automatically closes the doors, false allows doors to remain open once entered.", "Setting this to true automatically closes the doors, false allows doors to remain open once entered.",
"Default: true"}) "Default: true"})
@Getter public boolean closeDoorBehind = true; public boolean closeDoorBehind = true;
} }
public static class Pocket { public static class Pocket {
@Config.Name("Pocket Grid Size") @Name("Pocket Grid Size")
@Config.Comment({"Sets how many chunks apart all pockets in pocket dimensions should be placed.", @Comment({"Sets how many chunks apart all pockets in pocket dimensions should be placed.",
"Default: 32 [Minimum = 4] [Maximum = 32]"}) "Default: 32 [Minimum = 4] [Maximum = 32]"})
@Config.RangeInt(min=4, max=32) @RangeInt(min=4, max=32)
@Getter public int pocketGridSize = 32; public int pocketGridSize = 32;
@Config.Name("Max Pocket Size") @Name("Max Pocket Size")
@Config.Comment({"Sets how deep and wide any pocket can be.", @Comment({"Sets how large a pocket can be.",
"Default: 15 [Minimum = 0] [Maximum = Pocket Grid Size / 2"}) "Default: 15 [Minimum = 0] [Maximum = Pocket Grid Size / 2"})
@Getter public int maxPocketSize = 15; public int maxPocketSize = 15;
@Config.Name("Private Pocket Size") @Name("Private Pocket Size")
@Config.Comment({"Sets how deep and wide any personal pocket can be.", @Comment({"Sets how large a personal pocket is when initially created.",
"Default: 2 [Minimum = 0] [Maximum = Max Pocket Size]"}) "Default: 2 [Minimum = 0] [Maximum = 7]"})
@Getter public int privatePocketSize = 2; @RangeInt(min = 0, max = 7)
public int initialPrivatePocketSize = 2;
@Config.Name("Public Pocket Size") @Name("Public Pocket Size")
@Config.Comment({"Sets how deep and wide any public pocket can be.", @Comment({"Sets how deep a public pocket created in the overworld will be on average.",
"Pockets created at a deeper depth will have larger sizes.",
"Default: 1 [Minimum = 0] [Maximum = Max Pocket Size]"}) "Default: 1 [Minimum = 0] [Maximum = Max Pocket Size]"})
@Getter public int publicPocketSize = 1; public int basePublicPocketSize = 1;
@Config.Name("Load All Schematics") @Name("Load All Schematics")
@Config.Comment({"Forces all available pocket schematics to load on game-start even if the configured maximum sizes mean that these", @Comment({"Forces all available pocket schematics to load on game-start even if the configured maximum sizes mean that these",
"schematics will never be placed in any naturally generated pockets. This is meant for testing purposes,", "schematics will never be placed in any naturally generated pockets. This is meant for testing purposes,",
"because the //pocket command can be used to force generate these pockets.", "because the /pocket command can be used to force generate these pockets.",
"Default: false"}) "Default: false"})
@Getter public boolean loadAllSchematics = false; public boolean loadAllSchematics = true;
} }
public static class WorldGen { public static class WorldGen {
@Config.Name("Rift Cluster Generation Chance") @Name("Rift Cluster Generation Chance")
@Config.Comment({"Sets the chance (out of 1.0) that a cluster of rifts will generate in a given chunk.", @Comment({"Sets the chance (out of 1.0) that a cluster of rifts will generate in a given chunk.",
"Default: 0.0002 [Minimum = 0] [Maximum = 1]"}) "Default: 0.0002 [Minimum = 0] [Maximum = 1]"})
@Config.RangeDouble(min=0, max=1) @RangeDouble(min=0, max=1)
@Getter public double clusterGenerationChance = 0.0002; public double clusterGenerationChance = 0.0002;
@Config.Name("Rift Cluster Dimension Blacklist") @Name("Rift Cluster Dimension Type Blacklist")
@Config.Comment({"Dimension Blacklist for the generation of Rift Clusters. Add a dimension ID here to prevent", @Comment({"Dimension Type Blacklist for the generation of Rift Clusters. Add a dimension ID here to prevent",
"generation in these dimensions."}) "generation in these dimensions."})
@Getter public int[] riftClusterDimensionBlacklist = {}; public int[] riftClusterDimensionTypeBlacklist = {};
@Config.Name("Gateway Generation Chance") @Name("Gateway Generation Chance")
@Config.Comment({"Sets the chance (out of 1.0) that a Rift Gateway will generate in a given chunk.", @Comment({"Sets the chance (out of 1.0) that a Rift Gateway will generate in a given chunk.",
"Default: 0.0015 [Minimum = 0] [Maximum = 1]"}) "Default: 0.0015 [Minimum = 0] [Maximum = 1]"})
@Config.RangeDouble(min=0, max=1) @RangeDouble(min=0, max=1)
@Getter public double gatewayGenerationChance = 0.0015; public double gatewayGenerationChance = 0.0015;
@Config.Name("Gateway Dimension Blacklist") @Name("Gateway Dimension Type Blacklist")
@Config.Comment({"Dimension Blacklist for the generation of Dimensional Gateways. Add a dimension ID here to prevent", @Comment({"Dimension Blacklist for the generation of Dimensional Gateways. Add a dimension ID here to prevent",
"generation in these dimensions."}) "generation in these dimensions."})
@Getter public int[] gatewayDimensionBlacklist = {}; public int[] gatewayDimensionTypeBlacklist = {};
} }
public static class Dungeons { public static class Dungeons {
@Config.Name("Maximum Dungeon Depth") @Name("Maximum Dungeon Depth")
@Config.Comment({""}) @Comment("The depth at which limbo is located.")
@Config.RangeInt(min = 1, max = 128) @RangeInt(min = 1)
@Getter public int maxDungeonDepth = 100; public int maxDungeonDepth = 100;
} }
public static class Monoliths { public static class Monoliths {
@Config.Name("Dangerous Monoliths") @Name("Dangerous Monoliths")
@Config.Comment({"Are Monoliths in Limbo Dangerous?", @Comment({"Are Monoliths in Limbo Dangerous?",
"Default: false"}) "Default: false"})
@Getter public boolean dangerousLimboMonolithsEnabled = false; public boolean dangerousLimboMonolithsEnabled = false;
@Config.Name("Monolith Teleportation") @Name("Monolith Teleportation")
@Config.Comment({"Is Monolith Teleportation enabled?", @Comment({"Is Monolith Teleportation enabled?",
"Default: true"}) "Default: true"})
@Getter public boolean monolithTeleportationEnabled = true; public boolean monolithTeleportationEnabled = true;
}
@Config.Name("Universal Limbo") public static class Limbo {
@Config.Comment({"Sets whether players are teleported to Limbo when they die in any dimension (except Limbo).", @Name("Universal Limbo")
@Comment({"Sets whether players are teleported to Limbo when they die in any dimension (except Limbo).",
"Normally, players only go to Limbo if they die in a pocket dimension. This setting will not", "Normally, players only go to Limbo if they die in a pocket dimension. This setting will not",
"affect deaths in Limbo, which can be set with the Hardcore Limbo option.", "affect deaths in Limbo, which can be set with the Hardcore Limbo option.",
"Default: false"}) "Default: false"})
@Getter public boolean universalLimboEnabled = false; public boolean universalLimboEnabled = false;
@Name("Hardcore Limbo")
@Comment({"Whether a player dying in limbo should respawn in limbo, making eternal fluid or gold dimensional doors",
"the only way to get out",
"Default: false"})
public boolean hardcoreLimboEnabled = false;
} }
@SubscribeEvent @SubscribeEvent
public static void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) { public static void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) {
if (event.getModID().equals(DimDoors.MODID)) { if (event.getModID().equals(DimDoors.MODID)) {
ConfigManager.sync(event.getModID(), Config.Type.INSTANCE); // Sync config values ConfigManager.sync(event.getModID(), Type.INSTANCE); // Sync config values
} }
} }
} }

View file

@ -17,6 +17,7 @@ import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World; import net.minecraft.world.World;
import org.dimdev.ddutils.Location; import org.dimdev.ddutils.Location;
import org.dimdev.dimdoors.DimDoors; import org.dimdev.dimdoors.DimDoors;
import org.dimdev.dimdoors.shared.ModConfig;
import org.dimdev.dimdoors.shared.rifts.registry.RiftRegistry; import org.dimdev.dimdoors.shared.rifts.registry.RiftRegistry;
import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift; import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift;
import org.dimdev.dimdoors.shared.tileentities.TileEntityFloatingRift; import org.dimdev.dimdoors.shared.tileentities.TileEntityFloatingRift;
@ -42,7 +43,7 @@ public abstract class BlockDimensionalDoor extends BlockDoor implements IRiftPro
boolean successful = rift.teleport(entity); boolean successful = rift.teleport(entity);
if (successful) entity.timeUntilPortal = 0; // Allow the entity to teleport if successful if (successful) entity.timeUntilPortal = 0; // Allow the entity to teleport if successful
if (successful && entity instanceof EntityPlayer) { if (successful && entity instanceof EntityPlayer) {
if (!state.getValue(POWERED)) toggleDoor(world, pos, false); // TODO: config option playerClosesDoorBehind if (ModConfig.general.closeDoorBehind && !state.getValue(POWERED)) toggleDoor(world, pos, false);
if (rift.isCloseAfterPassThrough()) world.destroyBlock(pos, false); if (rift.isCloseAfterPassThrough()) world.destroyBlock(pos, false);
} }
} }
@ -113,7 +114,7 @@ public abstract class BlockDimensionalDoor extends BlockDoor implements IRiftPro
} }
@Override @Override
public ItemStack getItem(World world, BlockPos pos, IBlockState state) { // TODO: use BLOCK_ITEM map public ItemStack getItem(World world, BlockPos pos, IBlockState state) {
return new ItemStack(getItem()); return new ItemStack(getItem());
} }

View file

@ -17,6 +17,7 @@ import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World; import net.minecraft.world.World;
import org.dimdev.dimdoors.DimDoors; import org.dimdev.dimdoors.DimDoors;
import org.dimdev.dimdoors.shared.world.ModDimensions;
import java.util.Random; import java.util.Random;
@ -53,13 +54,12 @@ public class BlockFabric extends BlockColored {
Block block = Block.getBlockFromItem(heldItem.getItem()); Block block = Block.getBlockFromItem(heldItem.getItem());
if (!block.getDefaultState().isNormalCube() || block.hasTileEntity(block.getDefaultState()) if (!block.getDefaultState().isNormalCube() || block.hasTileEntity(block.getDefaultState())
|| block == this || block == this
|| player.isSneaking()) { // TODO: what if the player is holding shift but not sneaking? || player.isSneaking()
|| !ModDimensions.isDimDoorsPocketDimension(world)) {
return false; return false;
} }
if (!world.isRemote) { //@todo on a server, returning false or true determines where the block gets placed? if (!player.isCreative()) heldItem.shrink(1);
if (!player.isCreative()) heldItem.setCount(heldItem.getCount() - 1);
world.setBlockState(pos, block.getStateForPlacement(world, pos, facing, hitX, hitY, hitZ, heldItem.getMetadata(), player, hand)); //choosing getStateForPlacement over getDefaultState, because it will cause directional blocks, like logs to rotate correctly world.setBlockState(pos, block.getStateForPlacement(world, pos, facing, hitX, hitY, hitZ, heldItem.getMetadata(), player, hand)); //choosing getStateForPlacement over getDefaultState, because it will cause directional blocks, like logs to rotate correctly
}
return true; return true;
} }
} }

View file

@ -42,7 +42,7 @@ public class CommandSaveSchem extends CommandBase {
} }
@Override @Override
public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException { // TODO: more pocket commands (replace pocket, get ID, teleport to pocket, etc.) public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException {
// Check that the number of arguments is correct // Check that the number of arguments is correct
if (args.length != 1) { if (args.length != 1) {
sender.sendMessage(new TextComponentString("[DimDoors] Usage: /" + getUsage(sender))); sender.sendMessage(new TextComponentString("[DimDoors] Usage: /" + getUsage(sender)));

View file

@ -22,8 +22,6 @@ import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper; import net.minecraft.util.math.MathHelper;
import net.minecraft.world.World; import net.minecraft.world.World;
import java.util.List;
import static net.minecraft.network.datasync.DataSerializers.*; import static net.minecraft.network.datasync.DataSerializers.*;
public class EntityMonolith extends EntityFlying implements IMob { public class EntityMonolith extends EntityFlying implements IMob {
@ -54,7 +52,7 @@ public class EntityMonolith extends EntityFlying implements IMob {
} }
public boolean isDangerous() { public boolean isDangerous() {
return ModConfig.monolith.isMonolithTeleportationEnabled() && (world.provider instanceof WorldProviderLimbo || ModConfig.monolith.isDangerousLimboMonolithsEnabled()); return ModConfig.monolith.monolithTeleportationEnabled && (world.provider instanceof WorldProviderLimbo || ModConfig.monolith.dangerousLimboMonolithsEnabled);
} }
@Override @Override
@ -72,7 +70,7 @@ public class EntityMonolith extends EntityFlying implements IMob {
@Override @Override
public AxisAlignedBB getCollisionBoundingBox() { public AxisAlignedBB getCollisionBoundingBox() {
return null; // TODO: Is this right? Why check if it intersects anything if it is? return null;
} }
@Override @Override
@ -148,7 +146,7 @@ public class EntityMonolith extends EntityFlying implements IMob {
} }
// Teleport the target player if various conditions are met // Teleport the target player if various conditions are met
if (aggro >= MAX_AGGRO && !world.isRemote && ModConfig.monolith.isMonolithTeleportationEnabled() && !player.isCreative() && isDangerous()) { if (aggro >= MAX_AGGRO && !world.isRemote && ModConfig.monolith.monolithTeleportationEnabled && !player.isCreative() && isDangerous()) {
aggro = 0; aggro = 0;
Location destination = WorldProviderLimbo.getLimboSkySpawn(player); Location destination = WorldProviderLimbo.getLimboSkySpawn(player);
TeleportUtils.teleport(player, destination, 0, 0); TeleportUtils.teleport(player, destination, 0, 0);
@ -214,7 +212,7 @@ public class EntityMonolith extends EntityFlying implements IMob {
playSound(ModSounds.MONK, 1F, 1F); playSound(ModSounds.MONK, 1F, 1F);
soundTime = 100; soundTime = 100;
} }
if (aggroPercent > 0.70 && soundTime < 100) { // TODO: null rather than player? if (aggroPercent > 0.70 && soundTime < 100) {
world.playSound(null, pos, ModSounds.TEARING, SoundCategory.HOSTILE, 1F, (float) (1 + rand.nextGaussian())); world.playSound(null, pos, ModSounds.TEARING, SoundCategory.HOSTILE, 1F, (float) (1 + rand.nextGaussian()));
soundTime = 100 + rand.nextInt(75); soundTime = 100 + rand.nextInt(75);
} }
@ -252,30 +250,19 @@ public class EntityMonolith extends EntityFlying implements IMob {
renderYawOffset = rotationYaw; renderYawOffset = rotationYaw;
} }
@Override @Override
public void writeEntityToNBT(NBTTagCompound nbt) { public void writeEntityToNBT(NBTTagCompound nbt) {
super.writeEntityToNBT(nbt); super.writeEntityToNBT(nbt);
// Store aggro to prevent the player from relogging in to reset monolith aggro
nbt.setInteger("Aggro", aggro); nbt.setInteger("Aggro", aggro);
} }
@Override @Override
public void readEntityFromNBT(NBTTagCompound nbt) { public void readEntityFromNBT(NBTTagCompound nbt) {
super.readEntityFromNBT(nbt); super.readEntityFromNBT(nbt);
// This was aggro / 2 in the old mod to prevent instant teleportation, but players
// Load Monoliths with half aggro so they don't teleport players instantly // could relogin to halve the aggro. Otherwise, why even store aggro?
aggro = nbt.getInteger("Aggro") / 2; aggro = nbt.getInteger("Aggro");
}
@Override
public boolean getCanSpawnHere() {
List<Entity> list = world.getEntitiesWithinAABBExcludingEntity(this, new AxisAlignedBB(posX - 15, posY - 4, posZ - 15, posX + 15, posY + 15, posZ + 15));
if (world.provider instanceof WorldProviderLimbo) {
return list.size() <= 0;
} else if (world.provider instanceof WorldProviderDungeonPocket) { // TODO
return list.size() <= 5 && !world.canBlockSeeSky(new BlockPos(posX, posY, posZ));
}
return true;
} }
} }

View file

@ -20,7 +20,6 @@ public abstract class ItemDimensionalDoor extends ItemDoor {
super(block); super(block);
} }
// TODO: endermen/block placers should set up blocks too, but this method doesn't get called when they place the block
@Override @Override
public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
if (world.isRemote) return EnumActionResult.FAIL; if (world.isRemote) return EnumActionResult.FAIL;

View file

@ -18,7 +18,6 @@ public abstract class ItemDimensionalTrapdoor extends ItemBlock {
super(block); super(block);
} }
// TODO: endermen/block placers should set up blocks too, but this method doesn't get called when they place the block
@Override @Override
public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
boolean replaceable = world.getBlockState(pos).getBlock().isReplaceable(world, pos); // Check this before calling super, since that changes the block boolean replaceable = world.getBlockState(pos).getBlock().isReplaceable(world, pos); // Check this before calling super, since that changes the block

View file

@ -48,7 +48,7 @@ public final class PocketGenerator {
float netherProbability = virtualLocation.getDim() == -1 ? 1 : (float) depth / 200; // TODO: improve nether probability float netherProbability = virtualLocation.getDim() == -1 ? 1 : (float) depth / 200; // TODO: improve nether probability
Random random = new Random(); Random random = new Random();
String group = random.nextFloat() < netherProbability ? "nether" : "ruins"; String group = random.nextFloat() < netherProbability ? "nether" : "ruins";
PocketTemplate pocketTemplate = SchematicHandler.INSTANCE.getRandomTemplate(group, depth, ModConfig.pocket.getMaxPocketSize(), false); PocketTemplate pocketTemplate = SchematicHandler.INSTANCE.getRandomTemplate(group, depth, ModConfig.pocket.maxPocketSize, false);
Pocket pocket = generatePocketFromTemplate(ModDimensions.getDungeonDim(), pocketTemplate, virtualLocation, false); Pocket pocket = generatePocketFromTemplate(ModDimensions.getDungeonDim(), pocketTemplate, virtualLocation, false);
pocketTemplate.setup(pocket, linkTo, linkProperties); pocketTemplate.setup(pocket, linkTo, linkProperties);

View file

@ -21,8 +21,8 @@ import org.dimdev.ddutils.schem.Schematic;
import org.dimdev.dimdoors.DimDoors; import org.dimdev.dimdoors.DimDoors;
import org.dimdev.dimdoors.shared.rifts.RiftDestination; import org.dimdev.dimdoors.shared.rifts.RiftDestination;
import org.dimdev.dimdoors.shared.rifts.TileEntityRift; import org.dimdev.dimdoors.shared.rifts.TileEntityRift;
import org.dimdev.dimdoors.shared.rifts.destinations.PocketEntranceDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PocketEntranceMarker;
import org.dimdev.dimdoors.shared.rifts.destinations.PocketExitDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PocketExitMarker;
import org.dimdev.dimdoors.shared.rifts.registry.LinkProperties; import org.dimdev.dimdoors.shared.rifts.registry.LinkProperties;
import org.dimdev.dimdoors.shared.rifts.registry.RiftRegistry; import org.dimdev.dimdoors.shared.rifts.registry.RiftRegistry;
import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift; import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift;
@ -119,8 +119,8 @@ public class PocketTemplate {
HashMap<TileEntityRift, Float> entranceWeights = new HashMap<>(); HashMap<TileEntityRift, Float> entranceWeights = new HashMap<>();
for (TileEntityRift rift : rifts) { // Find an entrance for (TileEntityRift rift : rifts) { // Find an entrance
if (rift.getDestination() instanceof PocketEntranceDestination) { if (rift.getDestination() instanceof PocketEntranceMarker) {
entranceWeights.put(rift, ((PocketEntranceDestination) rift.getDestination()).getWeight()); entranceWeights.put(rift, ((PocketEntranceMarker) rift.getDestination()).getWeight());
} }
} }
@ -133,14 +133,14 @@ public class PocketTemplate {
// Replace entrances with appropriate destinations // Replace entrances with appropriate destinations
for (TileEntityRift rift : rifts) { for (TileEntityRift rift : rifts) {
RiftDestination dest = rift.getDestination(); RiftDestination dest = rift.getDestination();
if (dest instanceof PocketEntranceDestination) { if (dest instanceof PocketEntranceMarker) {
if (rift == selectedEntrance) { if (rift == selectedEntrance) {
PocketRegistry.instance(dim).markDirty(); PocketRegistry.instance(dim).markDirty();
rift.setDestination(((PocketEntranceDestination) dest).getIfDestination()); rift.setDestination(((PocketEntranceMarker) dest).getIfDestination());
rift.register(); rift.register();
RiftRegistry.instance().addPocketEntrance(pocket, new Location(rift.getWorld(), rift.getPos())); RiftRegistry.instance().addPocketEntrance(pocket, new Location(rift.getWorld(), rift.getPos()));
} else { } else {
rift.setDestination(((PocketEntranceDestination) dest).getOtherwiseDestination()); rift.setDestination(((PocketEntranceMarker) dest).getOtherwiseDestination());
} }
} }
} }
@ -150,7 +150,7 @@ public class PocketTemplate {
// Link pocket exits back // Link pocket exits back
for (TileEntityRift rift : rifts) { for (TileEntityRift rift : rifts) {
RiftDestination dest = rift.getDestination(); RiftDestination dest = rift.getDestination();
if (dest instanceof PocketExitDestination) { if (dest instanceof PocketExitMarker) {
if (linkProperties != null) rift.setProperties(linkProperties); if (linkProperties != null) rift.setProperties(linkProperties);
rift.setDestination(rift.getProperties() == null || !rift.getProperties().oneWay ? linkTo : null); rift.setDestination(rift.getProperties() == null || !rift.getProperties().oneWay ? linkTo : null);
if (rift instanceof TileEntityEntranceRift && !rift.isAlwaysDelete()) { if (rift instanceof TileEntityEntranceRift && !rift.isAlwaysDelete()) {

View file

@ -27,8 +27,6 @@ import org.dimdev.dimdoors.shared.tools.SchematicConverter;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.CompressedStreamTools; import net.minecraft.nbt.CompressedStreamTools;
import org.apache.commons.io.IOUtils; import org.apache.commons.io.IOUtils;
import org.dimdev.dimdoors.shared.world.ModDimensions;
import org.dimdev.pocketlib.PocketRegistry;
/** /**
* @author Robijnvogel * @author Robijnvogel
@ -192,7 +190,7 @@ public class SchematicHandler { // TODO: parts of this should be moved to the or
String name = pocket.has("name") ? pocket.get("name").getAsString() : null; String name = pocket.has("name") ? pocket.get("name").getAsString() : null;
String author = pocket.has("author") ? pocket.get("author").getAsString() : null; String author = pocket.has("author") ? pocket.get("author").getAsString() : null;
int size = pocket.get("size").getAsInt(); int size = pocket.get("size").getAsInt();
if (ModConfig.pocket.isLoadAllSchematics() && size > ModConfig.pocket.getMaxPocketSize()) continue; if (ModConfig.pocket.loadAllSchematics && size > ModConfig.pocket.maxPocketSize) continue;
int baseWeight = pocket.has("baseWeight") ? pocket.get("baseWeight").getAsInt() : 100; int baseWeight = pocket.has("baseWeight") ? pocket.get("baseWeight").getAsInt() : 100;
pocketTemplates.add(new PocketTemplate(group, id, type, name, author, size, baseWeight)); pocketTemplates.add(new PocketTemplate(group, id, type, name, author, size, baseWeight));
} }
@ -288,11 +286,11 @@ public class SchematicHandler { // TODO: parts of this should be moved to the or
} }
public PocketTemplate getPersonalPocketTemplate() { public PocketTemplate getPersonalPocketTemplate() {
return getRandomTemplate("private", -1, Math.min(ModConfig.pocket.getPrivatePocketSize(), PocketRegistry.instance(ModDimensions.getPrivateDim()).getPrivatePocketSize()), true); return getRandomTemplate("private", -1, ModConfig.pocket.initialPrivatePocketSize, true);
} }
public PocketTemplate getPublicPocketTemplate() { public PocketTemplate getPublicPocketTemplate() {
return getRandomTemplate("public", -1, Math.min(ModConfig.pocket.getPublicPocketSize(), PocketRegistry.instance(ModDimensions.getPublicDim()).getPublicPocketSize()), true); return getRandomTemplate("public", -1, ModConfig.pocket.basePublicPocketSize, true);
} }
public void saveSchematic(Schematic schematic, String id) { public void saveSchematic(Schematic schematic, String id) {

View file

@ -37,7 +37,7 @@ import java.util.Set;
@Saved protected double coordFactor; @Saved protected double coordFactor;
@Saved protected double positiveDepthFactor; @Saved protected double positiveDepthFactor;
@Saved protected double negativeDepthFactor; @Saved protected double negativeDepthFactor;
@Saved protected Set<Integer> acceptedGroups; // TODO: this should be immutable @Saved protected Set<Integer> acceptedGroups;
@Saved protected boolean noLink; @Saved protected boolean noLink;
@Saved protected boolean noLinkBack; @Saved protected boolean noLinkBack;
// TODO: better depth calculation // TODO: better depth calculation

View file

@ -16,7 +16,7 @@ import org.dimdev.dimdoors.shared.rifts.RiftDestination;
import org.dimdev.dimdoors.shared.rifts.TileEntityRift; import org.dimdev.dimdoors.shared.rifts.TileEntityRift;
@Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString @Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString
@NBTSerializable public class LocalDestination extends RiftDestination { // TODO: use BlockPos @NBTSerializable public class LocalDestination extends RiftDestination {
@Saved protected BlockPos target; @Saved protected BlockPos target;
public LocalDestination() {} public LocalDestination() {}

View file

@ -15,12 +15,12 @@ import net.minecraft.nbt.NBTTagCompound;
import org.dimdev.dimdoors.shared.rifts.RiftDestination; import org.dimdev.dimdoors.shared.rifts.RiftDestination;
@Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString @Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString
@NBTSerializable public class PocketEntranceDestination extends RiftDestination { // TODO: not exactly a destination @NBTSerializable public class PocketEntranceMarker extends RiftDestination {
@Builder.Default @Saved protected float weight = 1; @Builder.Default @Saved protected float weight = 1;
/*@Saved*/ protected RiftDestination ifDestination; /*@Saved*/ protected RiftDestination ifDestination;
/*@Saved*/ protected RiftDestination otherwiseDestination; /*@Saved*/ protected RiftDestination otherwiseDestination;
public PocketEntranceDestination() {} public PocketEntranceMarker() {}
@Override public void readFromNBT(NBTTagCompound nbt) { @Override public void readFromNBT(NBTTagCompound nbt) {
super.readFromNBT(nbt); super.readFromNBT(nbt);

View file

@ -12,8 +12,8 @@ import net.minecraft.nbt.NBTTagCompound;
import org.dimdev.dimdoors.shared.rifts.RiftDestination; import org.dimdev.dimdoors.shared.rifts.RiftDestination;
@Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString @Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString
public class PocketExitDestination extends RiftDestination { // TODO: not exactly a destination public class PocketExitMarker extends RiftDestination {
//public PocketExitDestination() {} //public PocketExitMarker() {}
@Override @Override
public void readFromNBT(NBTTagCompound nbt) { public void readFromNBT(NBTTagCompound nbt) {

View file

@ -55,7 +55,7 @@ public class PrivateDestination extends RiftDestination {
return true; return true;
} }
} else { } else {
return false; // TODO: There should be a way to get other entities into your private pocket, though. Add API for other mods. return false;
} }
} }

View file

@ -16,7 +16,7 @@ import org.dimdev.dimdoors.shared.rifts.RiftDestination;
import org.dimdev.dimdoors.shared.rifts.TileEntityRift; import org.dimdev.dimdoors.shared.rifts.TileEntityRift;
@Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString @Getter @AllArgsConstructor @Builder(toBuilder = true) @ToString
@NBTSerializable public class RelativeDestination extends RiftDestination { // TODO: use Vec3i @NBTSerializable public class RelativeDestination extends RiftDestination {
@Saved protected Vec3i offset; @Saved protected Vec3i offset;
public RelativeDestination() {} public RelativeDestination() {}

View file

@ -90,7 +90,7 @@ import java.util.Random;
return oldState.getBlock() != newSate.getBlock(); return oldState.getBlock() != newSate.getBlock();
} }
public RGBA getEntranceRenderColor(Random rand) { // TODO: custom color public RGBA getEntranceRenderColor(Random rand) {
float red, green, blue; float red, green, blue;
switch(world.provider.getDimension()) { switch(world.provider.getDimension()) {
case -1: // Nether case -1: // Nether

View file

@ -22,8 +22,8 @@ import org.dimdev.dimdoors.shared.blocks.BlockFabric;
import org.dimdev.dimdoors.shared.blocks.BlockFabricAncient; import org.dimdev.dimdoors.shared.blocks.BlockFabricAncient;
import org.dimdev.dimdoors.shared.blocks.ModBlocks; import org.dimdev.dimdoors.shared.blocks.ModBlocks;
import org.dimdev.dimdoors.shared.rifts.RiftDestination; import org.dimdev.dimdoors.shared.rifts.RiftDestination;
import org.dimdev.dimdoors.shared.rifts.destinations.PocketEntranceDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PocketEntranceMarker;
import org.dimdev.dimdoors.shared.rifts.destinations.PocketExitDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PocketExitMarker;
import org.dimdev.dimdoors.shared.rifts.destinations.PrivatePocketExitDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PrivatePocketExitDestination;
import org.dimdev.dimdoors.shared.rifts.registry.LinkProperties; import org.dimdev.dimdoors.shared.rifts.registry.LinkProperties;
import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift; import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift;
@ -99,7 +99,7 @@ public final class PocketSchematicGenerator {
ModBlocks.ANCIENT_FABRIC.getDefaultState(), // outer wall ModBlocks.ANCIENT_FABRIC.getDefaultState(), // outer wall
ModBlocks.FABRIC.getDefaultState(), // inner wall ModBlocks.FABRIC.getDefaultState(), // inner wall
ModBlocks.DIMENSIONAL_DOOR, // door ModBlocks.DIMENSIONAL_DOOR, // door
PocketExitDestination.builder().build(),// exit rift destination PocketExitMarker.builder().build(),// exit rift destination
LinkProperties.builder() LinkProperties.builder()
.groups(Collections.singleton(1)) .groups(Collections.singleton(1))
.linksRemaining(1) .linksRemaining(1)
@ -169,7 +169,7 @@ public final class PocketSchematicGenerator {
// Set the rift entities // Set the rift entities
schematic.tileEntities = new ArrayList<>(); schematic.tileEntities = new ArrayList<>();
TileEntityEntranceRift rift = (TileEntityEntranceRift) doorBlock.createTileEntity(null, doorBlock.getDefaultState()); TileEntityEntranceRift rift = (TileEntityEntranceRift) doorBlock.createTileEntity(null, doorBlock.getDefaultState());
rift.setDestination(PocketEntranceDestination.builder() rift.setDestination(PocketEntranceMarker.builder()
.ifDestination(exitDest) .ifDestination(exitDest)
.build()); .build());
rift.setProperties(link); rift.setProperties(link);

View file

@ -24,8 +24,8 @@ import org.dimdev.dimdoors.shared.blocks.ModBlocks;
import org.dimdev.dimdoors.shared.entities.EntityMonolith; import org.dimdev.dimdoors.shared.entities.EntityMonolith;
import org.dimdev.dimdoors.shared.items.ModItems; import org.dimdev.dimdoors.shared.items.ModItems;
import org.dimdev.dimdoors.shared.rifts.destinations.AvailableLinkDestination; import org.dimdev.dimdoors.shared.rifts.destinations.AvailableLinkDestination;
import org.dimdev.dimdoors.shared.rifts.destinations.PocketEntranceDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PocketEntranceMarker;
import org.dimdev.dimdoors.shared.rifts.destinations.PocketExitDestination; import org.dimdev.dimdoors.shared.rifts.destinations.PocketExitMarker;
import org.dimdev.dimdoors.shared.rifts.registry.LinkProperties; import org.dimdev.dimdoors.shared.rifts.registry.LinkProperties;
import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift; import org.dimdev.dimdoors.shared.tileentities.TileEntityEntranceRift;
@ -331,9 +331,9 @@ public final class SchematicConverter {
//DimDoors.log.error("Someone placed a door on a sandstone block at the bottom of a schematic. This causes problems and should be remedied. Schematic name: " + schematicId); //DimDoors.log.error("Someone placed a door on a sandstone block at the bottom of a schematic. This causes problems and should be remedied. Schematic name: " + schematicId);
} }
} else { } else {
rift.setDestination(PocketEntranceDestination.builder() rift.setDestination(PocketEntranceMarker.builder()
.weight(1) .weight(1)
.ifDestination(PocketExitDestination.builder().build()) .ifDestination(PocketExitMarker.builder().build())
.otherwiseDestination(AvailableLinkDestination.builder() .otherwiseDestination(AvailableLinkDestination.builder()
.acceptedGroups(Collections.singleton(0)) .acceptedGroups(Collections.singleton(0))
.coordFactor(1) .coordFactor(1)

View file

@ -27,7 +27,7 @@ public final class ModBiomes {
WHITE_VOID, WHITE_VOID,
BLACK_VOID, BLACK_VOID,
DANGEROUS_BLACK_VOID); DANGEROUS_BLACK_VOID);
BiomeDictionary.addTypes(LIMBO, BiomeDictionary.Type.VOID); // TODO: check that this prevents other mods' worldgen (ex. Biomes O' Plenty) BiomeDictionary.addTypes(LIMBO, BiomeDictionary.Type.VOID);
BiomeDictionary.addTypes(WHITE_VOID, BiomeDictionary.Type.VOID); BiomeDictionary.addTypes(WHITE_VOID, BiomeDictionary.Type.VOID);
BiomeDictionary.addTypes(BLACK_VOID, BiomeDictionary.Type.VOID); BiomeDictionary.addTypes(BLACK_VOID, BiomeDictionary.Type.VOID);
BiomeDictionary.addTypes(DANGEROUS_BLACK_VOID, BiomeDictionary.Type.VOID); BiomeDictionary.addTypes(DANGEROUS_BLACK_VOID, BiomeDictionary.Type.VOID);

View file

@ -28,7 +28,7 @@ public final class ModDimensions {
@SuppressWarnings("UnusedAssignment") @SuppressWarnings("UnusedAssignment")
public static void registerDimensions() { public static void registerDimensions() {
// TODO: more than 1 dimension/dimension type // TODO: more than 1 dimension/dimension type
int dim = ModConfig.general.getDimensionID(); int dim = ModConfig.general.baseDimensionID;
limboDim = dim++; limboDim = dim++;
privateDim = dim++; privateDim = dim++;
publicDim = dim++; publicDim = dim++;

View file

@ -61,8 +61,8 @@ public class GatewayGenerator implements IWorldGenerator {
// Check if we're allowed to generate rift clusters in this dimension. // Check if we're allowed to generate rift clusters in this dimension.
// If so, randomly decide whether to one. // If so, randomly decide whether to one.
boolean clusterGenerated = false; boolean clusterGenerated = false;
if (!Arrays.asList(ModConfig.world.getRiftClusterDimensionBlacklist()).contains(world.provider.getDimensionType().getId())) { if (Arrays.binarySearch(ModConfig.world.riftClusterDimensionTypeBlacklist, world.provider.getDimensionType().getId()) != -1) {
double clusterGenChance = ModConfig.world.getClusterGenerationChance(); double clusterGenChance = ModConfig.world.clusterGenerationChance;
while (clusterGenChance > 0.0) { while (clusterGenChance > 0.0) {
if (random.nextDouble() < clusterGenChance) { if (random.nextDouble() < clusterGenChance) {
do { do {
@ -91,8 +91,8 @@ public class GatewayGenerator implements IWorldGenerator {
// Check if we can place a Rift Gateway in this dimension, then randomly decide whether to place one. // Check if we can place a Rift Gateway in this dimension, then randomly decide whether to place one.
// This only happens if a rift cluster was NOT generated. // This only happens if a rift cluster was NOT generated.
if (!clusterGenerated && !Arrays.asList(ModConfig.world.getGatewayDimensionBlacklist()).contains(world.provider.getDimensionType().getId())) { if (!clusterGenerated && Arrays.binarySearch(ModConfig.world.gatewayDimensionTypeBlacklist, world.provider.getDimensionType().getId()) != -1) {
double gatewayGenChance = ModConfig.world.getGatewayGenerationChance(); double gatewayGenChance = ModConfig.world.gatewayGenerationChance;
while (gatewayGenChance > 0.0) { while (gatewayGenChance > 0.0) {
if (random.nextDouble() < gatewayGenChance) { if (random.nextDouble() < gatewayGenChance) {
valid = false; valid = false;

View file

@ -38,8 +38,6 @@ public class BiomeLimbo extends Biome {
decorator.generateFalls = false; decorator.generateFalls = false;
} }
// TODO: move generation here
// Some mods like RFTools rely on the decorator being present, so we need to create one even if we don't use it. // Some mods like RFTools rely on the decorator being present, so we need to create one even if we don't use it.
//@Override public BiomeDecorator createBiomeDecorator() { return null; } //@Override public BiomeDecorator createBiomeDecorator() { return null; }

View file

@ -1,9 +1,7 @@
package org.dimdev.dimdoors.shared.world.limbo; package org.dimdev.dimdoors.shared.world.limbo;
import net.minecraft.entity.EnumCreatureType; import net.minecraft.entity.EnumCreatureType;
import net.minecraft.init.Biomes;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraft.world.WorldEntitySpawner; import net.minecraft.world.WorldEntitySpawner;
import net.minecraft.world.biome.Biome; import net.minecraft.world.biome.Biome;
@ -18,8 +16,6 @@ import javax.annotation.Nullable;
import java.util.List; import java.util.List;
import java.util.Random; import java.util.Random;
// TODO: Deobfuscate the original Minecraft code too, compare differences,
// TODO: check if LimboGenerator can be converted to a biome
public class LimboGenerator implements IChunkGenerator { public class LimboGenerator implements IChunkGenerator {
private Random rand; private Random rand;
@ -28,16 +24,11 @@ public class LimboGenerator implements IChunkGenerator {
private NoiseGeneratorOctaves minLimitPerlinNoise; private NoiseGeneratorOctaves minLimitPerlinNoise;
private NoiseGeneratorOctaves maxLimitPerlinNoise; private NoiseGeneratorOctaves maxLimitPerlinNoise;
private NoiseGeneratorOctaves mainPerlinNoise; private NoiseGeneratorOctaves mainPerlinNoise;
//private NoiseGeneratorOctaves surfaceNoise;
//public NoiseGeneratorOctaves scaleNoise;
public NoiseGeneratorOctaves depthNoise; public NoiseGeneratorOctaves depthNoise;
//public NoiseGeneratorOctaves mobSpawnerNoise; // TODO: right name?
// Noise regions
double[] mainNoiseRegion; double[] mainNoiseRegion;
double[] minLimitRegion; double[] minLimitRegion;
double[] maxLimitRegion; double[] maxLimitRegion;
//double[] scaleNoiseRegion;
private World world; private World world;
private double[] heightMap; private double[] heightMap;
@ -45,8 +36,6 @@ public class LimboGenerator implements IChunkGenerator {
private Biome[] biomesForGeneration = {ModBiomes.LIMBO}; private Biome[] biomesForGeneration = {ModBiomes.LIMBO};
double[] depthRegion; double[] depthRegion;
float[] parabolicField; // This is actually a better name than the new MCP name biomeWeights (except that it's not a parabola)
//int[][] field_73219_j = new int[32][32];
public LimboGenerator(World world, long seed) { public LimboGenerator(World world, long seed) {
this.world = world; this.world = world;
@ -54,10 +43,7 @@ public class LimboGenerator implements IChunkGenerator {
minLimitPerlinNoise = new NoiseGeneratorOctaves(rand, 16); //base terrain minLimitPerlinNoise = new NoiseGeneratorOctaves(rand, 16); //base terrain
maxLimitPerlinNoise = new NoiseGeneratorOctaves(rand, 16); //hillyness maxLimitPerlinNoise = new NoiseGeneratorOctaves(rand, 16); //hillyness
mainPerlinNoise = new NoiseGeneratorOctaves(rand, 80); //seems to adjust the size of features, how stretched things are -default 8 mainPerlinNoise = new NoiseGeneratorOctaves(rand, 80); //seems to adjust the size of features, how stretched things are -default 8
//surfaceNoise = new NoiseGeneratorOctaves(rand, 4);
//scaleNoise = new NoiseGeneratorOctaves(rand, 10);
depthNoise = new NoiseGeneratorOctaves(rand, 16); depthNoise = new NoiseGeneratorOctaves(rand, 16);
//mobSpawnerNoise = new NoiseGeneratorOctaves(rand, 8); // TODO: is this named right?
this.world = world; this.world = world;
} }
@ -72,7 +58,6 @@ public class LimboGenerator implements IChunkGenerator {
if (!chunk.isTerrainPopulated()) { if (!chunk.isTerrainPopulated()) {
chunk.setTerrainPopulated(true); chunk.setTerrainPopulated(true);
//spawner.registerChunkForPopulation(properties.LimboDimensionID, chunkX, chunkZ);
} }
return chunk; return chunk;
@ -80,7 +65,6 @@ public class LimboGenerator implements IChunkGenerator {
@Override @Override
public void populate(int x, int z) { public void populate(int x, int z) {
// TODO: custom spawning?
Biome biome = world.getBiome(new BlockPos(x * 16 + 16, 0, z * 16 + 16)); Biome biome = world.getBiome(new BlockPos(x * 16 + 16, 0, z * 16 + 16));
WorldEntitySpawner.performWorldGenSpawning(world, biome, x * 16 + 8, z * 16 + 8, 16, 16, rand); WorldEntitySpawner.performWorldGenSpawning(world, biome, x * 16 + 8, z * 16 + 8, 16, 16, rand);
} }
@ -93,21 +77,8 @@ public class LimboGenerator implements IChunkGenerator {
private double[] generateHeightmap(double[] heightMap, int xOffset, int yOffset, int zOffset, int xSize, int ySize, int zSize) { private double[] generateHeightmap(double[] heightMap, int xOffset, int yOffset, int zOffset, int xSize, int ySize, int zSize) {
if (heightMap == null) heightMap = new double[xSize * ySize * zSize]; if (heightMap == null) heightMap = new double[xSize * ySize * zSize];
// Generate the "5x5" parabolicField array, acting as weights for a weighted average between biomes
if (parabolicField == null) {
parabolicField = new float[25];
for (int fieldX = -2; fieldX <= 2; ++fieldX) {
for (int fieldY = -2; fieldY <= 2; ++fieldY) {
float value = 10.0F / MathHelper.sqrt(fieldX * fieldX + fieldY * fieldY + 0.2F);
parabolicField[fieldX + 2 + (fieldY + 2) * 5] = value;
}
}
}
double xzScale = 884.412D; //large values here create spiky land. add a 0, good -default 884, these are configurable in vanilla double xzScale = 884.412D; //large values here create spiky land. add a 0, good -default 884, these are configurable in vanilla
double yScale = 9840.412D; //large values here make sheets- default - 684 double yScale = 9840.412D; //large values here make sheets- default - 684
//scaleNoiseRegion = scaleNoise.generateNoiseOctaves(scaleNoiseRegion, xOffset, zOffset, xSize, zSize, 1.121D, 1.121D, 0.5D);
depthRegion = depthNoise.generateNoiseOctaves(depthRegion, xOffset, zOffset, xSize, zSize, 200.0D, 200.0D, 0.5D); depthRegion = depthNoise.generateNoiseOctaves(depthRegion, xOffset, zOffset, xSize, zSize, 200.0D, 200.0D, 0.5D);
mainNoiseRegion = mainPerlinNoise.generateNoiseOctaves(mainNoiseRegion, xOffset, yOffset, zOffset, xSize, ySize, zSize, xzScale / 80.0D, yScale / 160.0D, xzScale / 80.0D); mainNoiseRegion = mainPerlinNoise.generateNoiseOctaves(mainNoiseRegion, xOffset, yOffset, zOffset, xSize, ySize, zSize, xzScale / 80.0D, yScale / 160.0D, xzScale / 80.0D);
@ -118,38 +89,13 @@ public class LimboGenerator implements IChunkGenerator {
int depthRegionIndex = 0; int depthRegionIndex = 0;
for (int x = 0; x < xSize; x++) { for (int x = 0; x < xSize; x++) {
for (int z = 0; z < zSize; z++) { for (int z = 0; z < zSize; z++) {
float averageScale = 0.0F; // These were were static but calculated by some wrongly-converted biome blend code (which is unnecessary
float averageDepth = 0.0F; // since there is only one biome in limbo)
float totalWeight = 0.0F; float heightVariation = 5.959498f;
float baseHeight = -1.3523747f;
// TODO: why not just remove all of this since it's constant (only 1 biome in limbo)? heightVariation = heightVariation * 0.9F + 0.1F;
// Seems to be used to blend in two different biomes' map baseHeight = (baseHeight * 4.0F - 1.0F) / 8.0F;
for (int fieldX = -2; fieldX <= 2; fieldX++) {
for (int fieldY = -2; fieldY <= 2; fieldY++) {
int index = fieldX + 2 + (fieldY + 2) * 5; // Index in the "5x5" parabolicField array
// This adjusts the height of the terrain
int depthOffset = -1;
int scaleOffset = 4;
// Vanilla is + 2.0F rather than + 9.0F
float weight = parabolicField[index] / (Biomes.PLAINS.getBaseHeight() + 9.0F);
// biomeDepthWeight = biomeScaleWeight = 1 since we have only 1 biome
// TODO: There are missing parentheses around the addition, this was
// TODO: obviously a mistake when simplifying the vanila code, otherwise
// TODO: we're not calculating a weighted average. We should re-add these
// TODO: without changing the appearance of limbo.
averageScale += scaleOffset + Biomes.PLAINS.getHeightVariation() * weight;
averageDepth += depthOffset + Biomes.PLAINS.getBaseHeight() * weight;
totalWeight += weight;
}
}
averageScale /= totalWeight;
averageDepth /= totalWeight;
averageScale = averageScale * 0.9F + 0.1F;
averageDepth = (averageDepth * 4.0F - 1.0F) / 8.0F;
double depthOffset = depthRegion[depthRegionIndex] / 8000.0D; // TODO: is depthOffset a right name? double depthOffset = depthRegion[depthRegionIndex] / 8000.0D; // TODO: is depthOffset a right name?
// Transform depthOffset based on this function (https://goo.gl/ZDXra8) // Transform depthOffset based on this function (https://goo.gl/ZDXra8)
@ -169,13 +115,13 @@ public class LimboGenerator implements IChunkGenerator {
depthRegionIndex++; depthRegionIndex++;
for (int y = 0; y < ySize; y++) { for (int y = 0; y < ySize; y++) {
double depth = averageDepth; double depth = baseHeight;
depth += depthOffset * 0.2D; depth += depthOffset * 0.2D;
depth = depth * ySize / 16.0D; depth = depth * ySize / 16.0D;
depth = ySize / 2.0D + depth * 4.0D; // This was a separate double var28 in vanilla depth = ySize / 2.0D + depth * 4.0D; // This was a separate double var28 in vanilla
// TODO: is heightOffset named right? // TODO: is heightOffset named right?
double heightOffset = (y - depth) * 12.0D * 128.0D / 128.0D / (double) averageScale; // Vanilla was * 128D / 256D, configurable double heightOffset = (y - depth) * 12.0D * 128.0D / 128.0D / (double) heightVariation; // Vanilla was * 128D / 256D, configurable
if (heightOffset < 0.0D) { if (heightOffset < 0.0D) {
heightOffset *= 4.0D; heightOffset *= 4.0D;
@ -213,7 +159,7 @@ public class LimboGenerator implements IChunkGenerator {
@SuppressWarnings("LocalVariableNamingConvention") @SuppressWarnings("LocalVariableNamingConvention")
public void setBlocksInChunk(int x, int z, ChunkPrimer primer) { public void setBlocksInChunk(int x, int z, ChunkPrimer primer) {
biomesForGeneration = world.getBiomeProvider().getBiomesForGeneration(biomesForGeneration, x * 4 - 2, z * 4 - 2, 10, 10); biomesForGeneration = world.getBiomeProvider().getBiomesForGeneration(biomesForGeneration, x * 4 - 2, z * 4 - 2, 10, 10);
heightMap = generateHeightmap(heightMap, x * 4, 0, z * 4, 5, 17, 5); // TODO: vanilla ySize is 33 heightMap = generateHeightmap(heightMap, x * 4, 0, z * 4, 5, 17, 5); // vanilla ySize is 33
int xzSectionCount = 4; int xzSectionCount = 4;
int xzSectionSize = 4; int xzSectionSize = 4;
@ -282,7 +228,6 @@ public class LimboGenerator implements IChunkGenerator {
@Override @Override
public List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos) { public List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos) {
// TODO: custom spawning?
Biome biome = world.getBiome(pos); Biome biome = world.getBiome(pos);
return biome.getSpawnableList(creatureType); return biome.getSpawnableList(creatureType);
} }

View file

@ -17,6 +17,7 @@ import net.minecraftforge.fml.relauncher.SideOnly;
import org.dimdev.ddutils.Location; import org.dimdev.ddutils.Location;
import org.dimdev.ddutils.render.CloudRenderBlank; import org.dimdev.ddutils.render.CloudRenderBlank;
import org.dimdev.dimdoors.DimDoors; import org.dimdev.dimdoors.DimDoors;
import org.dimdev.dimdoors.shared.ModConfig;
import org.dimdev.dimdoors.shared.blocks.ModBlocks; import org.dimdev.dimdoors.shared.blocks.ModBlocks;
import org.dimdev.dimdoors.shared.sound.ModSounds; import org.dimdev.dimdoors.shared.sound.ModSounds;
import org.dimdev.dimdoors.shared.world.ModBiomes; import org.dimdev.dimdoors.shared.world.ModBiomes;
@ -41,7 +42,7 @@ public class WorldProviderLimbo extends WorldProvider {
@Override @Override
public boolean canRespawnHere() { public boolean canRespawnHere() {
return false; // TODO: properties.HardcoreLimboEnabled; return ModConfig.limbo.hardcoreLimboEnabled;
} }
@Override @Override
@ -90,9 +91,9 @@ public class WorldProviderLimbo extends WorldProvider {
return new LimboGenerator(world, world.getSeed()); return new LimboGenerator(world, world.getSeed());
} }
public static Location getLimboSkySpawn(Entity entity) { // TODO: move this into projectToLimbo public static Location getLimboSkySpawn(Entity entity) { // TODO: move this somewhere else
int x = (int) entity.posX + MathHelper.clamp(entity.world.rand.nextInt(), -100, 100); // TODO: -properties.LimboEntryRange, properties.LimboEntryRange); int x = (int) entity.posX + MathHelper.clamp(entity.world.rand.nextInt(), 100, 100);
int z = (int) entity.posZ + MathHelper.clamp(entity.world.rand.nextInt(), -100, 100); // TODO: -properties.LimboEntryRange, properties.LimboEntryRange); int z = (int) entity.posZ + MathHelper.clamp(entity.world.rand.nextInt(), -100, 100);
return new Location(ModDimensions.LIMBO.getId(), x, 700, z); return new Location(ModDimensions.LIMBO.getId(), x, 700, z);
} }

View file

@ -14,7 +14,7 @@ public class BiomeBlank extends Biome {
private final boolean white; private final boolean white;
public BiomeBlank(boolean white, boolean monoliths) { // TODO: split this class public BiomeBlank(boolean white, boolean monoliths) {
super(new BiomeProperties((monoliths ? "Dangerous " : "") + (white ? "White" : "Black") + " Void") super(new BiomeProperties((monoliths ? "Dangerous " : "") + (white ? "White" : "Black") + " Void")
.setBaseHeight(0F) .setBaseHeight(0F)
.setHeightVariation(0F) .setHeightVariation(0F)
@ -56,7 +56,6 @@ public class BiomeBlank extends Biome {
return white ? 0xFCFCFC : 0x000000; // https://bugs.mojang.com/projects/MC/issues/MC-123703 return white ? 0xFCFCFC : 0x000000; // https://bugs.mojang.com/projects/MC/issues/MC-123703
} }
// TODO: check that black/white grass and foliage in getModdedBiomeGrassColor is compatible with other mods such as Quark's greener grass option
@Override @Override
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public int getGrassColorAtPos(BlockPos pos) { public int getGrassColorAtPos(BlockPos pos) {

View file

@ -63,9 +63,7 @@ import org.dimdev.dimdoors.shared.ModConfig;
} }
public void initNewRegistry() { public void initNewRegistry() {
gridSize = ModConfig.pocket.getPocketGridSize(); gridSize = ModConfig.pocket.pocketGridSize;
privatePocketSize = ModConfig.pocket.getPrivatePocketSize();
publicPocketSize = ModConfig.pocket.getPublicPocketSize();
nextID = 0; nextID = 0;
pockets = new HashMap<>(); pockets = new HashMap<>();

View file

@ -31,7 +31,7 @@ import org.dimdev.dimdoors.shared.world.limbo.WorldProviderLimbo;
virtualLocation = null; // TODO: door was placed in a pocket dim but outside of a pocket... virtualLocation = null; // TODO: door was placed in a pocket dim but outside of a pocket...
} }
} else if (location.getWorld().provider instanceof WorldProviderLimbo) { // TODO: convert to interface on worldprovider } else if (location.getWorld().provider instanceof WorldProviderLimbo) { // TODO: convert to interface on worldprovider
virtualLocation = new VirtualLocation(location.getDim(), location.getX(), location.getZ(), ModConfig.dungeon.getMaxDungeonDepth()); virtualLocation = new VirtualLocation(location.getDim(), location.getX(), location.getZ(), ModConfig.dungeon.maxDungeonDepth);
} // TODO: nether coordinate transform } // TODO: nether coordinate transform
if (virtualLocation == null) { if (virtualLocation == null) {
virtualLocation = new VirtualLocation(0, location.getX(), location.getZ(), 5); // TODO virtualLocation = new VirtualLocation(0, location.getX(), location.getZ(), 5); // TODO

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:chaos_dimensional_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:chaos_dimensional_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:chaos_dimensional_door_top", "y": 180 }
} }
} }

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:dimensional_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:dimensional_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:dimensional_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:dimensional_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:dimensional_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:dimensional_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:dimensional_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:dimensional_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:dimensional_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:dimensional_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:dimensional_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:dimensional_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:dimensional_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:dimensional_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:dimensional_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:dimensional_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:dimensional_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:dimensional_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:dimensional_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:dimensional_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:dimensional_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:dimensional_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:dimensional_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:dimensional_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:dimensional_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:dimensional_door_top", "y": 180 }
} }
} }

View file

@ -1,68 +1,5 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" }, "normal": { "model": "dimdoors:no_texture" }
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:no_texture" }
} }
} }

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top", "y": 180 }
} }
} }

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:gold_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:gold_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:gold_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:gold_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:gold_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:gold_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:gold_door_top", "y": 180 }
} }
} }

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top", "y": 180 }
} }
} }

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:quartz_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:quartz_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:quartz_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:quartz_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:quartz_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:quartz_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:quartz_door_top", "y": 180 }
} }
} }

View file

@ -1,68 +1,36 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 90 }, "facing=south,half=lower,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 180 }, "facing=west,half=lower,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh" }, "facing=east,half=lower,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 90 }, "facing=south,half=lower,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 180 }, "facing=west,half=lower,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 270 }, "facing=north,half=lower,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 90 }, "facing=east,half=lower,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 180 }, "facing=south,half=lower,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 270 }, "facing=west,half=lower,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom_rh" }, "facing=north,half=lower,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom" }, "facing=south,half=lower,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 90 }, "facing=west,half=lower,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 180 }, "facing=north,half=lower,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top" }, "facing=east,half=upper,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 90 }, "facing=south,half=upper,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 180 }, "facing=west,half=upper,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 270 }, "facing=north,half=upper,hinge=left,open=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh" }, "facing=east,half=upper,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 90 }, "facing=south,half=upper,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 180 }, "facing=west,half=upper,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 270 }, "facing=north,half=upper,hinge=right,open=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 180 }, "facing=south,half=upper,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 270 }, "facing=west,half=upper,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top_rh" }, "facing=north,half=upper,hinge=left,open=true": { "model": "dimdoors:warp_dimensional_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 270 }, "facing=east,half=upper,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top" }, "facing=south,half=upper,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 90 }, "facing=west,half=upper,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=false": { "model": "dimdoors:warp_dimensional_door_top", "y": 180 }, "facing=north,half=upper,hinge=right,open=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 180 }
"facing=east,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom" },
"facing=south,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 90 },
"facing=west,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 180 },
"facing=north,half=lower,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 270 },
"facing=east,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh" },
"facing=south,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 90 },
"facing=west,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 180 },
"facing=north,half=lower,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 270 },
"facing=east,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 90 },
"facing=south,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 180 },
"facing=west,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh", "y": 270 },
"facing=north,half=lower,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom_rh" },
"facing=east,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 270 },
"facing=south,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom" },
"facing=west,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 90 },
"facing=north,half=lower,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_bottom", "y": 180 },
"facing=east,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top" },
"facing=south,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 90 },
"facing=west,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 180 },
"facing=north,half=upper,hinge=left,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 270 },
"facing=east,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh" },
"facing=south,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 90 },
"facing=west,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 180 },
"facing=north,half=upper,hinge=right,open=false,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 270 },
"facing=east,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 90 },
"facing=south,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 180 },
"facing=west,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh", "y": 270 },
"facing=north,half=upper,hinge=left,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top_rh" },
"facing=east,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 270 },
"facing=south,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top" },
"facing=west,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 90 },
"facing=north,half=upper,hinge=right,open=true,powered=true": { "model": "dimdoors:warp_dimensional_door_top", "y": 180 }
} }
} }