Package net.minecraft.server
Class ServerPropertiesProvider
- java.lang.Object
-
- net.minecraft.server.ServerPropertiesProvider
-
public class ServerPropertiesProvider extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ServerProperties
properties
private java.nio.file.Path
source
-
Constructor Summary
Constructors Constructor Description ServerPropertiesProvider(DynamicRegistries p_i242100_1_, java.nio.file.Path p_i242100_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forceSave()
ServerProperties
getProperties()
ServerPropertiesProvider
update(java.util.function.UnaryOperator<ServerProperties> p_219033_1_)
-
-
-
Field Detail
-
source
private final java.nio.file.Path source
-
properties
private ServerProperties properties
-
-
Constructor Detail
-
ServerPropertiesProvider
public ServerPropertiesProvider(DynamicRegistries p_i242100_1_, java.nio.file.Path p_i242100_2_)
-
-
Method Detail
-
getProperties
public ServerProperties getProperties()
-
forceSave
public void forceSave()
-
update
public ServerPropertiesProvider update(java.util.function.UnaryOperator<ServerProperties> p_219033_1_)
-
-