Class FullMapGenerator
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.map.Generators.FullMapGenerator
-
- All Implemented Interfaces:
Generator
public class FullMapGenerator extends java.lang.Object implements Generator
Fills the complete map with a block of a specific id.- Since:
- 1.2.38
- See Also:
AirGenerator
-
-
Constructor Summary
Constructors Constructor Description FullMapGenerator(byte id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgenerate(int x, int y, int z)Define which block should appear at which coordinate.voidspawnEntities(int x, int y, int z)Define which entities should appear at which coordinate.
-
-
-
Method Detail
-
generate
public int generate(int x, int y, int z)Description copied from interface:GeneratorDefine which block should appear at which coordinate.
-
spawnEntities
public void spawnEntities(int x, int y, int z)Description copied from interface:GeneratorDefine which entities should appear at which coordinate. This method should spawn them.- Specified by:
spawnEntitiesin interfaceGenerator
-
-