Package com.plotsquared.core.generator
Class HybridPlotWorld
java.lang.Object
com.plotsquared.core.plot.PlotArea
com.plotsquared.core.generator.GridPlotWorld
com.plotsquared.core.generator.SquarePlotWorld
com.plotsquared.core.generator.ClassicPlotWorld
com.plotsquared.core.generator.HybridPlotWorld
-
Field Summary
FieldsModifier and TypeFieldDescriptionshortshortbooleanintDeprecated, for removal: This API element is subject to removal in a future version.booleanintFields inherited from class com.plotsquared.core.generator.ClassicPlotWorld
CLAIMED_WALL_BLOCK, MAIN_BLOCK, PLACE_TOP_BLOCK, PLOT_BEDROCK, PLOT_HEIGHT, ROAD_BLOCK, ROAD_HEIGHT, TOP_BLOCK, WALL_BLOCK, WALL_FILLING, WALL_HEIGHTFields 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
ConstructorsConstructorDescriptionHybridPlotWorld(String worldName, @Nullable String id, @NonNull IndependentPlotGenerator generator, @Nullable PlotId min, @Nullable PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOverlayBiome(short x, short z, BiomeType id) voidaddOverlayBlock(short x, short y, short z, BaseBlock id, boolean rotate, int height) protected @NonNull PlotManagerGet the entities contained within the plot schematic for generation.Get the minimum point of the plot schematic for generation.getRoot()Deprecated, for removal: This API element is subject to removal in a future version.Get the root folder for this world's generation schematics.getSignLocation(@NonNull Plot plot) booleanisCompatible(@NonNull PlotArea plotArea) Check if a PlotArea is compatible (move/copy etc.).voidThis method is called when a world loads.booleanGet if post-generation population of chunks with tiles/entities is needed for this world.static BaseBlockvoidstatic bytewrap(byte data, int start) Deprecated, for removal: This API element is subject to removal in a future version.static bytewrap2(byte data, int start) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.plotsquared.core.generator.ClassicPlotWorld
getSettingNodesMethods inherited from class com.plotsquared.core.plot.PlotArea
addCluster, addPlot, addPlotAbs, addPlotIfAbsent, allowSigns, buildRangeContainsY, canClaim, contains, contains, contains, defaultHome, deleteMeta, equals, forEachBasePlot, getBasePlots, getBorder, getCluster, getCluster, getClusters, getDefaultHome, getFirstIntersectingCluster, getFlag, getFlag, getFlagContainer, getGameMode, getGenerator, getId, getLegacySignMaterial, getMax, getMaxBuildHeight, getMaxGenHeight, getMeta, getMeta, getMin, getMinBuildHeight, getMinGenHeight, 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, 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_SCHEMATIC_ENABLED
public boolean ROAD_SCHEMATIC_ENABLED -
PLOT_SCHEMATIC
public boolean PLOT_SCHEMATIC -
PLOT_SCHEMATIC_HEIGHT
Deprecated, for removal: This API element is subject to removal in a future version. -
PATH_WIDTH_LOWER
public short PATH_WIDTH_LOWER -
PATH_WIDTH_UPPER
public short PATH_WIDTH_UPPER -
G_SCH
-
G_SCH_B
-
SCHEM_Y
public int SCHEM_Y
-
-
Constructor Details
-
HybridPlotWorld
@Inject public HybridPlotWorld(String worldName, @Nullable String id, @NonNull IndependentPlotGenerator generator, @Nullable PlotId min, @Nullable PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue)
-
-
Method Details
-
wrap
Deprecated, for removal: This API element is subject to removal in a future version. -
wrap2
Deprecated, for removal: This API element is subject to removal in a future version. -
rotate
-
createManager
- Specified by:
createManagerin classPlotArea
-
getSignLocation
-
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 classClassicPlotWorld
-
isCompatible
Description copied from class:PlotAreaCheck if a PlotArea is compatible (move/copy etc.).- Overrides:
isCompatiblein classPlotArea- Parameters:
plotArea- thePlotAreato compare- Returns:
trueif both areas are compatible
-
setupSchematics
-
addOverlayBlock
-
addOverlayBiome
-
getPlotSchematicEntities
Get the entities contained within the plot schematic for generation. Intended for internal use only.- Since:
- 6.9.0
-
getPlotSchematicMinPoint
Get the minimum point of the plot schematic for generation. Intended for internal use only.- Since:
- 6.9.0
-
populationNeeded
Get if post-generation population of chunks with tiles/entities is needed for this world. Not for public API use.- Since:
- 6.9.0
-
getRoot
Deprecated, for removal: This API element is subject to removal in a future version.in favour ofgetSchematicRoot() -
getSchematicRoot
Get the root folder for this world's generation schematics. May be null if schematics not initialised viasetupSchematics()- Since:
- 6.9.0
-
getSchematicRoot()