Package net.minecraft

Record Class class_9350

java.lang.Object
java.lang.Record
net.minecraft.class_9350
Record Components:
slots -

public record class_9350(Map<class_9348,ItemPredicate> slots) extends Record
Mappings:
Namespace Name
official da
intermediary net/minecraft/class_9350
named net/minecraft/class_9350
official b
intermediary comp_2455
named slots
  • Field Details

    • slots

      private final Map<class_9348,ItemPredicate> slots
      The field for the slots record component.
    • field_49755

      public static final com.mojang.serialization.Codec<class_9350> field_49755
      Mappings:
      Namespace Name Mixin selector
      official a Lda;a:Lcom/mojang/serialization/Codec;
      intermediary field_49755 Lnet/minecraft/class_9350;field_49755:Lcom/mojang/serialization/Codec;
      named field_49755 Lnet/minecraft/class_9350;field_49755:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_58119

      public boolean method_58119(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lda;a(Lbqa;)Z
      intermediary method_58119 Lnet/minecraft/class_9350;method_58119(Lnet/minecraft/class_1297;)Z
      named method_58119 Lnet/minecraft/class_9350;method_58119(Lnet/minecraft/entity/Entity;)Z
    • method_58120

      private static boolean method_58120(Entity entity, ItemPredicate itemPredicate, IntList intList)
      Mappings:
      Namespace Name Mixin selector
      official a Lda;a(Lbqa;Lcc;Lit/unimi/dsi/fastutil/ints/IntList;)Z
      intermediary method_58120 Lnet/minecraft/class_9350;method_58120(Lnet/minecraft/class_1297;Lnet/minecraft/class_2073;Lit/unimi/dsi/fastutil/ints/IntList;)Z
      named method_58120 Lnet/minecraft/class_9350;method_58120(Lnet/minecraft/entity/Entity;Lnet/minecraft/predicate/item/ItemPredicate;Lit/unimi/dsi/fastutil/ints/IntList;)Z
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • slots

      public Map<class_9348,ItemPredicate> slots()
      Returns the value of the slots record component.
      Returns:
      the value of the slots record component