Package net.minecraft

Record Class class_9886

java.lang.Object
java.lang.Record
net.minecraft.class_9886
Record Components:
incorrectBlocksForDrops -
durability -
speed -
attackDamageBonus -
enchantmentValue -
repairItems -

public record class_9886(TagKey<Block> incorrectBlocksForDrops, int durability, float speed, float attackDamageBonus, int enchantmentValue, TagKey<Item> repairItems) extends Record
Mappings:
Namespace Name
named net/minecraft/class_9886
intermediary net/minecraft/class_9886
official cxe
named incorrectBlocksForDrops
intermediary comp_2930
official g
named durability
intermediary comp_2931
official h
named speed
intermediary comp_2932
official i
named attackDamageBonus
intermediary comp_2933
official j
named enchantmentValue
intermediary comp_2934
official k
named repairItems
intermediary comp_2935
official l
  • Field Details

    • incorrectBlocksForDrops

      private final TagKey<Block> incorrectBlocksForDrops
      The field for the incorrectBlocksForDrops record component.
    • durability

      private final int durability
      The field for the durability record component.
    • speed

      private final float speed
      The field for the speed record component.
    • attackDamageBonus

      private final float attackDamageBonus
      The field for the attackDamageBonus record component.
    • enchantmentValue

      private final int enchantmentValue
      The field for the enchantmentValue record component.
    • repairItems

      private final TagKey<Item> repairItems
      The field for the repairItems record component.
    • field_52585

      public static final class_9886 field_52585
      Mappings:
      Namespace Name Mixin selector
      named field_52585 Lnet/minecraft/class_9886;field_52585:Lnet/minecraft/class_9886;
      intermediary field_52585 Lnet/minecraft/class_9886;field_52585:Lnet/minecraft/class_9886;
      official a Lcxe;a:Lcxe;
    • field_52586

      public static final class_9886 field_52586
      Mappings:
      Namespace Name Mixin selector
      named field_52586 Lnet/minecraft/class_9886;field_52586:Lnet/minecraft/class_9886;
      intermediary field_52586 Lnet/minecraft/class_9886;field_52586:Lnet/minecraft/class_9886;
      official b Lcxe;b:Lcxe;
    • field_52587

      public static final class_9886 field_52587
      Mappings:
      Namespace Name Mixin selector
      named field_52587 Lnet/minecraft/class_9886;field_52587:Lnet/minecraft/class_9886;
      intermediary field_52587 Lnet/minecraft/class_9886;field_52587:Lnet/minecraft/class_9886;
      official c Lcxe;c:Lcxe;
    • field_52588

      public static final class_9886 field_52588
      Mappings:
      Namespace Name Mixin selector
      named field_52588 Lnet/minecraft/class_9886;field_52588:Lnet/minecraft/class_9886;
      intermediary field_52588 Lnet/minecraft/class_9886;field_52588:Lnet/minecraft/class_9886;
      official d Lcxe;d:Lcxe;
    • field_52589

      public static final class_9886 field_52589
      Mappings:
      Namespace Name Mixin selector
      named field_52589 Lnet/minecraft/class_9886;field_52589:Lnet/minecraft/class_9886;
      intermediary field_52589 Lnet/minecraft/class_9886;field_52589:Lnet/minecraft/class_9886;
      official e Lcxe;e:Lcxe;
    • field_52590

      public static final class_9886 field_52590
      Mappings:
      Namespace Name Mixin selector
      named field_52590 Lnet/minecraft/class_9886;field_52590:Lnet/minecraft/class_9886;
      intermediary field_52590 Lnet/minecraft/class_9886;field_52590:Lnet/minecraft/class_9886;
      official f Lcxe;f:Lcxe;
  • Constructor Details

    • class_9886

      public class_9886(TagKey<Block> tagKey, int int2, float float2, float float3, int int3, TagKey<Item> tagKey2)
  • Method Details

    • method_61661

      private Item.Settings method_61661(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named method_61661 Lnet/minecraft/class_9886;method_61661(Lnet/minecraft/item/Item$Settings;)Lnet/minecraft/item/Item$Settings;
      intermediary method_61661 Lnet/minecraft/class_9886;method_61661(Lnet/minecraft/class_1792$class_1793;)Lnet/minecraft/class_1792$class_1793;
      official a Lcxe;a(Lcvg$a;)Lcvg$a;
    • method_61663

      public Item.Settings method_61663(Item.Settings settings, TagKey<Block> tagKey, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      named method_61663 Lnet/minecraft/class_9886;method_61663(Lnet/minecraft/item/Item$Settings;Lnet/minecraft/registry/tag/TagKey;FF)Lnet/minecraft/item/Item$Settings;
      intermediary method_61663 Lnet/minecraft/class_9886;method_61663(Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_6862;FF)Lnet/minecraft/class_1792$class_1793;
      official a Lcxe;a(Lcvg$a;Laxi;FF)Lcvg$a;
    • method_61660

      private AttributeModifiersComponent method_61660(float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      named method_61660 Lnet/minecraft/class_9886;method_61660(FF)Lnet/minecraft/component/type/AttributeModifiersComponent;
      intermediary method_61660 Lnet/minecraft/class_9886;method_61660(FF)Lnet/minecraft/class_9285;
      official a Lcxe;a(FF)Lcyg;
    • method_61662

      public Item.Settings method_61662(Item.Settings settings, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      named method_61662 Lnet/minecraft/class_9886;method_61662(Lnet/minecraft/item/Item$Settings;FF)Lnet/minecraft/item/Item$Settings;
      intermediary method_61662 Lnet/minecraft/class_9886;method_61662(Lnet/minecraft/class_1792$class_1793;FF)Lnet/minecraft/class_1792$class_1793;
      official a Lcxe;a(Lcvg$a;FF)Lcvg$a;
    • method_61664

      private AttributeModifiersComponent method_61664(float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      named method_61664 Lnet/minecraft/class_9886;method_61664(FF)Lnet/minecraft/component/type/AttributeModifiersComponent;
      intermediary method_61664 Lnet/minecraft/class_9886;method_61664(FF)Lnet/minecraft/class_9285;
      official b Lcxe;b(FF)Lcyg;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • incorrectBlocksForDrops

      public TagKey<Block> incorrectBlocksForDrops()
      Returns the value of the incorrectBlocksForDrops record component.
      Returns:
      the value of the incorrectBlocksForDrops record component
    • durability

      public int durability()
      Returns the value of the durability record component.
      Returns:
      the value of the durability record component
    • speed

      public float speed()
      Returns the value of the speed record component.
      Returns:
      the value of the speed record component
    • attackDamageBonus

      public float attackDamageBonus()
      Returns the value of the attackDamageBonus record component.
      Returns:
      the value of the attackDamageBonus record component
    • enchantmentValue

      public int enchantmentValue()
      Returns the value of the enchantmentValue record component.
      Returns:
      the value of the enchantmentValue record component
    • repairItems

      public TagKey<Item> repairItems()
      Returns the value of the repairItems record component.
      Returns:
      the value of the repairItems record component