Jump to content

Recommended Posts

Posted

So I've been recently coding. Creating a new 1.8 Minecraft Mod. I've been looking for tutorials and what not on how to create the files and actually have something generate. I've got most of it working. But I'm having a bit of trouble.

 

The parts I'm having trouble with are the

IBlockState checkID = world.setDefaultState(new BlockPos(i, j, k) (IBlockState));

	while (checkID != 0){
		if (distanceToAir > 3){
			return false;
		}

 

		if(b1.isAir(world, x, y, z) || b1.isLeaves(world, x, y, z))

and

			if (checkID != 0){
			return false;
		}

 

Any help is greatly appreciated

 

Here is my code

 

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;

public class VillageComponentSteelCraftHouse {
protected Block[] getValidSpawnBlocks() {
	return new Block[] {
		Blocks.stone,
		Blocks.grass,
		Blocks.dirt,
		Blocks.cobblestone,
		Blocks.sand,
		Blocks.gravel,
	};
}

public boolean LocationIsValidSpawn(World world, int i, int j, int k){
	int distanceToAir = 0;
	IBlockState checkID = world.setDefaultState(new BlockPos(i, j, k) (IBlockState));

	while (checkID != 0){
		if (distanceToAir > 3){
			return false;
		}

		distanceToAir++;
		checkID = world.getBlockState(new BlockPos(i, j + distanceToAir, k));
	}

	j += distanceToAir - 1;

	IBlockState blockID = world.getBlockState(new BlockPos(i, j, k));
	IBlockState blockIDAbove = world.getBlockState(new BlockPos(i, j+1, k));
	IBlockState blockIDBelow = world.getBlockState(new BlockPos(i, j-1, k);

	for (Block x : getValidSpawnBlocks()){
		if (checkID != 0){
			return false;
		}
		if (blockID == blockIDAbove){
			return true;
		}else if (blockID == Blocks.snow && blockIDBelow == x){
			return true;
		}
	}

	return false;
}

public VillageComponentSteelCraftHouse() { }

public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { }

public void setBlock(World world, int x, int y, int z, Block block, int metadata)
{
	IBlockState b1 = world.getBlockState(new BlockPos(x, y, z));

	if(b1.isAir(world, x, y, z) || b1.isLeaves(world, x, y, z))
	{

	}
}

public boolean generate(World world, Random rand, int i, int j, int k) {
	//check that each corner is one of the valid spawn blocks
	if(!LocationIsValidSpawn(world, i, j, k) || !LocationIsValidSpawn(world, i + 9, j, k) || !LocationIsValidSpawn(world, i + 9, j, k + 9) || !LocationIsValidSpawn(world, i, j, k + 9))
	{
		return false;
	}

	k = k - 10;
	i = i - 10;

	this.setBlock(world, i + 0, j + 0, k + 0, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 0, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 0, j + 0, k + 2, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 0, k + 3, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 0, k + 4, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 0, j + 0, k + 6, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 0, k + 7, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 0, k + 8, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 0, k + 9, Blocks.grass, 0);
	this.setBlock(world, i + 0, j + 1, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 0, j + 1, k + 2, Blocks.stone_brick_stairs, 0);
	this.setBlock(world, i + 0, j + 1, k + 3, Blocks.stone_brick_stairs, 0);
	this.setBlock(world, i + 0, j + 1, k + 4, Blocks.stone_brick_stairs, 0);
	this.setBlock(world, i + 0, j + 1, k + 5, Blocks.log, 0);
	this.setBlock(world, i + 0, j + 1, k + 6, Blocks.air, 2);
	this.setBlock(world, i + 0, j + 1, k + 8, Blocks.air, 2);
	this.setBlock(world, i + 0, j + 2, k + 1, Blocks.oak_fence, 0);
	this.setBlock(world, i + 0, j + 2, k + 5, Blocks.oak_fence, 0);
	this.setBlock(world, i + 0, j + 2, k + 6, Blocks.air, 10);
	this.setBlock(world, i + 0, j + 2, k + 8, Blocks.air, 10);
	this.setBlock(world, i + 1, j + 0, k + 0, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 1, j + 1, k + 0, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 3, Blocks.stone_brick_stairs, 3);
	this.setBlock(world, i + 1, j + 1, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 2, k + 0, Blocks.oak_fence, 0);
//		this.setBlock(world, i + 1, j + 2, k + 1, -117, 0);
	this.setBlock(world, i + 1, j + 2, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 2, k + 7, Blocks.planks, 0);
	this.setBlock(world, i + 1, j + 2, k + 8, Blocks.planks, 0);
	this.setBlock(world, i + 1, j + 2, k + 9, Blocks.log, 0);
//		this.setBlock(world, i + 1, j + 3, k + 1, -117, 0);
	this.setBlock(world, i + 1, j + 3, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 3, k + 7, Blocks.planks, 0);
	this.setBlock(world, i + 1, j + 3, k + 8, Blocks.planks, 0);
	this.setBlock(world, i + 1, j + 3, k + 9, Blocks.log, 0);
//		this.setBlock(world, i + 1, j + 4, k + 1, -117, 0);
	this.setBlock(world, i + 1, j + 4, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 4, k + 7, Blocks.planks, 0);
	this.setBlock(world, i + 1, j + 4, k + 8, Blocks.planks, 0);
	this.setBlock(world, i + 1, j + 4, k + 9, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 1, j + 5, k + 9, Blocks.log, 0);
	this.setBlock(world, i + 1, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 2, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 3, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 4, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 5, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 6, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 7, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 8, Blocks.stone_slab, 0);
	this.setBlock(world, i + 1, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 2, j + 0, k + 0, Blocks.grass, 0);
	this.setBlock(world, i + 2, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 2, j + 1, k + 0, Blocks.stone_brick_stairs, 2);
	this.setBlock(world, i + 2, j + 1, k + 1, Blocks.stone_brick_stairs, 3);
	this.setBlock(world, i + 2, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 1, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 1, k + 4, Blocks.stone_slab, 3);
	this.setBlock(world, i + 2, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 2, k + 3, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 2, j + 2, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 2, j + 2, k + 7, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 2, j + 2, k + 8, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 2, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 2, j + 3, k + 6, Blocks.planks, 0);
//		this.setBlock(world, i + 2, j + 3, k + 7, -116, 0);
//		this.setBlock(world, i + 2, j + 3, k + 8, -116, 0);
	this.setBlock(world, i + 2, j + 3, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 2, j + 4, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 2, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 2, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 2, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 2, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 3, j + 0, k + 0, Blocks.grass, 0);
	this.setBlock(world, i + 3, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 3, j + 1, k + 0, Blocks.stone_brick_stairs, 2);
	this.setBlock(world, i + 3, j + 1, k + 1, Blocks.stone_brick_stairs, 3);
	this.setBlock(world, i + 3, j + 1, k + 2, Blocks.stone_brick_stairs, 0);
	this.setBlock(world, i + 3, j + 1, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 1, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 2, k + 3, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 3, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 3, j + 3, k + 9, Blocks.glass_pane, 0);
	this.setBlock(world, i + 3, j + 4, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 3, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 3, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 3, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 3, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 4, j + 0, k + 0, Blocks.grass, 0);
	this.setBlock(world, i + 4, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 4, j + 1, k + 0, Blocks.stone_brick_stairs, 2);
	this.setBlock(world, i + 4, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 1, k + 3, Blocks.stone_brick_stairs, 2);
	this.setBlock(world, i + 4, j + 1, k + 4, Blocks.stone_slab, 3);
	this.setBlock(world, i + 4, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 1, k + 7, Blocks.stone_brick_stairs, 1);
	this.setBlock(world, i + 4, j + 1, k + 8, Blocks.stone_slab, 3);
	this.setBlock(world, i + 4, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 2, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 4, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 4, j + 3, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 4, j + 3, k + 9, Blocks.glass_pane, 0);
	this.setBlock(world, i + 4, j + 4, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 4, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 4, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 4, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 4, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 5, j + 0, k + 0, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 5, j + 1, k + 0, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 2, k + 0, Blocks.oak_fence, 0);
	this.setBlock(world, i + 5, j + 2, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 2, k + 2, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 2, k + 3, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 2, k + 4, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 2, k + 5, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 2, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 3, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 3, k + 2, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 3, k + 3, Blocks.glass_pane, 0);
	this.setBlock(world, i + 5, j + 3, k + 4, Blocks.glass_pane, 0);
	this.setBlock(world, i + 5, j + 3, k + 5, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 3, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 3, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 4, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 4, k + 2, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 4, k + 3, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 4, k + 4, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 4, k + 5, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 4, k + 6, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 5, j + 5, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 5, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 5, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 5, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 6, j + 0, k + 0, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 6, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 6, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 1, k + 3, Blocks.stone_slab, 3);
	this.setBlock(world, i + 6, j + 1, k + 4, Blocks.stone_brick_stairs, 1);
	this.setBlock(world, i + 6, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 1, k + 6, Blocks.stone_slab, 3);
	this.setBlock(world, i + 6, j + 1, k + 7, Blocks.stone_brick_stairs, 0);
	this.setBlock(world, i + 6, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 2, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 6, j + 2, k + 2, Blocks.chest, 3);
	this.setBlock(world, i + 6, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 6, j + 3, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 6, j + 3, k + 9, Blocks.glass_pane, 0);
	this.setBlock(world, i + 6, j + 4, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 6, j + 4, k + 2, Blocks.furnace, 3);
	this.setBlock(world, i + 6, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 6, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 6, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 6, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 7, j + 0, k + 0, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 7, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 7, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 1, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 1, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 1, k + 5, Blocks.stone_slab, 3);
	this.setBlock(world, i + 7, j + 1, k + 6, Blocks.stone_brick_stairs, 2);
	this.setBlock(world, i + 7, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 2, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 7, j + 2, k + 2, Blocks.crafting_table, 0);
	this.setBlock(world, i + 7, j + 2, k + 8, Blocks.oak_stairs, 2);
	this.setBlock(world, i + 7, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 7, j + 3, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 7, j + 3, k + 9, Blocks.glass_pane, 0);
	this.setBlock(world, i + 7, j + 4, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 7, j + 4, k + 2, Blocks.furnace, 3);
	this.setBlock(world, i + 7, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 7, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 7, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 7, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 8, j + 0, k + 0, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 8, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 8, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 3, Blocks.stone_brick_stairs, 3);
	this.setBlock(world, i + 8, j + 1, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 2, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 8, j + 2, k + 2, Blocks.chest, 3);
	this.setBlock(world, i + 8, j + 2, k + 7, Blocks.oak_stairs, 0);
	this.setBlock(world, i + 8, j + 2, k + 8, Blocks.oak_stairs, 0);
	this.setBlock(world, i + 8, j + 2, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 8, j + 3, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 8, j + 3, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 8, j + 4, k + 1, Blocks.planks, 0);
	this.setBlock(world, i + 8, j + 4, k + 2, Blocks.furnace, 3);
	this.setBlock(world, i + 8, j + 4, k + 9, Blocks.planks, 0);
	this.setBlock(world, i + 8, j + 5, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 5, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 8, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 8, j + 6, k + 9, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 0, k + 0, Blocks.stone_slab2, 0);
	this.setBlock(world, i + 9, j + 0, k + 1, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 2, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 3, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 4, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 5, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 6, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 7, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 8, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 0, k + 9, Blocks.dirt, 0);
	this.setBlock(world, i + 9, j + 1, k + 1, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 1, k + 9, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 2, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 2, k + 2, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 3, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 4, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 5, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 7, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 8, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 2, k + 9, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 3, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 3, k + 2, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 3, k + 3, Blocks.glass_pane, 0);
	this.setBlock(world, i + 9, j + 3, k + 4, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 3, k + 5, Blocks.glass_pane, 0);
	this.setBlock(world, i + 9, j + 3, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 3, k + 7, Blocks.glass_pane, 0);
	this.setBlock(world, i + 9, j + 3, k + 8, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 3, k + 9, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 4, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 4, k + 2, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 3, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 4, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 5, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 6, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 7, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 8, Blocks.planks, 0);
	this.setBlock(world, i + 9, j + 4, k + 9, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 5, k + 1, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 5, k + 2, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 3, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 4, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 5, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 6, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 7, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 8, Blocks.cobblestone, 0);
	this.setBlock(world, i + 9, j + 5, k + 9, Blocks.log, 0);
	this.setBlock(world, i + 9, j + 6, k + 1, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 2, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 3, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 4, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 5, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 6, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 7, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 8, Blocks.stone_slab, 0);
	this.setBlock(world, i + 9, j + 6, k + 9, Blocks.stone_slab, 0);

	return true;
}

}

 

Posted

An

IBlockState

will never be equal to an

int

. Use

IBlockState#getBlock

to get the

Block

represented by an

IBlockState

.

 

There's no method called

World#setDefaultState

.

World#setBlockState

is the method you want.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

An

IBlockState

will never be equal to an

int

. Use

IBlockState#getBlock

to get the

Block

represented by an

IBlockState

.

 

There's no method called

World#setDefaultState

.

World#setBlockState

is the method you want.

 

So would it be :

Block checkID = world.setBlockState(new BlockPos(i, j, k), IBlockState.getBlock, checkID);

 

I simply cant figure it out.

Posted

Note:

 

I've found a 1.8 tutorial on creating a structure. But it doesn't help much. My structure isn't loading within the world. How does one register and initialize it within the main class?

Posted

An

IBlockState

will never be equal to an

int

. Use

IBlockState#getBlock

to get the

Block

represented by an

IBlockState

.

 

There's no method called

World#setDefaultState

.

World#setBlockState

is the method you want.

 

So would it be :

Block checkID = world.setBlockState(new BlockPos(i, j, k), IBlockState.getBlock, checkID);

 

I simply cant figure it out.

 

IBlockState#getBlock

means that

getBlock

is an instance method of

IBlockState

. Call it on an instance of

IBlockState

to get its

Block

.

 

Use

World#getBlockState

to get the

IBlockState

at the specified position.

 

You can think of an

IBlockState

as a combination of a

Block

and its metadata value.

 

Use

GameRegistry.registerWorldGenerator

to register an

IWorldGenerator

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

An

IBlockState

will never be equal to an

int

. Use

IBlockState#getBlock

to get the

Block

represented by an

IBlockState

.

 

There's no method called

World#setDefaultState

.

World#setBlockState

is the method you want.

 

So would it be :

Block checkID = world.setBlockState(new BlockPos(i, j, k), IBlockState.getBlock, checkID);

 

I simply cant figure it out.

 

IBlockState#getBlock

means that

getBlock

is an instance method of

IBlockState

. Call it on an instance of

IBlockState

to get its

Block

.

 

Use

World#getBlockState

to get the

IBlockState

at the specified position.

 

You can think of an

IBlockState

as a combination of a

Block

and its metadata value.

 

Use

GameRegistry.registerWorldGenerator

to register an

IWorldGenerator

.

 

GameRegistry.registerWorldGenerator

would be put in the main class? Or the village class?

Posted

Registrations usually belong in one's main class (probably in init). Sometimes, for something client-only, a registration might belong in a client proxy.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I want to create block with entity, that will have height of 3 or more(configurable) and I tried to change first VoxelShape by increasing collision box on height I want and for changing block height on visual side i tried to configure BlockModelBuilder:  base.element() .from(0, 0, 0) .to(16f, 48f, 16f) .face(Direction.UP).texture("#top").end() .face(Direction.DOWN).texture("#bottom").end() .face(Direction.NORTH).texture("#side").end() .face(Direction.SOUTH).texture("#side").end() .face(Direction.WEST).texture("#side").end() .face(Direction.EAST).texture("#side").end() .end(); but, getting crash with next error: Position y out of range, must be within [-16, 32]. Found: %d [48.0]; Looks like game wont to block height modified by more than 32. Is there any way to fix that problem?
    • As long as the packets you are sending aren't lost, there's nothing wrong with what you're currently doing. Although, this sounds like something that would benefit from you making your own datapack registry instead of trying to arbitrarily sync static maps. Check out `DataPackRegistryEvent.NewRegistry`.
    • Hey all, I've been working a lot with datapacks lately, and I'm wondering what the most efficient way to get said data from server to client is.  I'm currently using packets, but given that a lot of the data I'm storing involves maps along the lines of Map<ResourceLocation, CustomDataType>, it can easily start to get messy if I need to transmit a lot of that data all at once. Recently I started looking into the ReloadableServerResources class, which is where Minecraft stores its built-ins.  I see you can access it via the server from the server's resources.managers, and it seems like this can be done even from the client to appropriately retrieve data from the server, unless I'm misunderstanding.  However, from what I can tell, this only works via built-in methods such as getRecipeManager() or getLootTables(), etc.  These are all SimpleJsonResourceReloadListeners, just like my datapack entries are, so it seems like it could be possible for me to access my datapack entries similarly?  But I don't see anywhere in ReloadableServerResources that stores loaded modded entries, so either I'm looking in the wrong place or it doesn't seem to be a thing. Are packets really the best way of doing this, or am I missing a method that would let me use ReloadableServerResources or something similar?
    • Hi, everyone! I'm new to minecraft modding stuff and want ask you some questions. 1. I checked forge references and saw there com.mojang and net.minecraft (not net.minecraftforge) and as I understand it's original game packages with all minecraft logic inside including renderers and so on, right? 2. Does it mean that forge has a limited set of instruments which doesn't cover all the aspects of the game? If make my question more specific then does forge provide such instruments that allow me totally change minecraft itself, like base mechanics and etc.? Or I have to use "original game packages" to implement such things? 3. I actively learning basic concepts with forge documentation and tutorials. So in my plans make different inventory system like in diabloids. Is that possible with forge? 4. It is last question related to the second one. So how deeply I can change minecraft with forge? I guess all my questions above because of that I haven't globally understanding what forge is and how it works inside and how it works with minecraft. It would be great if you provide some links or topics about it or explain it by yourself but I guess it's to big to be explained in that post at once. Anyway, thank you all for any help!
    • Im trying add to block a hole in center, just a usual block and in center of it on up side, there is should be a hole. I tried to add it via BlockModelBuilder, but its not working. Problem is that it only can change block size outside. I tried it to do with VoxelShape and its working, but its has been on server side and looks like its just changed collision shape, but for client, there is a texture covering this hole. I tried to use: base.renderType("cutout"); and removed some pixels from texture. I thought its should work, but game optimization makes block inside looks transparent. So, only custom model?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.