Package net.minecraft
Record Class class_9285
java.lang.Object
java.lang.Record
net.minecraft.class_9285
- Record Components:
modifiers-showInTooltip-
public record class_9285(List<class_9285.class_9287> modifiers, boolean showInTooltip)
extends Record
- Mappings:
Namespace Name official ctzintermediary net/minecraft/class_9285named net/minecraft/class_9285official eintermediary comp_2393named modifiersofficial fintermediary comp_2394named showInTooltip
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_9285static final com.mojang.serialization.Codec<class_9285> static final PacketCodec<RegistryByteBuf, class_9285> static final DecimalFormatprivate final List<class_9285.class_9287> The field for themodifiersrecord component.private final booleanThe field for theshowInTooltiprecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_9285.class_9286doublemethod_57481(double double2, EquipmentSlot equipmentSlot) voidmethod_57482(EquipmentSlot equipmentSlot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> biConsumer) method_57484(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, class_9274 class_9274) Returns the value of themodifiersrecord component.booleanReturns the value of theshowInTooltiprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
modifiers
The field for themodifiersrecord component. -
showInTooltip
private final boolean showInTooltipThe field for theshowInTooltiprecord component. -
field_49326
- Mappings:
Namespace Name Mixin selector official aLctz;a:Lctz;intermediary field_49326Lnet/minecraft/class_9285;field_49326:Lnet/minecraft/class_9285;named field_49326Lnet/minecraft/class_9285;field_49326:Lnet/minecraft/class_9285;
-
field_49327
- Mappings:
Namespace Name Mixin selector official bLctz;b:Lcom/mojang/serialization/Codec;intermediary field_49327Lnet/minecraft/class_9285;field_49327:Lcom/mojang/serialization/Codec;named field_49327Lnet/minecraft/class_9285;field_49327:Lcom/mojang/serialization/Codec;
-
field_49328
- Mappings:
Namespace Name Mixin selector official cLctz;c:Lye;intermediary field_49328Lnet/minecraft/class_9285;field_49328:Lnet/minecraft/class_9139;named field_49328Lnet/minecraft/class_9285;field_49328:Lnet/minecraft/network/codec/PacketCodec;
-
field_49329
- Mappings:
Namespace Name Mixin selector official dLctz;d:Ljava/text/DecimalFormat;intermediary field_49329Lnet/minecraft/class_9285;field_49329:Ljava/text/DecimalFormat;named field_49329Lnet/minecraft/class_9285;field_49329:Ljava/text/DecimalFormat;
-
-
Constructor Details
-
class_9285
-
-
Method Details
-
method_57480
- Mappings:
Namespace Name Mixin selector official aLctz;a()Lctz$a;intermediary method_57480Lnet/minecraft/class_9285;method_57480()Lnet/minecraft/class_9285$class_9286;named method_57480Lnet/minecraft/class_9285;method_57480()Lnet/minecraft/class_9285$class_9286;
-
method_57484
public class_9285 method_57484(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, class_9274 class_9274) - Mappings:
Namespace Name Mixin selector official aLctz;a(Lil;Lbrt;Lbqd;)Lctz;intermediary method_57484Lnet/minecraft/class_9285;method_57484(Lnet/minecraft/class_6880;Lnet/minecraft/class_1322;Lnet/minecraft/class_9274;)Lnet/minecraft/class_9285;named method_57484Lnet/minecraft/class_9285;method_57484(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/attribute/EntityAttributeModifier;Lnet/minecraft/class_9274;)Lnet/minecraft/class_9285;
-
method_57482
public void method_57482(EquipmentSlot equipmentSlot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> biConsumer) - Mappings:
Namespace Name Mixin selector official aLctz;a(Lbqc;Ljava/util/function/BiConsumer;)Vintermediary method_57482Lnet/minecraft/class_9285;method_57482(Lnet/minecraft/class_1304;Ljava/util/function/BiConsumer;)Vnamed method_57482Lnet/minecraft/class_9285;method_57482(Lnet/minecraft/entity/EquipmentSlot;Ljava/util/function/BiConsumer;)V
-
method_57481
- Mappings:
Namespace Name Mixin selector official aLctz;a(DLbqc;)Dintermediary method_57481Lnet/minecraft/class_9285;method_57481(DLnet/minecraft/class_1304;)Dnamed method_57481Lnet/minecraft/class_9285;method_57481(DLnet/minecraft/entity/EquipmentSlot;)D
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
modifiers
Returns the value of themodifiersrecord component.- Returns:
- the value of the
modifiersrecord component
-
showInTooltip
public boolean showInTooltip()Returns the value of theshowInTooltiprecord component.- Returns:
- the value of the
showInTooltiprecord component
-