public class WorldGenHelper
extends java.lang.Object
| Constructor and Description |
|---|
WorldGenHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLocationSuitableForOre(net.minecraft.world.World world,
int x,
int y,
int z)
Checks if the world location is fit to spawn an ore block
|
static boolean |
spawnOreBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block)
Ensures that the ore block is spawning correctly in the ground
|
public static boolean spawnOreBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block)
world - The worldx - The x coordy - The y coordz - The z coordblock - The block to spawnpublic static boolean isLocationSuitableForOre(net.minecraft.world.World world,
int x,
int y,
int z)
world - The worldx - The x coordy - The y coordz - The z coord