Package com.plotsquared.core.generator
Class ClassicPlotWorld
java.lang.Object
com.plotsquared.core.plot.PlotArea
com.plotsquared.core.generator.GridPlotWorld
com.plotsquared.core.generator.SquarePlotWorld
com.plotsquared.core.generator.ClassicPlotWorld
- Direct Known Subclasses:
HybridPlotWorld
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintintintFields inherited from class com.plotsquared.core.generator.SquarePlotWorld
PLOT_WIDTH, ROAD_OFFSET_X, ROAD_OFFSET_Z, ROAD_WIDTHFields inherited from class com.plotsquared.core.generator.GridPlotWorld
SIZE -
Constructor Summary
ConstructorsConstructorDescriptionClassicPlotWorld(@NonNull String worldName, String id, @NonNull IndependentPlotGenerator generator, PlotId min, PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) -
Method Summary
Modifier and TypeMethodDescriptionCONFIG NODE | DEFAULT VALUE | DESCRIPTION | CONFIGURATION TYPE | REQUIRED FOR INITIAL SETUP.voidThis method is called when a world loads.Methods inherited from class com.plotsquared.core.plot.PlotArea
addCluster, addPlot, addPlotAbs, addPlotIfAbsent, allowSigns, canClaim, contains, contains, contains, createManager, defaultHome, deleteMeta, equals, forEachBasePlot, getBasePlots, getBorder, getCluster, getCluster, getClusters, getDefaultHome, getFirstIntersectingCluster, getFlag, getFlag, getFlagContainer, getGameMode, getGenerator, getId, getLegacySignMaterial, getMax, getMaxBuildHeight, getMeta, getMeta, getMin, getMinBuildHeight, getNextFreePlot, getNonmemberHome, getOwnedPlot, getOwnedPlot, getOwnedPlotAbs, getOwnedPlotAbs, getPlot, getPlot, getPlotAbs, getPlotAbs, getPlotBiome, getPlotCount, getPlotCount, getPlotCount, getPlotEntries, getPlotManager, getPlots, getPlots, getPlots, getPlotsAbs, getPlotSelectionOwned, getPlotsRaw, getPrices, getQueue, getRegion, getRoadFlag, getRoadFlag, getRoadFlagContainer, getSchematicFile, getSchematics, getSignMaterial, getTerrain, getType, getWorldHash, getWorldName, hashCode, hasPlot, hasSchematic, hasWorldBorder, isAutoMerge, isCompatible, isForcingPlotChat, isHomeAllowNonmember, isMiscSpawnUnowned, isMobSpawnerSpawning, isMobSpawning, isPlotChat, isRoadFlags, isSchematicClaimSpecify, isSchematicOnClaim, isSpawnBreeding, isSpawnCustom, isSpawnEggs, legacySignMaterial, loadDefaultConfiguration, mergePlots, nonmemberHome, removeCluster, removePlot, saveConfiguration, setAllowSigns, setDefaultHome, setMeta, setTerrain, setType, setupBorder, signMaterial, toString, useEconomy
-
Field Details
-
ROAD_HEIGHT
public int ROAD_HEIGHT -
PLOT_HEIGHT
public int PLOT_HEIGHT -
WALL_HEIGHT
public int WALL_HEIGHT -
MAIN_BLOCK
-
TOP_BLOCK
-
WALL_BLOCK
-
CLAIMED_WALL_BLOCK
-
WALL_FILLING
-
ROAD_BLOCK
-
PLOT_BEDROCK
public boolean PLOT_BEDROCK -
PLACE_TOP_BLOCK
public boolean PLACE_TOP_BLOCK
-
-
Constructor Details
-
ClassicPlotWorld
public ClassicPlotWorld(@NonNull String worldName, @Nullable String id, @NonNull IndependentPlotGenerator generator, @Nullable PlotId min, @Nullable PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue)
-
-
Method Details
-
getSettingNodes
CONFIG NODE | DEFAULT VALUE | DESCRIPTION | CONFIGURATION TYPE | REQUIRED FOR INITIAL SETUP.Set the last boolean to false if you do not check a specific config node to be set while using the setup command - this may be useful if a config value can be changed at a later date, and has no impact on the actual world generation
- Specified by:
getSettingNodesin classPlotArea- Returns:
- ConfigurationNode[]
-
loadConfiguration
This method is called when a world loads. Make sure you set all your constants here. You are provided with the configuration section for that specific world.- Overrides:
loadConfigurationin classSquarePlotWorld
-