Adding blockstates to empty crucible for hot, hot cracked, and cracked. need textures
This commit is contained in:
@@ -2,12 +2,18 @@ package nmd.primal.forgecraft.blocks;
|
|||||||
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.block.properties.IProperty;
|
||||||
|
import net.minecraft.block.properties.PropertyDirection;
|
||||||
|
import net.minecraft.block.properties.PropertyInteger;
|
||||||
|
import net.minecraft.block.state.BlockStateContainer;
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
import net.minecraft.util.EnumBlockRenderType;
|
import net.minecraft.util.EnumBlockRenderType;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.math.AxisAlignedBB;
|
import net.minecraft.util.math.AxisAlignedBB;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
import nmd.primal.forgecraft.ModInfo;
|
import nmd.primal.forgecraft.ModInfo;
|
||||||
@@ -19,6 +25,8 @@ public class EmptyCrucible extends Block {
|
|||||||
|
|
||||||
protected static final AxisAlignedBB boundBox = new AxisAlignedBB(4/16D, 0.0D, 4/16D, 12/16D, 7/16D, 12/16D);
|
protected static final AxisAlignedBB boundBox = new AxisAlignedBB(4/16D, 0.0D, 4/16D, 12/16D, 7/16D, 12/16D);
|
||||||
|
|
||||||
|
public static final PropertyInteger SIZE = PropertyInteger.create("size", 0, 3);
|
||||||
|
|
||||||
public EmptyCrucible(Material material, String registryName) {
|
public EmptyCrucible(Material material, String registryName) {
|
||||||
super(material);
|
super(material);
|
||||||
setUnlocalizedName(ModInfo.ForgecraftBlocks.EMPTYCRUCIBLE.getUnlocalizedName());
|
setUnlocalizedName(ModInfo.ForgecraftBlocks.EMPTYCRUCIBLE.getUnlocalizedName());
|
||||||
@@ -26,6 +34,60 @@ public class EmptyCrucible extends Block {
|
|||||||
//setRegistryName(ModInfo.ForgecraftBlocks.FIREBOX.getRegistryName());
|
//setRegistryName(ModInfo.ForgecraftBlocks.FIREBOX.getRegistryName());
|
||||||
setCreativeTab(ModInfo.TAB_FORGECRAFT);
|
setCreativeTab(ModInfo.TAB_FORGECRAFT);
|
||||||
setHardness(3.0f);
|
setHardness(3.0f);
|
||||||
|
this.blockState.getBaseState().withProperty(SIZE, Integer.valueOf(0));
|
||||||
|
}
|
||||||
|
|
||||||
|
// ***************************************************************************** //
|
||||||
|
// BlockState
|
||||||
|
// ***************************************************************************** //
|
||||||
|
@Override
|
||||||
|
public IBlockState getStateForPlacement(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
|
||||||
|
{
|
||||||
|
return this.getStateFromMeta(meta).withProperty(SIZE, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected BlockStateContainer createBlockState() {
|
||||||
|
return new BlockStateContainer(this, new IProperty[] {SIZE});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IBlockState getStateFromMeta(int meta)
|
||||||
|
{
|
||||||
|
IBlockState iblockstate = this.getDefaultState();
|
||||||
|
|
||||||
|
if (meta == 0){
|
||||||
|
iblockstate = iblockstate.withProperty(SIZE, 0);
|
||||||
|
} else if (meta == 1){
|
||||||
|
iblockstate = iblockstate.withProperty(SIZE, 1);
|
||||||
|
} else if (meta == 2){
|
||||||
|
iblockstate = iblockstate.withProperty(SIZE, 2);
|
||||||
|
} else if (meta == 3){
|
||||||
|
iblockstate = iblockstate.withProperty(SIZE, 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
return iblockstate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getMetaFromState(IBlockState state)
|
||||||
|
{
|
||||||
|
int i = 0;
|
||||||
|
//switch state.getValue(LOG_AXIS);
|
||||||
|
if(state.getValue(SIZE) == 0) {
|
||||||
|
i = 0;
|
||||||
|
return i;
|
||||||
|
} else if(state.getValue(SIZE) == 1){
|
||||||
|
i = 1;
|
||||||
|
return i;
|
||||||
|
} else if(state.getValue(SIZE) == 2){
|
||||||
|
i = 2;
|
||||||
|
return i;
|
||||||
|
}else if(state.getValue(SIZE) == 3){
|
||||||
|
i = 3;
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -38,9 +38,9 @@ public class BloomeryCrafting {
|
|||||||
// ***************************************************************************** //
|
// ***************************************************************************** //
|
||||||
// Recipe Methods
|
// Recipe Methods
|
||||||
// ***************************************************************************** //
|
// ***************************************************************************** //
|
||||||
public static void addRecipe(ItemStack input, ItemStack output, ItemStack output_failed, int heat_threshold, int ideal_time, float heat_variance, float time_variance)
|
public static void addRecipe(ItemStack input, ItemStack output, ItemStack failed, int heat_threshold, int ideal_time, float heat_variance, float time_variance)
|
||||||
{
|
{
|
||||||
bloomeryRecipes.add(new BloomeryCrafting(input, output, output_failed, heat_threshold, ideal_time, heat_variance, time_variance));
|
bloomeryRecipes.add(new BloomeryCrafting(input, output, failed, heat_threshold, ideal_time, heat_variance, time_variance));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isRecipeItem(ItemStack stack)
|
public static boolean isRecipeItem(ItemStack stack)
|
||||||
|
|||||||
@@ -38,12 +38,20 @@ public class ModCrafting {
|
|||||||
//DryingRecipe.addRecipe(new ItemStack(Items.FISH, 1, 0), new ItemStack(PrimalItems.FISH_COD_DRIED), new ItemStack(PrimalItems.FISH_COD_ROTTEN), 25, 0.006F);
|
//DryingRecipe.addRecipe(new ItemStack(Items.FISH, 1, 0), new ItemStack(PrimalItems.FISH_COD_DRIED), new ItemStack(PrimalItems.FISH_COD_ROTTEN), 25, 0.006F);
|
||||||
BloomeryCrafting.addRecipe(
|
BloomeryCrafting.addRecipe(
|
||||||
new ItemStack(ModItems.softcrucible, 1),
|
new ItemStack(ModItems.softcrucible, 1),
|
||||||
new ItemStack(Item.getItemFromBlock(ModBlocks.emptycrucible), 1),
|
new ItemStack(ModBlocks.emptycrucible, 1),
|
||||||
//new ItemStack(ModItems.crackedcrucible, 1),
|
|
||||||
new ItemStack(Items.STICK, 1),
|
new ItemStack(Items.STICK, 1),
|
||||||
500,
|
2100,
|
||||||
500,
|
2400,
|
||||||
1.25f,
|
0.25f,
|
||||||
1.0f);
|
0.25f);
|
||||||
|
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.emptycrucible, 1),
|
||||||
|
new ItemStack(Items.STICK, 1),
|
||||||
|
new ItemStack(Items.STICK, 1),
|
||||||
|
2700,
|
||||||
|
9000,
|
||||||
|
0.0f,
|
||||||
|
0.0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,12 +30,18 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void update () {
|
public void update () {
|
||||||
|
World world = this.getWorld();
|
||||||
if(!world.isRemote){
|
if(!world.isRemote){
|
||||||
World world = this.getWorld();
|
IBlockState state = world.getBlockState(this.pos);
|
||||||
|
if(state.getValue(Bloomery.ACTIVE) == true){
|
||||||
|
if(this.getHeat() < 400){
|
||||||
|
this.setHeat(400);
|
||||||
|
}
|
||||||
|
}
|
||||||
this.iteration ++;
|
this.iteration ++;
|
||||||
if(this.iteration == 300 ) {
|
if(this.iteration == 300 ) {
|
||||||
this.iteration = 0;
|
this.iteration = 0;
|
||||||
IBlockState state = world.getBlockState(this.pos);
|
//IBlockState state = world.getBlockState(this.pos);
|
||||||
BlockPos abovePos = new BlockPos(this.getPos().getX(), this.getPos().getY()+1, this.getPos().getZ());
|
BlockPos abovePos = new BlockPos(this.getPos().getX(), this.getPos().getY()+1, this.getPos().getZ());
|
||||||
if (world.getBlockState(this.getPos()).getValue(Bloomery.ACTIVE)) {
|
if (world.getBlockState(this.getPos()).getValue(Bloomery.ACTIVE)) {
|
||||||
if (this.getSlotStack(0) == ItemStack.EMPTY) {
|
if (this.getSlotStack(0) == ItemStack.EMPTY) {
|
||||||
@@ -44,7 +50,6 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
world.notifyBlockUpdate(pos, state, state, 2);
|
world.notifyBlockUpdate(pos, state, state, 2);
|
||||||
}
|
}
|
||||||
slotZeroManager(world);
|
slotZeroManager(world);
|
||||||
|
|
||||||
}
|
}
|
||||||
this.heatManager(this.getHeat(), state, this.getSlotStack(0));
|
this.heatManager(this.getHeat(), state, this.getSlotStack(0));
|
||||||
}
|
}
|
||||||
@@ -55,21 +60,22 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
private void slotOneManager(){
|
private void slotOneManager(){
|
||||||
BloomeryCrafting recipe = BloomeryCrafting.getRecipe(this.getSlotStack(1));
|
BloomeryCrafting recipe = BloomeryCrafting.getRecipe(this.getSlotStack(1));
|
||||||
if(recipe != null){
|
if(recipe != null){
|
||||||
System.out.println(recipe.getInput() + " : " + recipe.getOutput() + " : " + recipe.getIdealTime() + " : " + recipe.getHeatThreshold());
|
System.out.println(recipe.getIdealTime() + " : " + recipe.getHeatThreshold());
|
||||||
System.out.println(this.getSlotStack(1) + " : " + this.cookCounter + " : " + this.getHeat());
|
System.out.println(this.cookCounter + " : " + this.getHeat());
|
||||||
|
System.out.println("====================");
|
||||||
if(this.getHeat() >= recipe.getHeatThreshold()){
|
if(this.getHeat() >= recipe.getHeatThreshold()){
|
||||||
cookCounter++;
|
cookCounter++;
|
||||||
//System.out.println(cookCounter);
|
|
||||||
}
|
}
|
||||||
if(cookCounter >= recipe.getIdealTime()){
|
if(cookCounter >= recipe.getIdealTime() ){
|
||||||
if(this.getSlotStack(1) == recipe.getInput()) {
|
if(this.getSlotStack(1).getItem() == recipe.getInput().getItem()) {
|
||||||
this.setSlotStack(1, recipe.getOutput());
|
this.setSlotStack(1, recipe.getOutput());
|
||||||
|
this.cookCounter = 0;
|
||||||
System.out.print(" :Success: " + this.getSlotStack(1));
|
System.out.print(" :Success: " + this.getSlotStack(1));
|
||||||
this.updateBlock();
|
this.updateBlock();
|
||||||
this.markDirty();
|
this.markDirty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( cookCounter > recipe.getIdealTime() + (recipe.getIdealTime() * recipe.getTimeVariance())){
|
if(cookCounter > recipe.getIdealTime() + (recipe.getIdealTime() * recipe.getTimeVariance())){
|
||||||
if(this.getSlotStack(1) == recipe.getInput()) {
|
if(this.getSlotStack(1) == recipe.getInput()) {
|
||||||
this.setSlotStack(1, recipe.getOutputFailed());
|
this.setSlotStack(1, recipe.getOutputFailed());
|
||||||
this.cookCounter = 0;
|
this.cookCounter = 0;
|
||||||
@@ -77,7 +83,6 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
this.updateBlock();
|
this.updateBlock();
|
||||||
this.markDirty();
|
this.markDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if(this.getHeat() > recipe.getHeatThreshold() + (recipe.getHeatThreshold() * recipe.getHeatVariance())){
|
if(this.getHeat() > recipe.getHeatThreshold() + (recipe.getHeatThreshold() * recipe.getHeatVariance())){
|
||||||
this.setSlotStack(1, recipe.getOutputFailed());
|
this.setSlotStack(1, recipe.getOutputFailed());
|
||||||
@@ -129,9 +134,9 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
if(h > 400) {
|
if(h > 400) {
|
||||||
this.setHeat(h - 25);
|
this.setHeat(h - 25);
|
||||||
}
|
}
|
||||||
if(h < 400){
|
/*if(h < 400){
|
||||||
this.setHeat(400);
|
this.setHeat(400);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
if(stack.isEmpty()){
|
if(stack.isEmpty()){
|
||||||
if(h > 50){
|
if(h > 50){
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
"variants": {
|
"variants": {
|
||||||
"normal": { "model": "forgecraft:emptycrucible" }
|
"size=0": { "model": "forgecraft:emptycrucible" },
|
||||||
|
"size=1": { "model": "forgecraft:emptycruciblehot" },
|
||||||
|
"size=2": { "model": "forgecraft:emptycruciblecracked" }
|
||||||
|
"size=3": { "model": "forgecraft:emptycruciblecrackedhot" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_cracked"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 5, 0, 5 ],
|
||||||
|
"to": [ 11, 1, 11 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 5, 1, 5 ],
|
||||||
|
"to": [ 11, 7, 6 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 5, 1, 10 ],
|
||||||
|
"to": [ 11, 7, 11 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 5, 1, 6 ],
|
||||||
|
"to": [ 6, 7, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 10, 1, 6 ],
|
||||||
|
"to": [ 11, 7, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 4, 5, 6 ],
|
||||||
|
"to": [ 5, 6, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 11, 5, 6 ],
|
||||||
|
"to": [ 12, 6, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube17",
|
||||||
|
"from": [ 6, 5, 4 ],
|
||||||
|
"to": [ 10, 6, 5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube18",
|
||||||
|
"from": [ 6, 5, 11 ],
|
||||||
|
"to": [ 10, 6, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"translation": [ 0.1, 1.1, -2.35 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ 45, 45, 0 ],
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_cracked_hot"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 5, 0, 5 ],
|
||||||
|
"to": [ 11, 1, 11 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 5, 1, 5 ],
|
||||||
|
"to": [ 11, 7, 6 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 5, 1, 10 ],
|
||||||
|
"to": [ 11, 7, 11 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 5, 1, 6 ],
|
||||||
|
"to": [ 6, 7, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 10, 1, 6 ],
|
||||||
|
"to": [ 11, 7, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 4, 5, 6 ],
|
||||||
|
"to": [ 5, 6, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 11, 5, 6 ],
|
||||||
|
"to": [ 12, 6, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube17",
|
||||||
|
"from": [ 6, 5, 4 ],
|
||||||
|
"to": [ 10, 6, 5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube18",
|
||||||
|
"from": [ 6, 5, 11 ],
|
||||||
|
"to": [ 10, 6, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"translation": [ 0.1, 1.1, -2.35 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ 45, 45, 0 ],
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,145 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 5, 0, 5 ],
|
||||||
|
"to": [ 11, 1, 11 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 5, 1, 5 ],
|
||||||
|
"to": [ 11, 7, 6 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 5, 1, 10 ],
|
||||||
|
"to": [ 11, 7, 11 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 5, 1, 6 ],
|
||||||
|
"to": [ 6, 7, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 10, 1, 6 ],
|
||||||
|
"to": [ 11, 7, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 4, 5, 6 ],
|
||||||
|
"to": [ 5, 6, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 11, 5, 6 ],
|
||||||
|
"to": [ 12, 6, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube17",
|
||||||
|
"from": [ 6, 5, 4 ],
|
||||||
|
"to": [ 10, 6, 5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube18",
|
||||||
|
"from": [ 6, 5, 11 ],
|
||||||
|
"to": [ 10, 6, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"translation": [ 0.1, 1.1, -2.35 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ 45, 45, 0 ],
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user