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 voidsetSpawnAngle(float angle)default voidsetSpawnPos(BlockPos pos, float angle)voidsetSpawnX(int spawnX)voidsetSpawnY(int spawnY)voidsetSpawnZ(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
-