Package net.minecraft
Record Class class_7625.class_7626
java.lang.Object
java.lang.Record
net.minecraft.class_7625.class_7626
- Record Components:
preview-alpha-
- Enclosing class:
class_7625
@Environment(CLIENT)
public static record class_7625.class_7626(@Nullable Text preview, float alpha)
extends Record
- Mappings:
Namespace Name official egz$aintermediary net/minecraft/class_7625$class_7626named net/minecraft/class_7625$class_7626official bintermediary comp_957named previewofficial cintermediary comp_958named alpha
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thealpharecord component.static final class_7625.class_7626The field for thepreviewrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatalpha()Returns the value of thealpharecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.preview()Returns the value of thepreviewrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
preview
The field for thepreviewrecord component. -
alpha
private final float alphaThe field for thealpharecord component. -
field_39849
- Mappings:
Namespace Name Mixin selector official aLegz$a;a:Legz$a;intermediary field_39849Lnet/minecraft/class_7625$class_7626;field_39849:Lnet/minecraft/class_7625$class_7626;named field_39849Lnet/minecraft/class_7625$class_7626;field_39849:Lnet/minecraft/class_7625$class_7626;
-
-
Constructor Details
-
class_7626
-
-
Method Details
-
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 '=='. -
preview
Returns the value of thepreviewrecord component.- Returns:
- the value of the
previewrecord component
-
alpha
public float alpha()Returns the value of thealpharecord component.- Returns:
- the value of the
alpharecord component
-