Package net.minecraft
Record Class class_8100.class_8101
java.lang.Object
java.lang.Record
net.minecraft.class_8100.class_8101
- Record Components:
preset-
- Enclosing class:
class_8100
@Environment(CLIENT)
public static record class_8100.class_8101(@Nullable RegistryEntry<WorldPreset> preset)
extends Record
- Mappings:
Namespace Name official evw$bintermediary net/minecraft/class_8100$class_8101named net/minecraft/class_8100$class_8101official aintermediary comp_1238named preset
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate final @Nullable RegistryEntry<WorldPreset>The field for thepresetrecord component. -
Constructor Summary
Constructors -
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.booleanpreset()Returns the value of thepresetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
preset
The field for thepresetrecord component. -
field_42226
- Mappings:
Namespace Name Mixin selector official bLevw$b;b:Lta;intermediary field_42226Lnet/minecraft/class_8100$class_8101;field_42226:Lnet/minecraft/class_2561;named field_42226Lnet/minecraft/class_8100$class_8101;field_42226:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
class_8101
-
-
Method Details
-
method_48737
- Mappings:
Namespace Name Mixin selector official aLevw$b;a()Lta;intermediary method_48737Lnet/minecraft/class_8100$class_8101;method_48737()Lnet/minecraft/class_2561;named method_48737Lnet/minecraft/class_8100$class_8101;method_48737()Lnet/minecraft/text/Text;
-
method_48739
public boolean method_48739()- Mappings:
Namespace Name Mixin selector official bLevw$b;b()Zintermediary method_48739Lnet/minecraft/class_8100$class_8101;method_48739()Znamed method_48739Lnet/minecraft/class_8100$class_8101;method_48739()Z
-
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). -
preset
Returns the value of thepresetrecord component.- Returns:
- the value of the
presetrecord component
-