mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 13:33:54 +00:00
Added checkstyle plugin
Moved resources to correct folder Fixed and improved build information, no longer tracking build.properties
This commit is contained in:
@ -23,6 +23,7 @@ import org.bukkit.event.player.PlayerMoveEvent;
|
||||
|
||||
public final class AdminWorld extends CustomWorld
|
||||
{
|
||||
|
||||
private static final long CACHE_CLEAR_FREQUENCY = 30L * 1000L; //30 seconds, milliseconds
|
||||
private static final long TP_COOLDOWN_TIME = 500L; //0.5 seconds, milliseconds
|
||||
private static final String GENERATION_PARAMETERS = ConfigEntry.FLATLANDS_GENERATE_PARAMS.getString();
|
||||
|
@ -33,6 +33,7 @@ import org.bukkit.generator.ChunkGenerator;
|
||||
@SuppressWarnings("deprecation")
|
||||
public class CleanroomChunkGenerator extends ChunkGenerator
|
||||
{
|
||||
|
||||
private static final Logger log = Bukkit.getLogger();
|
||||
private short[] layer;
|
||||
private byte[] layerDataValues;
|
||||
|
@ -10,6 +10,7 @@ import org.bukkit.entity.Player;
|
||||
|
||||
public abstract class CustomWorld extends PluginComponent<TotalFreedomMod>
|
||||
{
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
//
|
||||
|
@ -16,9 +16,8 @@ import org.bukkit.block.BlockFace;
|
||||
|
||||
public class Flatlands extends CustomWorld
|
||||
{
|
||||
private static final String GENERATION_PARAMETERS = ConfigEntry.FLATLANDS_GENERATE_PARAMS.getString();
|
||||
|
||||
;
|
||||
private static final String GENERATION_PARAMETERS = ConfigEntry.FLATLANDS_GENERATE_PARAMS.getString();
|
||||
|
||||
public Flatlands()
|
||||
{
|
||||
|
@ -7,6 +7,7 @@ import org.bukkit.World;
|
||||
|
||||
public enum WorldTime
|
||||
{
|
||||
|
||||
INHERIT(),
|
||||
SUNRISE("sunrise,morning", 0),
|
||||
NOON("noon,midday,day", 6000),
|
||||
|
@ -7,6 +7,7 @@ import org.bukkit.World;
|
||||
|
||||
public enum WorldWeather
|
||||
{
|
||||
|
||||
OFF("off"),
|
||||
RAIN("rain"),
|
||||
STORM("storm,thunderstorm");
|
||||
|
Reference in New Issue
Block a user