Package net.minecraft
Record Class class_9657.class_9658
java.lang.Object
java.lang.Record
net.minecraft.class_9657.class_9658
- Record Components:
b
-c
-d
-
- All Implemented Interfaces:
Predicate<FireworkExplosionComponent>
- Enclosing class:
class_9657
public static record class_9657.class_9658(Optional<FireworkExplosionComponent.Type> b, Optional<Boolean> c, Optional<Boolean> d)
extends Record
implements Predicate<FireworkExplosionComponent>
- Mappings:
Namespace Name named net/minecraft/class_9657$class_9658
intermediary net/minecraft/class_9657$class_9658
official cm$a
named b
intermediary comp_2633
official b
named c
intermediary comp_2634
official c
named d
intermediary comp_2635
official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional
<FireworkExplosionComponent.Type> The field for theb
record component.The field for thec
record component.The field for thed
record component.static final com.mojang.serialization.Codec
<class_9657.class_9658> -
Constructor Summary
ConstructorsConstructorDescriptionclass_9658
(Optional<FireworkExplosionComponent.Type> optional, Optional<Boolean> optional2, Optional<Boolean> optional3) -
Method Summary
Modifier and TypeMethodDescriptionb()
Returns the value of theb
record component.c()
Returns the value of thec
record component.d()
Returns the value of thed
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.boolean
test
(FireworkExplosionComponent fireworkExplosionComponent) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
b
The field for theb
record component. -
c
The field for thec
record component. -
d
The field for thed
record component. -
field_51383
- Mappings:
Namespace Name Mixin selector named field_51383
Lnet/minecraft/class_9657$class_9658;field_51383:Lcom/mojang/serialization/Codec;
intermediary field_51383
Lnet/minecraft/class_9657$class_9658;field_51383:Lcom/mojang/serialization/Codec;
official a
Lcm$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9658
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<FireworkExplosionComponent>
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/class_9657$class_9658;test(Lnet/minecraft/component/type/FireworkExplosionComponent;)Z
intermediary method_59678
Lnet/minecraft/class_9657$class_9658;method_59678(Lnet/minecraft/class_9283;)Z
official a
Lcm$a;a(Lcxd;)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)
. -
b
Returns the value of theb
record component.- Returns:
- the value of the
b
record component
-
c
Returns the value of thec
record component.- Returns:
- the value of the
c
record component
-
d
Returns the value of thed
record component.- Returns:
- the value of the
d
record component
-