fixed firebox model and fixed bellows bounding boxes

This commit is contained in:
Mohammad-Ali Minaie
2017-01-08 17:10:35 -05:00
parent 4f0b965f57
commit 6df931a5eb
12 changed files with 621 additions and 65 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -1,8 +1,8 @@
To-Dos
- [ ] Fix Firebox model to have more of a bowl shape and have the air inlet on the left
- [x] Fix Firebox model to have more of a bowl shape
- [x] Redo piston bellows if statements to match the new directional (should match the same directions)
- [ ] Fix PistonBellows Bounding Boxes to match the direction
- [X] Fix PistonBellows Bounding Boxes to match the direction
- [ ] Crucible
- [ ] Model

View File

@@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx3G
mod_group=nmd.primal.forgecraft
mod_name=ForgeCraft
mod_version=1.0.1
mod_version=1.0.4
forge_version=13.19.1.2189
mcp_mappings=snapshot_20161130
mc_version=1.11

View File

@@ -406,7 +406,7 @@ public class Firebox extends CustomContainerFacing implements ITileEntityProvide
if(state.getValue(Firebox.ACTIVE) == true)
{
double d0 = (double)pos.getX() + 0.5D;
double d1 = (double)pos.getY() + 0.65D;
double d1 = (double)pos.getY() + 0.96D;
double d2 = (double)pos.getZ() + 0.5D;
double d3 = 0.52D;
double d4 = rand.nextDouble() * 0.6D - 0.3D;

View File

@@ -39,7 +39,10 @@ public class PistonBellows extends CustomContainerFacing {
public static final PropertyBool ACTIVE = PropertyBool.create("active");
//protected static final AxisAlignedBB collideBox = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 0.99D, 1.0D);
protected static final AxisAlignedBB boundBox = new AxisAlignedBB(0.1875D, 0.0D, 0.0D, 1.0D, 12 / 16D, 1.0D);
protected static final AxisAlignedBB boundBoxNorth = new AxisAlignedBB(0.1875D, 0.0D, 0.0D, 1.0D, 12 / 16D, 1.0D);
protected static final AxisAlignedBB boundBoxSouth = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 0.8125D, 12 / 16D, 1.0D);
protected static final AxisAlignedBB boundBoxEast = new AxisAlignedBB(0.0D, 0.0D, 0.1875D, 1.0D, 12 / 16D, 1.0D);
protected static final AxisAlignedBB boundBoxWest = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 12 / 16D, 0.8125D);
public PistonBellows(Material material) {
super(material);
@@ -136,48 +139,6 @@ public class PistonBellows extends CustomContainerFacing {
}
}
}
/*if(world.isRemote){
if(state.getValue(PistonBellows.FACING) == EnumFacing.NORTH) {
BlockPos tempPos = new BlockPos(pos.getX() + 1, pos.getY(), pos.getZ());
if(world.getBlockState(tempPos).getBlock() == ModBlocks.firebox){
TileFirebox tile = (TileFirebox) world.getTileEntity(tempPos);
if((world.getBlockState(tempPos).getValue(Firebox.ACTIVE) == true) && (world.getBlockState(tempPos).getValue(Firebox.FACING) == EnumFacing.EAST)){
makeEmbers(world, tempPos, world.rand);
}
}
}
if(state.getValue(PistonBellows.FACING) == EnumFacing.SOUTH) {
BlockPos tempPos = new BlockPos(pos.getX() - 1, pos.getY(), pos.getZ());
if(world.getBlockState(tempPos).getBlock() == ModBlocks.firebox){
TileFirebox tile = (TileFirebox) world.getTileEntity(tempPos);
if((world.getBlockState(tempPos).getValue(Firebox.ACTIVE) == true) && (world.getBlockState(tempPos).getValue(Firebox.FACING) == EnumFacing.WEST)){
makeEmbers(world, tempPos, world.rand);
}
}
}
if(state.getValue(PistonBellows.FACING) == EnumFacing.EAST) {
BlockPos tempPos = new BlockPos(pos.getX(), pos.getY(), pos.getZ() + 1);
if(world.getBlockState(tempPos).getBlock() == ModBlocks.firebox){
TileFirebox tile = (TileFirebox) world.getTileEntity(tempPos);
if((world.getBlockState(tempPos).getValue(Firebox.ACTIVE) == true) && (world.getBlockState(tempPos).getValue(Firebox.FACING) == EnumFacing.SOUTH)){
makeEmbers(world, tempPos, world.rand);
}
}
}
if(state.getValue(PistonBellows.FACING) == EnumFacing.WEST) {
BlockPos tempPos = new BlockPos(pos.getX(), pos.getY(), pos.getZ() - 1);
if(world.getBlockState(tempPos).getBlock() == ModBlocks.firebox){
TileFirebox tile = (TileFirebox) world.getTileEntity(tempPos);
if((world.getBlockState(tempPos).getValue(Firebox.ACTIVE) == true) && (world.getBlockState(tempPos).getValue(Firebox.FACING) == EnumFacing.NORTH)){
makeEmbers(world, tempPos, world.rand);
}
}
}
}*/
return true;
}
@@ -187,7 +148,21 @@ public class PistonBellows extends CustomContainerFacing {
@Override
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
{
return boundBox;
state = state.getActualState(source, pos);
EnumFacing enumfacing = (EnumFacing)state.getValue(FACING);
switch (enumfacing)
{
case EAST:
default:
return boundBoxEast;
case SOUTH:
return boundBoxSouth;
case WEST:
return boundBoxWest;
case NORTH:
return boundBoxNorth;
}
}
@Override
@@ -389,7 +364,7 @@ public class PistonBellows extends CustomContainerFacing {
}
private void makeEmbers(World world, BlockPos pos, Random rand){
double d0 = (double)pos.getX() + 0.5D;
double d1 = (double)pos.getY() + 0.65D;
double d1 = (double)pos.getY() + 0.96D;
double d2 = (double)pos.getZ() + 0.5D;
double d3 = 0.52D;
double d4 = rand.nextDouble() * 0.6D - 0.3D;

View File

@@ -12,6 +12,11 @@ import net.minecraftforge.fml.common.registry.GameRegistry;
public class ModCrafting {
public static void register() {
/***Firebox***/
GameRegistry.addShapedRecipe(new ItemStack(ModBlocks.firebox), "X X", "XYX", "X X", 'X', Items.BRICK, 'Y', Blocks.FURNACE);
/***Wooden PistonBellows***/
GameRegistry.addShapedRecipe(new ItemStack(ModBlocks.pistonbellows), "XXX", "X Y", "XXX", 'X', Blocks.PLANKS, 'Y', ModItems.pistonbellows);
GameRegistry.addShapedRecipe(new ItemStack(ModItems.pistonbellows), "X X", "X X", " X ", 'X', Items.STICK);
}
}

View File

@@ -39,8 +39,8 @@ public class TileFireboxRender extends TileEntitySpecialRenderer<TileFirebox>
public void renderTileEntityAt(TileFirebox tile, double x, double y, double z, float partialTicks, int destroyStage)
{
GL11.glPushMatrix();
GL11.glTranslated(x + 0.5D, y + 0.825D, z + 0.5D);
GL11.glTranslated(x + 0.5D, y + 0.95D, z + 0.5D);
//GL11.glRotatef(90.0F, 0.0F, 0.0F, 1.0F);
Minecraft.getMinecraft().getTextureManager().bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
float prevLGTX = OpenGlHelper.lastBrightnessX;
float prevLGTY = OpenGlHelper.lastBrightnessY;
@@ -51,16 +51,22 @@ public class TileFireboxRender extends TileEntitySpecialRenderer<TileFirebox>
ItemStack stack1 = tile.getSlotStack(0);
boolean is_block = stack1.getItem() instanceof ItemBlock;
float scale = is_block ? 0.1725F : 0.5F;
float scale = is_block ? 0.1725F : 0.3F;
double xTrans = is_block ? -1.6D : -0.45D;
double yTrans = is_block ? -1.26D : -0.25D;
double yTrans = is_block ? -1.26D : 0.75D;
if (!stack1.isEmpty()) {
int stackRotation = stack1.getCount();
GL11.glPushMatrix();
GL11.glScalef(scale, scale, scale);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
renderItem.renderItem(stack1, renderItem.getItemModelMesher().getItemModel(stack1));
GL11.glPopMatrix();
for(int i = 0; i < Math.ceil(stackRotation/8) + 1; i++){
GL11.glPushMatrix();
GL11.glScalef(scale, scale, scale);
GL11.glRotated(45.0F * i, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(xTrans, yTrans, 0.0D);
renderItem.renderItem(stack1, renderItem.getItemModelMesher().getItemModel(stack1));
GL11.glPopMatrix();

View File

@@ -63,7 +63,7 @@ public class TilePistonBellowsRender extends TileEntitySpecialRenderer<TilePisto
//GL11.glPushMatrix();
GL11.glRotated(270, 0.0F, 1.0F, 0.0F);
if(state.getValue(PistonBellows.ACTIVE) == Boolean.TRUE){
System.out.println(tile.getAnimation());
//System.out.println(tile.getAnimation());
GL11.glTranslated(0.0D, 0, (double) tile.getAnimation()/80);
}
ItemStack stackToRender = new ItemStack(ModItems.pistonbellows, 1);
@@ -74,7 +74,7 @@ public class TilePistonBellowsRender extends TileEntitySpecialRenderer<TilePisto
//GL11.glPushMatrix();
GL11.glRotated(90, 0.0F, 1.0F, 0.0F);
if(state.getValue(PistonBellows.ACTIVE) == Boolean.TRUE){
System.out.println(tile.getAnimation());
//System.out.println(tile.getAnimation());
GL11.glTranslated(0.0D, 0, (double) tile.getAnimation()/80);
}
ItemStack stackToRender = new ItemStack(ModItems.pistonbellows, 1);

View File

@@ -1,3 +1,5 @@
item.test.name=test
item.pistonbellows=Bellows Handle
tile.firebox.name=Firebox
tile.pistonbellows.name=Wooden Piston Bellows
itemGroup.forgecraft=ForgeCraft

View File

@@ -89,12 +89,168 @@
"to": [ 14, 16, 2 ],
"faces": {
"down": { "uv": [ 2, 0, 14, 0 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 14, 14.5 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 14, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 0, 14, 8 ], "texture": "#texture" },
"south": { "uv": [ 2, 0, 14, 8 ], "texture": "#texture" },
"west": { "uv": [ 13, 0, 15, 8 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 0, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 2.5, 13, 2 ],
"to": [ 3.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2.5, 2, 3.5, 14 ], "texture": "#texture" },
"up": { "uv": [ 2, 2, 3, 14 ], "texture": "#texture" },
"north": { "uv": [ 12.5, 2, 13.5, 3 ], "texture": "#texture" },
"south": { "uv": [ 2.5, 2, 3.5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 4.5, 13, 2 ],
"to": [ 5.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 12, 14, 13 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 6.5, 13, 2 ],
"to": [ 7.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 12.5, 13, 2 ],
"to": [ 13.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 10.5, 13, 2 ],
"to": [ 11.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 8.5, 13, 2 ],
"to": [ 9.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 2.5 ],
"to": [ 14, 15, 3.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 4.5 ],
"to": [ 14, 15, 5.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 6.5 ],
"to": [ 14, 15, 7.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 8.5 ],
"to": [ 14, 15, 9.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 10.5 ],
"to": [ 14, 15, 11.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 12.5 ],
"to": [ 14, 15, 13.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
}
],
"display": {

View File

@@ -11,7 +11,7 @@
"to": [ 16, 8, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture1" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"north": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" },
"south": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" },
"west": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" },
@@ -38,7 +38,7 @@
"faces": {
"down": { "uv": [ 0, 15, 4, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 4, 1 ], "texture": "#texture" },
"north": { "uv": [ 0, 4, 4, 8 ], "texture": "#texture1" },
"north": { "uv": [ 12, 4, 16, 8 ], "texture": "#texture1" },
"south": { "uv": [ 0, 4, 4, 8 ], "texture": "#texture" },
"west": { "uv": [ 0, 4, 1, 8 ], "texture": "#texture" },
"east": { "uv": [ 15, 4, 16, 8 ], "texture": "#texture" }
@@ -54,7 +54,7 @@
"north": { "uv": [ 14, 0, 16, 8 ], "texture": "#texture" },
"south": { "uv": [ 0, 0, 2, 8 ], "texture": "#texture" },
"west": { "uv": [ 2, 0, 16, 8 ], "texture": "#texture" },
"east": { "uv": [ 1, 4, 15, 12 ], "texture": "#texture1" }
"east": { "uv": [ 2, 0, 16, 8 ], "texture": "#texture1" }
}
},
{
@@ -63,10 +63,10 @@
"to": [ 16, 16, 14 ],
"faces": {
"down": { "uv": [ 0, 14, 2, 15 ], "texture": "#texture" },
"up": { "uv": [ 1, 1, 15, 3 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 0, 2, 2, 16 ], "texture": "#texture" },
"north": { "uv": [ 13, 0, 15, 8 ], "texture": "#texture" },
"south": { "uv": [ 0, 4, 2, 8 ], "texture": "#texture" },
"west": { "uv": [ 1, 4, 15, 11 ], "texture": "#texture1" },
"west": { "uv": [ 2, 0, 16, 7 ], "texture": "#texture1" },
"east": { "uv": [ 0, 0, 14, 8 ], "texture": "#texture" }
}
},
@@ -77,7 +77,7 @@
"faces": {
"down": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 2, 16 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 0, 2, 16, 6 ], "texture": "#texture1" },
"north": { "uv": [ 0, 0, 16, 4 ], "texture": "#texture1" },
"south": { "uv": [ 0, 0, 16, 4 ], "texture": "#texture" },
"west": { "uv": [ 0, 0, 2, 4 ], "texture": "#texture" },
"east": { "uv": [ 14, 0, 16, 4 ], "texture": "#texture" }
@@ -89,12 +89,168 @@
"to": [ 14, 16, 2 ],
"faces": {
"down": { "uv": [ 2, 0, 14, 0 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 14, 14.5 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 14, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 0, 14, 8 ], "texture": "#texture" },
"south": { "uv": [ 2, 4, 14, 12 ], "texture": "#texture1" },
"south": { "uv": [ 2, 0, 14, 8 ], "texture": "#texture1" },
"west": { "uv": [ 13, 0, 15, 8 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 0, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 2.5, 13, 2 ],
"to": [ 3.5, 14, 14 ],
"faces": {
"down": { "uv": [ 1, 12, 13, 13 ], "texture": "#texture1", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 4, 14, 5 ], "texture": "#texture1" },
"east": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube8",
"from": [ 4.5, 13, 2 ],
"to": [ 5.5, 14, 14 ],
"faces": {
"down": { "uv": [ 1, 12, 13, 13 ], "texture": "#texture1", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 4, 14, 5 ], "texture": "#texture1" },
"east": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube8",
"from": [ 6.5, 13, 2 ],
"to": [ 7.5, 14, 14 ],
"faces": {
"down": { "uv": [ 1, 12, 13, 13 ], "texture": "#texture1", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 4, 14, 5 ], "texture": "#texture1" },
"east": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube8",
"from": [ 12.5, 13, 2 ],
"to": [ 13.5, 14, 14 ],
"faces": {
"down": { "uv": [ 1, 12, 13, 13 ], "texture": "#texture1", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 4, 14, 5 ], "texture": "#texture1" },
"east": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube8",
"from": [ 10.5, 13, 2 ],
"to": [ 11.5, 14, 14 ],
"faces": {
"down": { "uv": [ 1, 12, 13, 13 ], "texture": "#texture1", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 4, 14, 5 ], "texture": "#texture1" },
"east": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube8",
"from": [ 8.5, 13, 2 ],
"to": [ 9.5, 14, 14 ],
"faces": {
"down": { "uv": [ 1, 12, 13, 13 ], "texture": "#texture1", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 4, 14, 5 ], "texture": "#texture1" },
"east": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 2.5 ],
"to": [ 14, 15, 3.5 ],
"faces": {
"down": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"up": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" },
"south": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 4.5 ],
"to": [ 14, 15, 5.5 ],
"faces": {
"down": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"up": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" },
"south": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 6.5 ],
"to": [ 14, 15, 7.5 ],
"faces": {
"down": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"up": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" },
"south": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 8.5 ],
"to": [ 14, 15, 9.5 ],
"faces": {
"down": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"up": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" },
"south": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 10.5 ],
"to": [ 14, 15, 11.5 ],
"faces": {
"down": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"up": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" },
"south": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 12.5 ],
"to": [ 14, 15, 13.5 ],
"faces": {
"down": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"up": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 5, 14, 6 ], "texture": "#texture1" },
"south": { "uv": [ 2, 8, 14, 9 ], "texture": "#texture1" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
}
]
}

View File

@@ -0,0 +1,256 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/brick",
"texture": "blocks/brick"
},
"elements": [
{
"__comment": "Cube1",
"from": [ 0, 0, 0 ],
"to": [ 16, 8, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"north": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" },
"south": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" },
"west": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Cube2",
"from": [ 0, 8, 14 ],
"to": [ 4, 12, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 4, 2 ], "texture": "#texture" },
"up": { "uv": [ 0, 14, 4, 16 ], "texture": "#texture" },
"north": { "uv": [ 12, 4, 16, 8 ], "texture": "#texture" },
"south": { "uv": [ 0, 4, 4, 8 ], "texture": "#texture" },
"west": { "uv": [ 14, 4, 16, 8 ], "texture": "#texture" },
"east": { "uv": [ 0, 4, 2, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube2",
"from": [ 12, 8, 14 ],
"to": [ 16, 12, 16 ],
"faces": {
"down": { "uv": [ 0, 15, 4, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 4, 1 ], "texture": "#texture" },
"north": { "uv": [ 12, 4, 16, 8 ], "texture": "#texture" },
"south": { "uv": [ 0, 4, 4, 8 ], "texture": "#texture" },
"west": { "uv": [ 0, 4, 1, 8 ], "texture": "#texture" },
"east": { "uv": [ 15, 4, 16, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube4",
"from": [ 0, 8, 0 ],
"to": [ 2, 16, 14 ],
"faces": {
"down": { "uv": [ 0, 0, 2, 14 ], "texture": "#texture" },
"up": { "uv": [ 0, 2, 2, 16 ], "texture": "#texture" },
"north": { "uv": [ 14, 0, 16, 8 ], "texture": "#texture" },
"south": { "uv": [ 0, 0, 2, 8 ], "texture": "#texture" },
"west": { "uv": [ 2, 0, 16, 8 ], "texture": "#texture" },
"east": { "uv": [ 2, 0, 16, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube4",
"from": [ 14, 8, 0 ],
"to": [ 16, 16, 14 ],
"faces": {
"down": { "uv": [ 0, 14, 2, 15 ], "texture": "#texture" },
"up": { "uv": [ 0, 2, 2, 16 ], "texture": "#texture" },
"north": { "uv": [ 13, 0, 15, 8 ], "texture": "#texture" },
"south": { "uv": [ 0, 4, 2, 8 ], "texture": "#texture" },
"west": { "uv": [ 2, 0, 16, 7 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 14, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube6",
"from": [ 0, 12, 14 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 2, 16 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 0, 3, 16, 7 ], "texture": "#texture" },
"south": { "uv": [ 0, 0, 16, 4 ], "texture": "#texture" },
"west": { "uv": [ 0, 0, 2, 4 ], "texture": "#texture" },
"east": { "uv": [ 14, 0, 16, 4 ], "texture": "#texture" }
}
},
{
"__comment": "Cube7",
"from": [ 2, 8, 0 ],
"to": [ 14, 16, 2 ],
"faces": {
"down": { "uv": [ 2, 0, 14, 0 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 14, 14 ], "texture": "#texture" },
"north": { "uv": [ 2, 0, 14, 8 ], "texture": "#texture" },
"south": { "uv": [ 2, 0, 14, 8 ], "texture": "#texture" },
"west": { "uv": [ 13, 0, 15, 8 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 0, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 2.5, 13, 2 ],
"to": [ 3.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2.5, 2, 3.5, 14 ], "texture": "#texture" },
"up": { "uv": [ 2, 2, 3, 14 ], "texture": "#texture" },
"north": { "uv": [ 12.5, 2, 13.5, 3 ], "texture": "#texture" },
"south": { "uv": [ 2.5, 2, 3.5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 4.5, 13, 2 ],
"to": [ 5.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 12, 14, 13 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 6.5, 13, 2 ],
"to": [ 7.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 12.5, 13, 2 ],
"to": [ 13.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 10.5, 13, 2 ],
"to": [ 11.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube8",
"from": [ 8.5, 13, 2 ],
"to": [ 9.5, 14, 14 ],
"faces": {
"down": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture", "rotation": 90 },
"up": { "uv": [ 3, 6, 15, 7 ], "texture": "#texture", "rotation": 90 },
"north": { "uv": [ 12, 2, 13, 3 ], "texture": "#texture" },
"south": { "uv": [ 4, 2, 5, 3 ], "texture": "#texture" },
"west": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" },
"east": { "uv": [ 2, 2, 14, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 2.5 ],
"to": [ 14, 15, 3.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 4.5 ],
"to": [ 14, 15, 5.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 6.5 ],
"to": [ 14, 15, 7.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 8.5 ],
"to": [ 14, 15, 9.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 10.5 ],
"to": [ 14, 15, 11.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Cube19",
"from": [ 2, 14, 12.5 ],
"to": [ 14, 15, 13.5 ],
"faces": {
"down": { "uv": [ 3, 13, 15, 14 ], "texture": "#texture" },
"up": { "uv": [ 3, 14, 15, 15 ], "texture": "#texture" },
"north": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"south": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture" },
"west": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture" },
"east": { "uv": [ 13, 1, 14, 2 ], "texture": "#texture" }
}
}
]
}