Package net.minecraft.world.storage
Record Class StorageKey
java.lang.Object
java.lang.Record
net.minecraft.world.storage.StorageKey
- Record Components:
level
-dimension
-type
-
- Mappings:
Namespace Name named net/minecraft/world/storage/StorageKey
intermediary net/minecraft/class_9240
official dws
named level
intermediary comp_2345
official a
named dimension
intermediary comp_2346
official b
named type
intermediary comp_2347
official c
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimension
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.level()
Returns the value of thelevel
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.withSuffix
(String suffix)
-
Field Details
-
Constructor Details
-
StorageKey
-
-
Method Details
-
withSuffix
- Mappings:
Namespace Name Mixin selector named withSuffix
Lnet/minecraft/world/storage/StorageKey;withSuffix(Ljava/lang/String;)Lnet/minecraft/world/storage/StorageKey;
intermediary method_57013
Lnet/minecraft/class_9240;method_57013(Ljava/lang/String;)Lnet/minecraft/class_9240;
official a
Ldws;a(Ljava/lang/String;)Ldws;
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
level
Returns the value of thelevel
record component.- Returns:
- the value of the
level
record component
-
dimension
Returns the value of thedimension
record component.- Returns:
- the value of the
dimension
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-