Uses of Record Class
net.minecraft.world.level.storage.DataVersion
Packages that use DataVersion
-
Uses of DataVersion in net.minecraft
Fields in net.minecraft declared as DataVersionModifier and TypeFieldDescriptionprivate final DataVersion
WorldVersion.Simple.dataVersion
The field for thedataVersion
record component.Methods in net.minecraft that return DataVersionModifier and TypeMethodDescriptionWorldVersion.dataVersion()
WorldVersion.Simple.dataVersion()
Returns the value of thedataVersion
record component.Constructors in net.minecraft with parameters of type DataVersionModifierConstructorDescriptionSimple
(String id, String name, DataVersion dataVersion, int protocolVersion, int resourcePackVersion, int datapackVersion, Date buildTime, boolean stable) Creates an instance of aSimple
record class. -
Uses of DataVersion in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as DataVersionMethods in net.minecraft.world.level.storage that return DataVersionMethods in net.minecraft.world.level.storage with parameters of type DataVersion