Reworked blockstate renders

This commit is contained in:
Kino 2017-11-01 20:40:58 -04:00
parent 8e6caa6add
commit 20a5f95ac5
15 changed files with 101 additions and 242 deletions

View file

@ -1,22 +1,33 @@
package com.legacy.aether.client.renders.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemMeshDefinition;
import net.minecraft.client.renderer.block.model.ModelBakery;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.renderer.block.statemap.IStateMapper;
import net.minecraft.client.renderer.block.statemap.StateMap;
import net.minecraft.client.renderer.block.statemap.StateMapperBase;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import com.legacy.aether.client.renders.AetherEntityRenderingRegistry;
import com.legacy.aether.client.renders.items.util.AetherColor;
import com.legacy.aether.common.Aether;
import com.legacy.aether.common.blocks.BlocksAether;
import com.legacy.aether.common.blocks.decorative.BlockAetherFenceGate;
import com.legacy.aether.common.blocks.natural.BlockAetherDirt;
import com.legacy.aether.common.blocks.natural.BlockAetherGrass;
import com.legacy.aether.common.blocks.natural.BlockAetherLeaves;
import com.legacy.aether.common.blocks.natural.BlockAetherLog;
import com.legacy.aether.common.blocks.natural.BlockCrystalLeaves;
import com.legacy.aether.common.blocks.natural.BlockHolidayLeaves;
import com.legacy.aether.common.blocks.natural.BlockHolystone;
import com.legacy.aether.common.blocks.natural.BlockQuicksoil;
import com.legacy.aether.common.blocks.natural.ore.BlockAmbrosiumOre;
import com.legacy.aether.common.blocks.util.EnumCloudType;
import com.legacy.aether.common.blocks.util.EnumCrystalType;
import com.legacy.aether.common.blocks.util.EnumHolidayType;
import com.legacy.aether.common.blocks.util.EnumLeafType;
import com.legacy.aether.common.blocks.util.EnumLogType;
import com.legacy.aether.common.blocks.util.EnumStoneType;
public class BlockRendering
@ -24,12 +35,18 @@ public class BlockRendering
public static void initialize()
{
registerD(BlocksAether.aether_grass, "aether_grass");
registerD(BlocksAether.aether_dirt, "aether_dirt");
registerD(BlocksAether.holystone, "holystone");
registerD(BlocksAether.mossy_holystone, "mossy_holystone");
registerD(BlocksAether.quicksoil, "quicksoil");
registerD(BlocksAether.ambrosium_ore, "ambrosium_ore");
registerBlockWithStateMapper(BlocksAether.aether_grass, (new StateMap.Builder()).ignore(BlockAetherGrass.double_drop).build());
registerBlockWithStateMapper(BlocksAether.aether_dirt, (new StateMap.Builder()).ignore(BlockAetherDirt.double_drop).build());
registerBlockWithStateMapper(BlocksAether.holystone, (new StateMap.Builder()).ignore(BlockHolystone.double_drop).build());
registerBlockWithStateMapper(BlocksAether.mossy_holystone, (new StateMap.Builder()).ignore(BlockHolystone.double_drop).build());
registerBlockWithStateMapper(BlocksAether.quicksoil, (new StateMap.Builder()).ignore(BlockQuicksoil.double_drop).build());
registerBlockWithStateMapper(BlocksAether.ambrosium_ore, (new StateMap.Builder()).ignore(BlockAmbrosiumOre.double_drop).build());
registerBlockWithStateMapper(BlocksAether.aether_log, (new StateMap.Builder()).ignore(BlockAetherLog.double_drop).build());
registerBlockWithStateMapper(BlocksAether.aether_leaves, (new StateMap.Builder()).ignore(BlockAetherLeaves.CHECK_DECAY).ignore(BlockAetherLeaves.DECAYABLE).build());
registerBlockWithStateMapper(BlocksAether.crystal_leaves, (new StateMap.Builder()).ignore(BlockCrystalLeaves.CHECK_DECAY).ignore(BlockCrystalLeaves.DECAYABLE).build());
registerBlockWithStateMapper(BlocksAether.holiday_leaves, (new StateMap.Builder()).ignore(BlockHolidayLeaves.CHECK_DECAY).ignore(BlockHolidayLeaves.DECAYABLE).build());
registerBlockWithStateMapper(BlocksAether.skyroot_fence_gate, (new StateMap.Builder()).ignore(BlockAetherFenceGate.POWERED).build());
register(BlocksAether.enchanted_aether_grass, "enchanted_aether_grass");
register(BlocksAether.holystone_brick, "holystone_brick");
register(BlocksAether.icestone, "icestone");
@ -48,7 +65,7 @@ public class BlockRendering
register(BlocksAether.berry_bush, "berry_bush");
register(BlocksAether.berry_bush_stem, "berry_bush_stem");
register(BlocksAether.white_flower, "white_flower");
register(BlocksAether.purple_flower, "purple_flower");
register(BlocksAether.purple_flower, "purple_flower");
register(BlocksAether.skyroot_sapling, "skyroot_sapling");
register(BlocksAether.golden_oak_sapling, "golden_oak_sapling");
register(BlocksAether.treasure_chest, "treasure_chest");
@ -96,26 +113,6 @@ public class BlockRendering
register(BlocksAether.aercloud, meta, EnumCloudType.getType(meta).getName());
}
for (int meta = 0; meta < EnumLeafType.values().length; ++meta)
{
register(BlocksAether.aether_leaves, meta, EnumLeafType.getType(meta).getName());
}
for (int meta = 0; meta < EnumCrystalType.values().length; ++meta)
{
register(BlocksAether.crystal_leaves, meta, EnumCrystalType.getType(meta).getName());
}
for (int meta = 0; meta < EnumCrystalType.values().length; ++meta)
{
register(BlocksAether.holiday_leaves, meta, EnumHolidayType.getType(meta).getName());
}
for (int meta = 0; meta < 16; ++meta)
{
register(BlocksAether.aether_log, meta, EnumLogType.getType(meta).getName());
}
for (int meta = 0; meta < EnumStoneType.values().length; ++meta)
{
String name = EnumStoneType.getType(meta).getName();
@ -139,10 +136,44 @@ public class BlockRendering
AetherEntityRenderingRegistry.registerTileEntities();
}
public static void registerD(Block block, String model)
public static void registerBlockWithStateMapper(Block block)
{
register(block, 0, model);
register(block, 1, model);
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().getModelManager().getBlockModelShapes().registerBlockWithStateMapper(block, new StateMapperBase()
{
@Override
protected ModelResourceLocation getModelResourceLocation(IBlockState state)
{
return new ModelResourceLocation(state.getBlock().getRegistryName(), "normal");
}
});
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), new ItemMeshDefinition()
{
@Override
public ModelResourceLocation getModelLocation(ItemStack stack)
{
return new ModelResourceLocation(stack.getItem().getRegistryName(), "inventory");
}
});
}
public static void registerBlockWithStateMapper(Block block, IStateMapper mapper)
{
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().getModelManager().getBlockModelShapes().registerBlockWithStateMapper(block, mapper);
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), new ItemMeshDefinition()
{
@Override
@SuppressWarnings("deprecation")
public ModelResourceLocation getModelLocation(ItemStack stack)
{
Block block = Block.getBlockFromItem(stack.getItem());
IBlockState state = block.getStateFromMeta(stack.getMetadata());
return Minecraft.getMinecraft().getRenderItem().getItemModelMesher().getModelManager().getBlockModelShapes().getBlockStateMapper().getVariants(block).get(state);
}
});
}
public static void register(Block block, String model)

View file

@ -73,7 +73,7 @@ public class Aether
public static String doubleDropNotifier()
{
return modid + "_double_drops";
return "double_drops";
}
}

View file

@ -1,12 +1,6 @@
{
"variants": {
"aether_legacy_double_drops=true": [
{ "model": "aether_legacy:aether_dirt" },
{ "model": "aether_legacy:aether_dirt", "y": 90 },
{ "model": "aether_legacy:aether_dirt", "y": 180 },
{ "model": "aether_legacy:aether_dirt", "y": 270 }
],
"aether_legacy_double_drops=false": [
"normal": [
{ "model": "aether_legacy:aether_dirt" },
{ "model": "aether_legacy:aether_dirt", "y": 90 },
{ "model": "aether_legacy:aether_dirt", "y": 180 },

View file

@ -1,12 +1,6 @@
{
"variants": {
"aether_legacy_double_drops=true": [
{ "model": "aether_legacy:aether_grass" },
{ "model": "aether_legacy:aether_grass", "y": 90 },
{ "model": "aether_legacy:aether_grass", "y": 180 },
{ "model": "aether_legacy:aether_grass", "y": 270 }
],
"aether_legacy_double_drops=false": [
"normal": [
{ "model": "aether_legacy:aether_grass" },
{ "model": "aether_legacy:aether_grass", "y": 90 },
{ "model": "aether_legacy:aether_grass", "y": 180 },

View file

@ -1,27 +1,9 @@
{
"variants": {
"aether_leaves=green_leaves,check_decay=true,decayable=true": {
"aether_leaves=green_leaves": {
"model": "aether_legacy:green_leaves"
},
"aether_leaves=green_leaves,check_decay=true,decayable=false": {
"model": "aether_legacy:green_leaves"
},
"aether_leaves=green_leaves,check_decay=false,decayable=true": {
"model": "aether_legacy:green_leaves"
},
"aether_leaves=green_leaves,check_decay=false,decayable=false": {
"model": "aether_legacy:green_leaves"
},
"aether_leaves=golden_oak_leaves,check_decay=true,decayable=true": {
"model": "aether_legacy:golden_oak_leaves"
},
"aether_leaves=golden_oak_leaves,check_decay=true,decayable=false": {
"model": "aether_legacy:golden_oak_leaves"
},
"aether_leaves=golden_oak_leaves,check_decay=false,decayable=true": {
"model": "aether_legacy:golden_oak_leaves"
},
"aether_leaves=golden_oak_leaves,check_decay=false,decayable=false": {
"aether_leaves=golden_oak_leaves": {
"model": "aether_legacy:golden_oak_leaves"
}
}

View file

@ -1,51 +1,27 @@
{
"variants": {
"aether_legacy_double_drops=true,aether_logs=golden_oak_log,axis=x": {
"aether_logs=golden_oak_log,axis=x": {
"model": "aether_legacy:golden_oak_log", "x": 90, "y": 90
},
"aether_legacy_double_drops=true,aether_logs=golden_oak_log,axis=y": {
"aether_logs=golden_oak_log,axis=y": {
"model": "aether_legacy:golden_oak_log"
},
"aether_legacy_double_drops=true,aether_logs=golden_oak_log,axis=z": {
"aether_logs=golden_oak_log,axis=z": {
"model": "aether_legacy:golden_oak_log", "x": 90
},
"aether_legacy_double_drops=true,aether_logs=golden_oak_log,axis=none": {
"aether_logs=golden_oak_log,axis=none": {
"model": "aether_legacy:golden_oak_log_bark"
},
"aether_legacy_double_drops=false,aether_logs=golden_oak_log,axis=x": {
"model": "aether_legacy:golden_oak_log", "x": 90, "y": 90
},
"aether_legacy_double_drops=false,aether_logs=golden_oak_log,axis=y": {
"model": "aether_legacy:golden_oak_log"
},
"aether_legacy_double_drops=false,aether_logs=golden_oak_log,axis=z": {
"model": "aether_legacy:golden_oak_log", "x": 90
},
"aether_legacy_double_drops=false,aether_logs=golden_oak_log,axis=none": {
"model": "aether_legacy:golden_oak_log_bark"
},
"aether_legacy_double_drops=true,aether_logs=skyroot_log,axis=x": {
"aether_logs=skyroot_log,axis=x": {
"model": "aether_legacy:skyroot_log", "x": 90, "y": 90
},
"aether_legacy_double_drops=true,aether_logs=skyroot_log,axis=y": {
"aether_logs=skyroot_log,axis=y": {
"model": "aether_legacy:skyroot_log"
},
"aether_legacy_double_drops=true,aether_logs=skyroot_log,axis=z": {
"aether_logs=skyroot_log,axis=z": {
"model": "aether_legacy:skyroot_log", "x": 90
},
"aether_legacy_double_drops=true,aether_logs=skyroot_log,axis=none": {
"model": "aether_legacy:skyroot_log_bark"
},
"aether_legacy_double_drops=false,aether_logs=skyroot_log,axis=x": {
"model": "aether_legacy:skyroot_log", "x": 90, "y": 90
},
"aether_legacy_double_drops=false,aether_logs=skyroot_log,axis=y": {
"model": "aether_legacy:skyroot_log"
},
"aether_legacy_double_drops=false,aether_logs=skyroot_log,axis=z": {
"model": "aether_legacy:skyroot_log", "x": 90
},
"aether_legacy_double_drops=false,aether_logs=skyroot_log,axis=none": {
"aether_logs=skyroot_log,axis=none": {
"model": "aether_legacy:skyroot_log_bark"
}
}

View file

@ -1,9 +1,6 @@
{
"variants": {
"aether_legacy_double_drops=true": {
"model": "aether_legacy:ambrosium_ore"
},
"aether_legacy_double_drops=false": {
"normal": {
"model": "aether_legacy:ambrosium_ore"
}
}

View file

@ -1,27 +1,9 @@
{
"variants": {
"check_decay=true,crystal_leaves=crystal_leaves,decayable=true": {
"crystal_leaves=crystal_leaves": {
"model": "aether_legacy:crystal_leaves"
},
"check_decay=true,crystal_leaves=crystal_leaves,decayable=false": {
"model": "aether_legacy:crystal_leaves"
},
"check_decay=false,crystal_leaves=crystal_leaves,decayable=true": {
"model": "aether_legacy:crystal_leaves"
},
"check_decay=false,crystal_leaves=crystal_leaves,decayable=false": {
"model": "aether_legacy:crystal_leaves"
},
"check_decay=true,crystal_leaves=crystal_fruit_leaves,decayable=true": {
"model": "aether_legacy:crystal_fruit_leaves"
},
"check_decay=true,crystal_leaves=crystal_fruit_leaves,decayable=false": {
"model": "aether_legacy:crystal_fruit_leaves"
},
"check_decay=false,crystal_leaves=crystal_fruit_leaves,decayable=true": {
"model": "aether_legacy:crystal_fruit_leaves"
},
"check_decay=false,crystal_leaves=crystal_fruit_leaves,decayable=false": {
"crystal_leaves=crystal_fruit_leaves": {
"model": "aether_legacy:crystal_fruit_leaves"
}
}

View file

@ -1,38 +1,20 @@
{
"variants": {
"aether_legacy_dungeon_stone=carved_stone": {
"model": "aether_legacy:carved_stone"
},
"aether_legacy_dungeon_stone=carved_stone": {
"model": "aether_legacy:carved_stone"
},
"aether_legacy_dungeon_stone=sentry_stone": {
"model": "aether_legacy:sentry_stone"
},
"aether_legacy_dungeon_stone=sentry_stone": {
"model": "aether_legacy:sentry_stone"
},
"aether_legacy_dungeon_stone=angelic_stone": {
"model": "aether_legacy:angelic_stone"
},
"aether_legacy_dungeon_stone=angelic_stone": {
"model": "aether_legacy:angelic_stone"
},
"aether_legacy_dungeon_stone=light_angelic_stone": {
"model": "aether_legacy:light_angelic_stone"
},
"aether_legacy_dungeon_stone=light_angelic_stone": {
"model": "aether_legacy:light_angelic_stone"
},
"aether_legacy_dungeon_stone=hellfire_stone": {
"model": "aether_legacy:hellfire_stone"
},
"aether_legacy_dungeon_stone=hellfire_stone": {
"model": "aether_legacy:hellfire_stone"
},
"aether_legacy_dungeon_stone=light_hellfire_stone": {
"model": "aether_legacy:light_hellfire_stone"
},
"aether_legacy_dungeon_stone=light_hellfire_stone": {
"model": "aether_legacy:light_hellfire_stone"
}

View file

@ -1,38 +1,20 @@
{
"variants": {
"aether_legacy_dungeon_stone=carved_stone": {
"model": "aether_legacy:carved_stone"
},
"aether_legacy_dungeon_stone=carved_stone": {
"model": "aether_legacy:carved_stone"
},
"aether_legacy_dungeon_stone=sentry_stone": {
"model": "aether_legacy:sentry_stone"
},
"aether_legacy_dungeon_stone=sentry_stone": {
"model": "aether_legacy:sentry_stone"
},
"aether_legacy_dungeon_stone=angelic_stone": {
"model": "aether_legacy:angelic_stone"
},
"aether_legacy_dungeon_stone=angelic_stone": {
"model": "aether_legacy:angelic_stone"
},
"aether_legacy_dungeon_stone=light_angelic_stone": {
"model": "aether_legacy:light_angelic_stone"
},
"aether_legacy_dungeon_stone=light_angelic_stone": {
"model": "aether_legacy:light_angelic_stone"
},
"aether_legacy_dungeon_stone=hellfire_stone": {
"model": "aether_legacy:hellfire_stone"
},
"aether_legacy_dungeon_stone=hellfire_stone": {
"model": "aether_legacy:hellfire_stone"
},
"aether_legacy_dungeon_stone=light_hellfire_stone": {
"model": "aether_legacy:light_hellfire_stone"
},
"aether_legacy_dungeon_stone=light_hellfire_stone": {
"model": "aether_legacy:light_hellfire_stone"
}

View file

@ -1,27 +1,9 @@
{
"variants": {
"check_decay=true,decayable=true,holiday_leaves=holiday_leaves": {
"holiday_leaves=holiday_leaves": {
"model": "aether_legacy:holiday_leaves"
},
"check_decay=true,decayable=false,holiday_leaves=holiday_leaves": {
"model": "aether_legacy:holiday_leaves"
},
"check_decay=false,decayable=true,holiday_leaves=holiday_leaves": {
"model": "aether_legacy:holiday_leaves"
},
"check_decay=false,decayable=false,holiday_leaves=holiday_leaves": {
"model": "aether_legacy:holiday_leaves"
},
"check_decay=true,decayable=true,holiday_leaves=decorated_holiday_leaves": {
"model": "aether_legacy:decorated_holiday_leaves"
},
"check_decay=true,decayable=false,holiday_leaves=decorated_holiday_leaves": {
"model": "aether_legacy:decorated_holiday_leaves"
},
"check_decay=false,decayable=true,holiday_leaves=decorated_holiday_leaves": {
"model": "aether_legacy:decorated_holiday_leaves"
},
"check_decay=false,decayable=false,holiday_leaves=decorated_holiday_leaves": {
"holiday_leaves=decorated_holiday_leaves": {
"model": "aether_legacy:decorated_holiday_leaves"
}
}

View file

@ -1,12 +1,6 @@
{
"variants": {
"aether_legacy_double_drops=true": [
{ "model": "aether_legacy:holystone" },
{ "model": "aether_legacy:holystone", "y": 90 },
{ "model": "aether_legacy:holystone", "y": 180 },
{ "model": "aether_legacy:holystone", "y": 270 }
],
"aether_legacy_double_drops=false": [
"normal": [
{ "model": "aether_legacy:holystone" },
{ "model": "aether_legacy:holystone", "y": 90 },
{ "model": "aether_legacy:holystone", "y": 180 },

View file

@ -1,38 +1,20 @@
{
"variants": {
"aether_legacy_dungeon_stone=carved_stone": {
"model": "aether_legacy:carved_stone"
},
"aether_legacy_dungeon_stone=carved_stone": {
"model": "aether_legacy:carved_stone"
},
"aether_legacy_dungeon_stone=sentry_stone": {
"model": "aether_legacy:sentry_stone"
},
"aether_legacy_dungeon_stone=sentry_stone": {
"model": "aether_legacy:sentry_stone"
},
"aether_legacy_dungeon_stone=angelic_stone": {
"model": "aether_legacy:angelic_stone"
},
"aether_legacy_dungeon_stone=angelic_stone": {
"model": "aether_legacy:angelic_stone"
},
"aether_legacy_dungeon_stone=light_angelic_stone": {
"model": "aether_legacy:light_angelic_stone"
},
"aether_legacy_dungeon_stone=light_angelic_stone": {
"model": "aether_legacy:light_angelic_stone"
},
"aether_legacy_dungeon_stone=hellfire_stone": {
"model": "aether_legacy:hellfire_stone"
},
"aether_legacy_dungeon_stone=hellfire_stone": {
"model": "aether_legacy:hellfire_stone"
},
"aether_legacy_dungeon_stone=light_hellfire_stone": {
"model": "aether_legacy:light_hellfire_stone"
},
"aether_legacy_dungeon_stone=light_hellfire_stone": {
"model": "aether_legacy:light_hellfire_stone"
}

View file

@ -1,9 +1,6 @@
{
"variants": {
"aether_legacy_double_drops=true": {
"model": "aether_legacy:mossy_holystone"
},
"aether_legacy_double_drops=false": {
"normal": {
"model": "aether_legacy:mossy_holystone"
}
}

View file

@ -1,36 +1,20 @@
{
"variants": {
"facing=south,in_wall=false,open=false,powered=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true },
"facing=south,in_wall=false,open=false,powered=true": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true },
"facing=west,in_wall=false,open=false,powered=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 90 },
"facing=west,in_wall=false,open=false,powered=true": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 90 },
"facing=north,in_wall=false,open=false,powered=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 180 },
"facing=north,in_wall=false,open=false,powered=true": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 180 },
"facing=east,in_wall=false,open=false,powered=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 270 },
"facing=east,in_wall=false,open=false,powered=true": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 270 },
"facing=south,in_wall=false,open=true,powered=false": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true },
"facing=south,in_wall=false,open=true,powered=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true },
"facing=west,in_wall=false,open=true,powered=false": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 90 },
"facing=west,in_wall=false,open=true,powered=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 90 },
"facing=north,in_wall=false,open=true,powered=false": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 180 },
"facing=north,in_wall=false,open=true,powered=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 180 },
"facing=east,in_wall=false,open=true,powered=false": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 270 },
"facing=east,in_wall=false,open=true,powered=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 270 },
"facing=south,in_wall=true,open=false,powered=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true },
"facing=south,in_wall=true,open=false,powered=true": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true },
"facing=west,in_wall=true,open=false,powered=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 90 },
"facing=west,in_wall=true,open=false,powered=true": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 90 },
"facing=north,in_wall=true,open=false,powered=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 180 },
"facing=north,in_wall=true,open=false,powered=true": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 180 },
"facing=east,in_wall=true,open=false,powered=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 270 },
"facing=east,in_wall=true,open=false,powered=true": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 270 },
"facing=south,in_wall=true,open=true,powered=false": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true },
"facing=south,in_wall=true,open=true,powered=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true },
"facing=west,in_wall=true,open=true,powered=false": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 90 },
"facing=west,in_wall=true,open=true,powered=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 90 },
"facing=north,in_wall=true,open=true,powered=false": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 180 },
"facing=north,in_wall=true,open=true,powered=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 180 },
"facing=east,in_wall=true,open=true,powered=false": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 270 },
"facing=east,in_wall=true,open=true,powered=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 270 }
"facing=south,in_wall=false,open=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true },
"facing=west,in_wall=false,open=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 90 },
"facing=north,in_wall=false,open=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 180 },
"facing=east,in_wall=false,open=false": { "model": "aether_legacy:skyroot_fence_gate_closed", "uvlock": true, "y": 270 },
"facing=south,in_wall=false,open=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true },
"facing=west,in_wall=false,open=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 90 },
"facing=north,in_wall=false,open=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 180 },
"facing=east,in_wall=false,open=true": { "model": "aether_legacy:skyroot_fence_gate_open", "uvlock": true, "y": 270 },
"facing=south,in_wall=true,open=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true },
"facing=west,in_wall=true,open=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 90 },
"facing=north,in_wall=true,open=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 180 },
"facing=east,in_wall=true,open=false": { "model": "aether_legacy:skyroot_wall_gate_closed", "uvlock": true, "y": 270 },
"facing=south,in_wall=true,open=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true },
"facing=west,in_wall=true,open=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 90 },
"facing=north,in_wall=true,open=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 180 },
"facing=east,in_wall=true,open=true": { "model": "aether_legacy:skyroot_wall_gate_open", "uvlock": true, "y": 270 }
}
}