Jump to content

Minecraft 1.8 Structure Generation Help


DuckCreeper

Recommended Posts

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;
}

}

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 cant craft any of the epic fight mod weapons. I try using the recipes in the crafting table but nothing is working. and when i click on the epic fight weapon in jei there is no recipe at all.
    • Oklahoma Nation Cowboys at Youngstown Country PenguinsYoungstown, Ohio; Wednesday, 7 p.m. EDTBOTTOM LINE: The Youngstown Region Penguins facial area the Oklahoma Country Cowboys within the Countrywide Invitation Penguins include absent 15-5 versus Horizon League rivals, with a 9-4 history within non-meeting participate in. Youngstown Region is 1-2 inside online games resolved as a result of considerably less than 4 facts. The Cowboys are 8-10 in just Massive 12 engage in. Oklahoma Region ranks 9th within just the Large 12 taking pictures 31.1% towards 3-stage wide PERFORMERS: Dwayne Cohill is averaging 17.8 details and 4.8 helps for the Penguins. Adrian Nelson is averaging 17.1 info higher than the remaining 10 game titles for Youngstown Thompson is averaging 11.7 details for the Cowboys. Caleb Asberry is averaging 13.1 facts about the very last 10 video games for Oklahoma last 10 Video games: Penguins: 7-3 Zeke Zaragoza Jersey, averaging 79.7 info, 33.4 rebounds, 14.8 helps, 5.3 steals and 2.7 blocks for each video game despite the fact that capturing 48.1% versus the marketplace. Their rivals incorporate averaged 72.4 details for every : 4-6, averaging 66.4 specifics, 33.1 rebounds, 11.1 helps Jake Henry Jersey, 4.9 steals and 3.6 blocks for each sport even though taking pictures 41.3% towards the sector. Their rivals consist of averaged 72.0 info. The made this tale making use of technological innovation delivered by means of Information and facts Skrive and info against Sportradar. Cowboys Shop
    • Oklahoma Nation Cowboys at Youngstown Country PenguinsYoungstown, Ohio; Wednesday, 7 p.m. EDTBOTTOM LINE: The Youngstown Region Penguins facial area the Oklahoma Country Cowboys within the Countrywide Invitation Penguins include absent 15-5 versus Horizon League rivals, with a 9-4 history within non-meeting participate in. Youngstown Region is 1-2 inside online games resolved as a result of considerably less than 4 facts. The Cowboys are 8-10 in just Massive 12 engage in. Oklahoma Region ranks 9th within just the Large 12 taking pictures 31.1% towards 3-stage wide PERFORMERS: Dwayne Cohill is averaging 17.8 details and 4.8 helps for the Penguins. Adrian Nelson is averaging 17.1 info higher than the remaining 10 game titles for Youngstown Thompson is averaging 11.7 details for the Cowboys. Caleb Asberry is averaging 13.1 facts about the very last 10 video games for Oklahoma last 10 Video games: Penguins: 7-3 Zeke Zaragoza Jersey, averaging 79.7 info, 33.4 rebounds, 14.8 helps, 5.3 steals and 2.7 blocks for each video game despite the fact that capturing 48.1% versus the marketplace. Their rivals incorporate averaged 72.4 details for every : 4-6, averaging 66.4 specifics, 33.1 rebounds, 11.1 helps Jake Henry Jersey, 4.9 steals and 3.6 blocks for each sport even though taking pictures 41.3% towards the sector. Their rivals consist of averaged 72.0 info. The made this tale making use of technological innovation delivered by means of Information and facts Skrive and info against Sportradar. Cowboys Shop
    • DUTA89 agen slot online terbaik dan sering memberikan kemenangan kepada setiap member yang deposit diatas 50k dengan tidak klaim bonus sepeser pun.   Link daftar : https://heylink.me/DUTA89OFFICIAL/  
    • Hello All! Started a MC Eternal 1.6.2.2 server on Shockbyte hosting. The only other mod I added was betterfarmland v0.0.8BETA. Server is 16GB and Shockbyte wont tell me how many CPU cores i have.  We are having problems now when players log in it seems to crash the server. At other times it seems fine and we can have 3 people playing for hours at a time. Usually always when it does crash it is when someone logs in. Crash Reports Below. To the person who can post the fix I will reward $100 via Paypal.   ---- Minecraft Crash Report ---- // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] Time: 2024-09-19 21:04:58 UTC Description: Exception in server tick loop java.lang.StackOverflowError     at net.minecraft.advancements.PlayerAdvancements.hasCompletedChildrenOrSelf(PlayerAdvancements.java:451)     at net.minecraft.advancements.PlayerAdvancements.shouldBeVisible(PlayerAdvancements.java:419)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:385)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:406)     at net.minecraft.advancements.PlayerAdvancements.ensureVisibility(PlayerAdvancements.java:411)     at net.minecraft.advancements.P  
  • Topics

×
×
  • Create New...

Important Information

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