Package net.minecraft
Record Class class_9298
java.lang.Object
java.lang.Record
net.minecraft.class_9298
- Record Components:
effects-
- Mappings:
Namespace Name official cuiintermediary net/minecraft/class_9298named net/minecraft/class_9298official dintermediary comp_2416named effects
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_9298.StewEffect> The field for theeffectsrecord component.static final class_9298static final com.mojang.serialization.Codec<class_9298> static final PacketCodec<RegistryByteBuf, class_9298> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneffects()Returns the value of theeffectsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_57514(class_9298.StewEffect stewEffect) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
effects
The field for theeffectsrecord component. -
field_49362
- Mappings:
Namespace Name Mixin selector official aLcui;a:Lcui;intermediary field_49362Lnet/minecraft/class_9298;field_49362:Lnet/minecraft/class_9298;named field_49362Lnet/minecraft/class_9298;field_49362:Lnet/minecraft/class_9298;
-
field_49363
- Mappings:
Namespace Name Mixin selector official bLcui;b:Lcom/mojang/serialization/Codec;intermediary field_49363Lnet/minecraft/class_9298;field_49363:Lcom/mojang/serialization/Codec;named field_49363Lnet/minecraft/class_9298;field_49363:Lcom/mojang/serialization/Codec;
-
field_49364
- Mappings:
Namespace Name Mixin selector official cLcui;c:Lye;intermediary field_49364Lnet/minecraft/class_9298;field_49364:Lnet/minecraft/class_9139;named field_49364Lnet/minecraft/class_9298;field_49364:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9298
-
-
Method Details
-
method_57514
- Mappings:
Namespace Name Mixin selector official aLcui;a(Lcui$a;)Lcui;intermediary method_57514Lnet/minecraft/class_9298;method_57514(Lnet/minecraft/class_9298$class_8751;)Lnet/minecraft/class_9298;named method_57514Lnet/minecraft/class_9298;method_57514(Lnet/minecraft/class_9298$StewEffect;)Lnet/minecraft/class_9298;
-
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). -
effects
Returns the value of theeffectsrecord component.- Returns:
- the value of the
effectsrecord component
-