Package net.minecraft
Record Class class_9712.class_9715
java.lang.Object
java.lang.Record
net.minecraft.class_9712.class_9715
- Record Components:
effects-
- All Implemented Interfaces:
class_9723
- Enclosing interface:
class_9712
public static record class_9712.class_9715(List<class_9723> effects)
extends Record
implements class_9723
- Mappings:
Namespace Name named net/minecraft/class_9712$class_9715intermediary net/minecraft/class_9712$class_9715official czt$cnamed effectsintermediary comp_2707official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_9723> The field for theeffectsrecord component.static final com.mojang.serialization.MapCodec<class_9712.class_9715> Fields inherited from interface net.minecraft.class_9723
field_51709 -
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.com.mojang.serialization.MapCodec<class_9712.class_9715> floatmethod_60213(ItemStack itemStack, int int2, Random random, float float2) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
effects
The field for theeffectsrecord component. -
field_51700
- Mappings:
Namespace Name Mixin selector named field_51700Lnet/minecraft/class_9712$class_9715;field_51700:Lcom/mojang/serialization/MapCodec;intermediary field_51700Lnet/minecraft/class_9712$class_9715;field_51700:Lcom/mojang/serialization/MapCodec;official aLczt$c;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9715
-
-
Method Details
-
method_60213
- Specified by:
method_60213in interfaceclass_9723- Mappings:
Namespace Name Mixin selector named method_60213Lnet/minecraft/class_9723;method_60213(Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/random/Random;F)Fintermediary method_60213Lnet/minecraft/class_9723;method_60213(Lnet/minecraft/class_1799;ILnet/minecraft/class_5819;F)Fofficial aLdab;a(Lcua;ILaym;F)F
-
method_60211
- Specified by:
method_60211in interfaceclass_9723- Mappings:
Namespace Name Mixin selector named method_60211Lnet/minecraft/class_9723;method_60211()Lcom/mojang/serialization/MapCodec;intermediary method_60211Lnet/minecraft/class_9723;method_60211()Lcom/mojang/serialization/MapCodec;official aLdab;a()Lcom/mojang/serialization/MapCodec;
-
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
-