Interface SpawnTargetPoint
- All Superinterfaces:
Wrapper
A player-spawn fitness target defined by density-function parameter ranges.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpawnTargetPointReads a Minecraft player-spawn target point.static SpawnTargetPointof(Map<DensityFunction, ClimateParameter> parameters) Creates a player-spawn target point.The acceptable climate parameter for each density function sampled by this target.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
parameters
The acceptable climate parameter for each density function sampled by this target.- Returns:
- an immutable map of density functions to climate parameters
- Since:
- 4.0.0
-
of
Creates a player-spawn target point.- Parameters:
parameters- the acceptable climate parameter for each density function- Returns:
- a new player-spawn target point
- Since:
- 4.0.0
-
decode
Reads a Minecraft player-spawn target point.- Parameters:
minecraftSpawnTargetPoint- the Minecraft spawn target point to read- Returns:
- the decoded spawn target point
- Since:
- 4.0.0
-