Package net.minecraft.world
Interface MutableWorldProperties
- All Superinterfaces:
WorldProperties
- All Known Subinterfaces:
ServerWorldProperties
- All Known Implementing Classes:
ClientWorld.Properties
,LevelProperties
,UnmodifiableLevelProperties
public interface MutableWorldProperties extends WorldProperties
-
Method Summary
Modifier and Type Method Description void
setSpawnAngle(float angle)
default void
setSpawnPos(BlockPos pos, float angle)
void
setSpawnX(int spawnX)
void
setSpawnY(int spawnY)
void
setSpawnZ(int spawnZ)
Methods inherited from interface net.minecraft.world.WorldProperties
getDifficulty, getGameRules, getSpawnAngle, getSpawnX, getSpawnY, getSpawnZ, getTime, getTimeOfDay, isDifficultyLocked, isHardcore, isRaining, isThundering, populateCrashReport, setRaining
-
Method Details
-
setSpawnX
void setSpawnX(int spawnX) -
setSpawnY
void setSpawnY(int spawnY) -
setSpawnZ
void setSpawnZ(int spawnZ) -
setSpawnAngle
void setSpawnAngle(float angle) -
setSpawnPos
-