Package net.minecraft

Record Class class_10179

java.lang.Object
java.lang.Record
net.minecraft.class_10179
Record Components:
type -
keepEquipment -
preserveCanPickUpLoot -
team -

public record class_10179(class_10181 type, boolean keepEquipment, boolean preserveCanPickUpLoot, @Nullable Team team) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10179
intermediary net/minecraft/class_10179
official btu
named type
intermediary comp_3144
official a
named keepEquipment
intermediary comp_3145
official b
named preserveCanPickUpLoot
intermediary comp_3146
official c
named team
intermediary comp_3147
official d
  • Field Details

    • type

      private final class_10181 type
      The field for the type record component.
    • keepEquipment

      private final boolean keepEquipment
      The field for the keepEquipment record component.
    • preserveCanPickUpLoot

      private final boolean preserveCanPickUpLoot
      The field for the preserveCanPickUpLoot record component.
    • team

      @Nullable private final @Nullable Team team
      The field for the team record component.
  • Constructor Details

  • Method Details

    • method_63607

      public static class_10179 method_63607(MobEntity mobEntity, boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      named method_63607 Lnet/minecraft/class_10179;method_63607(Lnet/minecraft/entity/mob/MobEntity;ZZ)Lnet/minecraft/class_10179;
      intermediary method_63607 Lnet/minecraft/class_10179;method_63607(Lnet/minecraft/class_1308;ZZ)Lnet/minecraft/class_10179;
      official a Lbtu;a(Lbux;ZZ)Lbtu;
    • 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.
    • type

      public class_10181 type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • keepEquipment

      public boolean keepEquipment()
      Returns the value of the keepEquipment record component.
      Returns:
      the value of the keepEquipment record component
    • preserveCanPickUpLoot

      public boolean preserveCanPickUpLoot()
      Returns the value of the preserveCanPickUpLoot record component.
      Returns:
      the value of the preserveCanPickUpLoot record component
    • team

      @Nullable public @Nullable Team team()
      Returns the value of the team record component.
      Returns:
      the value of the team record component