public class DarkTempleData
extends org.cyclops.cyclopscore.persist.world.WorldStorage
| Constructor and Description |
|---|
DarkTempleData(org.cyclops.cyclopscore.init.ModBase mod)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStructureLocation(net.minecraft.util.BlockPos blockPos)
Add a location of a new dark temple.
|
protected java.lang.String |
getDataId() |
boolean |
isStructureInRange(net.minecraft.util.BlockPos blockPos,
int range)
Check if a dark temple is in the range of the given coordinates.
|
void |
reset() |
public DarkTempleData(org.cyclops.cyclopscore.init.ModBase mod)
mod - The mod.public void addStructureLocation(net.minecraft.util.BlockPos blockPos)
blockPos - Coordinate of the dark temple.public boolean isStructureInRange(net.minecraft.util.BlockPos blockPos,
int range)
blockPos - The coordinate of the given location.range - The range in which we have to search for other dark temples
around the given location.public void reset()
reset in class org.cyclops.cyclopscore.persist.world.WorldStorageprotected java.lang.String getDataId()
getDataId in class org.cyclops.cyclopscore.persist.world.WorldStorage