|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.morbz.minecraft.level.FlatGenerator
public class FlatGenerator
This class can be used to define the default block layers of the part of the world that will be created by the internal Minecraft generator. This results in a flat world where the blocks of each Y-coordinate are the same. It is recommended to combine the FlatGenerator with the DefaultLayers to get a consistent world.
Constructor Summary | |
---|---|
FlatGenerator()
Creates a new instance. |
|
FlatGenerator(DefaultLayers layers)
Creates a new instance. |
Method Summary | |
---|---|
java.lang.String |
getGeneratorName()
Returns the generator name as it is used in the level file. |
java.lang.String |
getGeneratorOptions()
Returns the generator options as they are used in the level file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatGenerator()
public FlatGenerator(DefaultLayers layers)
layers
- The default layers. Can be 'null'Method Detail |
---|
public java.lang.String getGeneratorName()
getGeneratorName
in interface IGenerator
public java.lang.String getGeneratorOptions()
getGeneratorOptions
in interface IGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |