Chitin stairs and slabs now have coverings

This commit is contained in:
Sollace 2020-06-01 15:09:49 +02:00
parent 1f47fd57e3
commit b0ca912ef8
13 changed files with 242 additions and 43 deletions

View file

@ -2,15 +2,21 @@ package com.minelittlepony.unicopia.block;
import java.util.Random; import java.util.Random;
import javax.annotation.Nullable;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.SlabBlock; import net.minecraft.block.SlabBlock;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType; import net.minecraft.entity.EntityType;
import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemPlacementContext;
import net.minecraft.server.world.ServerWorld; import net.minecraft.server.world.ServerWorld;
import net.minecraft.state.StateManager;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.world.BlockView; import net.minecraft.world.BlockView;
import net.minecraft.world.IWorld;
import net.minecraft.world.World; import net.minecraft.world.World;
public class SmartSlabBlock extends SlabBlock { public class SmartSlabBlock extends SlabBlock {
@ -63,4 +69,28 @@ public class SmartSlabBlock extends SlabBlock {
public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView worldIn, BlockPos pos) { public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView worldIn, BlockPos pos) {
return modelState.calcBlockBreakingDelta(player, worldIn, pos); return modelState.calcBlockBreakingDelta(player, worldIn, pos);
} }
@Override
@Nullable
public BlockState getPlacementState(ItemPlacementContext context) {
return super.getPlacementState(context).with(Covering.PROPERTY, Covering.getCovering(context.getWorld(), context.getBlockPos().up()));
}
@Override
@Deprecated
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState other, IWorld world, BlockPos pos, BlockPos otherPos) {
state = super.getStateForNeighborUpdate(state, direction, other, world, pos, otherPos);
if (direction == Direction.UP) {
return state.with(Covering.PROPERTY, Covering.getCovering(world, otherPos));
}
return state;
}
@Override
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
super.appendProperties(builder);
builder.add(Covering.PROPERTY);
}
} }

View file

@ -1,12 +1,19 @@
package com.minelittlepony.unicopia.block; package com.minelittlepony.unicopia.block;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.StairsBlock; import net.minecraft.block.StairsBlock;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType; import net.minecraft.entity.EntityType;
import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemPlacementContext;
import net.minecraft.state.StateManager;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.world.BlockView; import net.minecraft.world.BlockView;
import net.minecraft.world.IWorld;
import net.minecraft.world.World; import net.minecraft.world.World;
public class SmartStairsBlock extends StairsBlock { public class SmartStairsBlock extends StairsBlock {
@ -15,6 +22,7 @@ public class SmartStairsBlock extends StairsBlock {
public SmartStairsBlock(BlockState inherited, Settings settings) { public SmartStairsBlock(BlockState inherited, Settings settings) {
super(inherited, settings); super(inherited, settings);
setDefaultState(getDefaultState().with(Covering.PROPERTY, Covering.UNCOVERED));
baseBlockState = inherited; baseBlockState = inherited;
} }
@ -48,4 +56,28 @@ public class SmartStairsBlock extends StairsBlock {
public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) { public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) {
return baseBlockState.calcBlockBreakingDelta(player, world, pos); return baseBlockState.calcBlockBreakingDelta(player, world, pos);
} }
@Override
@Nullable
public BlockState getPlacementState(ItemPlacementContext context) {
return super.getPlacementState(context).with(Covering.PROPERTY, Covering.getCovering(context.getWorld(), context.getBlockPos().up()));
}
@Override
@Deprecated
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState other, IWorld world, BlockPos pos, BlockPos otherPos) {
state = super.getStateForNeighborUpdate(state, direction, other, world, pos, otherPos);
if (direction == Direction.UP) {
return state.with(Covering.PROPERTY, Covering.getCovering(world, otherPos));
}
return state;
}
@Override
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
super.appendProperties(builder);
builder.add(Covering.PROPERTY);
}
} }

View file

@ -1,7 +1,11 @@
{ {
"variants": { "variants": {
"type=bottom": { "model": "unicopia:block/chitin_shell_slab" }, "type=bottom": { "model": "unicopia:block/chitin_shell_slab" },
"type=top": { "model": "unicopia:block/chitin_shell_slab_top" }, "type=top,covering=uncovered": { "model": "unicopia:block/chitin_shell_slab_top" },
"type=double": { "model": "unicopia:block/chitin_shell_block" } "type=top,covering=covered": { "model": "unicopia:block/chitin_shell_slab_top_covered" },
"type=top,covering=snow_covered": { "model": "unicopia:block/chitin_shell_slab_top_snow" },
"type=double,covering=uncovered": { "model": "unicopia:block/chitin_shell_block" },
"type=double,covering=covered": { "model": "unicopia:block/chitin_shell_block_covered" },
"type=double,covering=snow_covered": { "model": "unicopia:block/chitin_shell_block_snow" }
} }
} }

View file

@ -1,45 +1,129 @@
{ {
"variants": { "variants": {
"facing=east,half=bottom,shape=straight": { "model": "unicopia:block/chitin_shell_stairs" }, "facing=east,half=bottom,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs" },
"facing=west,half=bottom,shape=straight": { "model": "unicopia:block/chitin_shell_stairs", "y": 180, "uvlock": true }, "facing=west,half=bottom,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=straight": { "model": "unicopia:block/chitin_shell_stairs", "y": 90, "uvlock": true }, "facing=south,half=bottom,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=straight": { "model": "unicopia:block/chitin_shell_stairs", "y": 270, "uvlock": true }, "facing=north,half=bottom,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs" }, "facing=east,half=bottom,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs" },
"facing=west,half=bottom,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 180, "uvlock": true }, "facing=west,half=bottom,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 90, "uvlock": true }, "facing=south,half=bottom,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 270, "uvlock": true }, "facing=north,half=bottom,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 270, "uvlock": true }, "facing=east,half=bottom,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 90, "uvlock": true }, "facing=west,half=bottom,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs" }, "facing=south,half=bottom,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs" },
"facing=north,half=bottom,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 180, "uvlock": true }, "facing=north,half=bottom,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 180, "uvlock": true },
"facing=east,half=bottom,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs" }, "facing=east,half=bottom,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs" },
"facing=west,half=bottom,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 180, "uvlock": true }, "facing=west,half=bottom,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 90, "uvlock": true }, "facing=south,half=bottom,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 270, "uvlock": true }, "facing=north,half=bottom,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 270, "uvlock": true }, "facing=east,half=bottom,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 90, "uvlock": true }, "facing=west,half=bottom,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs" }, "facing=south,half=bottom,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs" },
"facing=north,half=bottom,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 180, "uvlock": true }, "facing=north,half=bottom,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 180, "uvlock": true },
"facing=east,half=top,shape=straight": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "uvlock": true }, "facing=east,half=top,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "uvlock": true },
"facing=west,half=top,shape=straight": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 180, "uvlock": true }, "facing=west,half=top,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=straight": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 90, "uvlock": true }, "facing=south,half=top,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=straight": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 270, "uvlock": true }, "facing=north,half=top,shape=straight,covering=uncovered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 90, "uvlock": true }, "facing=east,half=top,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 270, "uvlock": true }, "facing=west,half=top,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 180, "uvlock": true }, "facing=south,half=top,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=outer_right": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "uvlock": true }, "facing=north,half=top,shape=outer_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "uvlock": true },
"facing=east,half=top,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "uvlock": true }, "facing=east,half=top,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "uvlock": true },
"facing=west,half=top,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 180, "uvlock": true }, "facing=west,half=top,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 90, "uvlock": true }, "facing=south,half=top,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=outer_left": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 270, "uvlock": true }, "facing=north,half=top,shape=outer_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 90, "uvlock": true }, "facing=east,half=top,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 270, "uvlock": true }, "facing=west,half=top,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 180, "uvlock": true }, "facing=south,half=top,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=inner_right": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "uvlock": true }, "facing=north,half=top,shape=inner_right,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "uvlock": true },
"facing=east,half=top,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "uvlock": true }, "facing=east,half=top,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "uvlock": true },
"facing=west,half=top,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 180, "uvlock": true }, "facing=west,half=top,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 90, "uvlock": true }, "facing=south,half=top,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=inner_left": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 270, "uvlock": true } "facing=north,half=top,shape=inner_left,covering=uncovered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_covered" },
"facing=west,half=bottom,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_covered", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_covered", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_covered", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered" },
"facing=west,half=bottom,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered" },
"facing=north,half=bottom,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_covered", "y": 180, "uvlock": true },
"facing=east,half=bottom,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered" },
"facing=west,half=bottom,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered" },
"facing=north,half=bottom,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_covered", "y": 180, "uvlock": true },
"facing=east,half=top,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_top_covered", "x": 180, "uvlock": true },
"facing=west,half=top,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_top_covered", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_top_covered", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=straight,covering=covered": { "model": "unicopia:block/chitin_shell_stairs_top_covered", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=outer_right,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "uvlock": true },
"facing=east,half=top,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "uvlock": true },
"facing=west,half=top,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=outer_left,covering=covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top_covered", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=inner_right,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "uvlock": true },
"facing=east,half=top,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "uvlock": true },
"facing=west,half=top,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=inner_left,covering=covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top_covered", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs" },
"facing=west,half=bottom,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs" },
"facing=west,half=bottom,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs" },
"facing=north,half=bottom,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs", "y": 180, "uvlock": true },
"facing=east,half=bottom,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs" },
"facing=west,half=bottom,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs" },
"facing=north,half=bottom,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs", "y": 180, "uvlock": true },
"facing=east,half=top,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "uvlock": true },
"facing=west,half=top,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=straight,covering=snow_covered": { "model": "unicopia:block/chitin_shell_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=outer_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "uvlock": true },
"facing=east,half=top,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "uvlock": true },
"facing=west,half=top,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=outer_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_outer_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=inner_right,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "uvlock": true },
"facing=east,half=top,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "uvlock": true },
"facing=west,half=top,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=inner_left,covering=snow_covered": { "model": "unicopia:block/chitin_shell_inner_stairs_top", "x": 180, "y": 270, "uvlock": true }
} }
} }

View file

@ -0,0 +1,5 @@
{ "parent": "unicopia:block/chitin_shell_inner_stairs",
"textures": {
"side": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -0,0 +1,6 @@
{ "parent": "unicopia:block/chitin_shell_inner_stairs_top",
"textures": {
"side": "unicopia:blocks/chitin_block_covered",
"step": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -0,0 +1,5 @@
{ "parent": "unicopia:block/chitin_shell_outer_stairs",
"textures": {
"side": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -0,0 +1,6 @@
{ "parent": "unicopia:block/chitin_shell_outer_stairs_top",
"textures": {
"side": "unicopia:blocks/chitin_block_covered",
"step": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "block/slab_top",
"textures": {
"bottom": "unicopia:blocks/chitin_block_covered",
"top": "unicopia:blocks/chitin_block_top",
"side": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "block/slab_top",
"textures": {
"bottom": "unicopia:blocks/chitin_block_covered",
"top": "unicopia:blocks/chitin_block_top",
"side": "unicopia:blocks/chitin_block_snow_covered"
}
}

View file

@ -0,0 +1,5 @@
{ "parent": "unicopia:block/chitin_shell_stairs",
"textures": {
"side": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -0,0 +1,6 @@
{ "parent": "unicopia:block/chitin_shell_stairs_top",
"textures": {
"side": "unicopia:blocks/chitin_block_covered",
"step": "unicopia:blocks/chitin_block_covered"
}
}

View file

@ -1,4 +1,4 @@
{ "parent": "unicopia:block/enthanted_cloud_inner_stairs", { "parent": "unicopia:block/enchanted_cloud_inner_stairs",
"textures": { "textures": {
"bottom": "unicopia:blocks/enchanted_cloud_block_top", "bottom": "unicopia:blocks/enchanted_cloud_block_top",
"top": "unicopia:blocks/enchanted_cloud_block_bottom" "top": "unicopia:blocks/enchanted_cloud_block_bottom"