Class OreType
java.lang.Object
cn.nukkit.level.generator.object.ore.OreType
- Author:
- MagicDroidX (Nukkit Project)
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
final int
final int
final int
static final OreType[]
final int
Deprecated.final int
final int
final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
spawn
(ChunkManager level, NukkitRandom rand, int replaceId, int x, int y, int z)
-
Field Details
-
EMPTY_ARRAY
-
fullId
@Deprecated @DeprecationDetails(reason="The meta is limited to 32 bits", since="1.3.0.0-PN") public final int fullIdDeprecated. -
blockId
-
blockData
-
clusterCount
public final int clusterCount -
clusterSize
public final int clusterSize -
maxHeight
public final int maxHeight -
minHeight
public final int minHeight -
replaceBlockId
public final int replaceBlockId
-
-
Constructor Details
-
OreType
-
OreType
public OreType(Block material, int clusterCount, int clusterSize, int minHeight, int maxHeight, int replaceBlockId)
-
-
Method Details
-
spawn
-