Package net.minecraft.world
Record Class PersistentState.class_10740
java.lang.Object
java.lang.Record
net.minecraft.world.PersistentState.class_10740
- Record Components:
level-worldSeed-
- Enclosing class:
PersistentState
public static record PersistentState.class_10740(@Nullable ServerWorld level, long worldSeed)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/PersistentState$class_10740intermediary net/minecraft/class_18$class_10740official exs$anamed levelintermediary comp_3639official anamed worldSeedintermediary comp_3640official b
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_10740(@Nullable ServerWorld serverWorld, long long2) class_10740(ServerWorld serverWorld) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of theworldSeedrecord component.
-
Field Details
-
Constructor Details
-
class_10740
-
class_10740
-
-
Method Details
-
method_67417
- Mappings:
Namespace Name Mixin selector named method_67417Lnet/minecraft/world/PersistentState$class_10740;method_67417()Lnet/minecraft/server/world/ServerWorld;intermediary method_67417Lnet/minecraft/class_18$class_10740;method_67417()Lnet/minecraft/class_3218;official aLexs$a;a()Larq;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
worldSeed
public long worldSeed()Returns the value of theworldSeedrecord component.- Returns:
- the value of the
worldSeedrecord component
-