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_9658intermediary net/minecraft/class_9657$class_9658official cm$anamed bintermediary comp_2633official bnamed cintermediary comp_2634official cnamed dintermediary comp_2635official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<FireworkExplosionComponent.Type> The field for thebrecord component.The field for thecrecord component.The field for thedrecord 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 thebrecord component.c()Returns the value of thecrecord component.d()Returns the value of thedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleantest(FireworkExplosionComponent fireworkExplosionComponent) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
b
The field for thebrecord component. -
c
The field for thecrecord component. -
d
The field for thedrecord component. -
field_51383
- Mappings:
Namespace Name Mixin selector named field_51383Lnet/minecraft/class_9657$class_9658;field_51383:Lcom/mojang/serialization/Codec;intermediary field_51383Lnet/minecraft/class_9657$class_9658;field_51383:Lcom/mojang/serialization/Codec;official aLcm$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9658
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<FireworkExplosionComponent>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_9657$class_9658;test(Lnet/minecraft/component/type/FireworkExplosionComponent;)Zintermediary method_59678Lnet/minecraft/class_9657$class_9658;method_59678(Lnet/minecraft/class_9283;)Zofficial aLcm$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 thebrecord component.- Returns:
- the value of the
brecord component
-
c
Returns the value of thecrecord component.- Returns:
- the value of the
crecord component
-
d
Returns the value of thedrecord component.- Returns:
- the value of the
drecord component
-