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
- All Implemented Interfaces:
ComponentLike
- Direct Known Subclasses:
HybridPlotWorld
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
int
int
int
Fields inherited from class com.plotsquared.core.generator.SquarePlotWorld
PLOT_WIDTH, ROAD_OFFSET_X, ROAD_OFFSET_Z, ROAD_WIDTH
Fields inherited from class com.plotsquared.core.generator.GridPlotWorld
SIZE
-
Constructor Summary
ConstructorDescriptionClassicPlotWorld
(@NonNull String worldName, String id, @NonNull IndependentPlotGenerator generator, PlotId min, PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the minimum height that changes to plot components (wall filling, air, all etc.) may operate toCONFIG NODE | DEFAULT VALUE | DESCRIPTION | CONFIGURATION TYPE | REQUIRED FOR INITIAL SETUP.void
This method is called when a world loads.Methods inherited from class com.plotsquared.core.plot.PlotArea
addCluster, addPlot, addPlotAbs, addPlotIfAbsent, allowSigns, asComponent, buildRangeContainsY, canClaim, contains, contains, contains, createManager, defaultHome, deleteMeta, equals, forEachBasePlot, getBasePlots, getBorder, getBorder, getBorderSize, getCluster, getCluster, getClusters, getFirstIntersectingCluster, getFlag, getFlag, getFlagContainer, getGameMode, getGenerator, getId, getMax, getMaxBuildHeight, getMaxComponentHeight, getMaxGenHeight, getMeta, getMeta, getMin, getMinBuildHeight, getMinGenHeight, getNextFreePlot, 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, mergePlots, nonmemberHome, notifyIfOutsideBuildArea, removeCluster, removePlot, saveConfiguration, setAllowSigns, setDefaultHome, setMeta, setTerrain, setType, setupBorder, signMaterial, toString, useEconomy
-
Field Details
-
ROAD_HEIGHT
-
PLOT_HEIGHT
-
WALL_HEIGHT
-
MAIN_BLOCK
-
TOP_BLOCK
-
WALL_BLOCK
-
CLAIMED_WALL_BLOCK
-
WALL_FILLING
-
ROAD_BLOCK
-
PLOT_BEDROCK
-
PLACE_TOP_BLOCK
-
COMPONENT_BELOW_BEDROCK
-
-
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:
getSettingNodes
in 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:
loadConfiguration
in classSquarePlotWorld
-
getMinComponentHeight
Description copied from class:PlotArea
Get the minimum height that changes to plot components (wall filling, air, all etc.) may operate to- Overrides:
getMinComponentHeight
in classPlotArea
-