Package net.minecraft
Record Class class_8666
java.lang.Object
java.lang.Record
net.minecraft.class_8666
- Record Components:
enabled-disabled-enabledFocused-disabledFocused-
@Environment(CLIENT)
public record class_8666(Identifier enabled, Identifier disabled, Identifier enabledFocused, Identifier disabledFocused)
extends Record
- Mappings:
Namespace Name official ettintermediary net/minecraft/class_8666named net/minecraft/class_8666official aintermediary comp_1604named enabledofficial bintermediary comp_1605named disabledofficial cintermediary comp_1606named enabledFocusedofficial dintermediary comp_1607named disabledFocused
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for thedisabledrecord component.private final IdentifierThe field for thedisabledFocusedrecord component.private final IdentifierThe field for theenabledrecord component.private final IdentifierThe field for theenabledFocusedrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8666(Identifier identifier, Identifier identifier2) class_8666(Identifier identifier, Identifier identifier2, Identifier identifier3) class_8666(Identifier identifier, Identifier identifier2, Identifier identifier3, Identifier identifier4) -
Method Summary
Modifier and TypeMethodDescriptiondisabled()Returns the value of thedisabledrecord component.Returns the value of thedisabledFocusedrecord component.enabled()Returns the value of theenabledrecord component.Returns the value of theenabledFocusedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_52729(boolean bool, boolean bool2) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
enabled
The field for theenabledrecord component. -
disabled
The field for thedisabledrecord component. -
enabledFocused
The field for theenabledFocusedrecord component. -
disabledFocused
The field for thedisabledFocusedrecord component.
-
-
Constructor Details
-
class_8666
-
class_8666
-
class_8666
public class_8666(Identifier identifier, Identifier identifier2, Identifier identifier3, Identifier identifier4)
-
-
Method Details
-
method_52729
- Mappings:
Namespace Name Mixin selector official aLett;a(ZZ)Laep;intermediary method_52729Lnet/minecraft/class_8666;method_52729(ZZ)Lnet/minecraft/class_2960;named method_52729Lnet/minecraft/class_8666;method_52729(ZZ)Lnet/minecraft/util/Identifier;
-
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). -
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
disabled
Returns the value of thedisabledrecord component.- Returns:
- the value of the
disabledrecord component
-
enabledFocused
Returns the value of theenabledFocusedrecord component.- Returns:
- the value of the
enabledFocusedrecord component
-
disabledFocused
Returns the value of thedisabledFocusedrecord component.- Returns:
- the value of the
disabledFocusedrecord component
-