Package net.minecraft

Record Class class_7317.class_7319

java.lang.Object
java.lang.Record
net.minecraft.class_7317.class_7319
Record Components:
entity -
All Implemented Interfaces:
class_7317
Enclosing interface:
class_7317

public static record class_7317.class_7319(EntityType<?> entity) extends Record implements class_7317
Mappings:
Namespace Name
official bzt$b
intermediary net/minecraft/class_7317$class_7319
named net/minecraft/class_7317$class_7319
official c
intermediary comp_692
named entity
  • Field Details

    • entity

      private final EntityType<?> entity
      The field for the entity record component.
    • field_38545

      public static final com.mojang.serialization.Codec<class_7317.class_7319> field_38545
      Mappings:
      Namespace Name Mixin selector
      official b Lbzt$b;b:Lcom/mojang/serialization/Codec;
      intermediary field_38545 Lnet/minecraft/class_7317$class_7319;field_38545:Lcom/mojang/serialization/Codec;
      named field_38545 Lnet/minecraft/class_7317$class_7319;field_38545:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • class_7319

      public class_7319(EntityType<?> entityType)
  • Method Details

    • method_42841

      public void method_42841(ServerPlayerEntity serverPlayerEntity)
      Specified by:
      method_42841 in interface class_7317
      Mappings:
      Namespace Name Mixin selector
      official a Lbzt;a(Laea;)V
      intermediary method_42841 Lnet/minecraft/class_7317;method_42841(Lnet/minecraft/class_3222;)V
      named method_42841 Lnet/minecraft/class_7317;method_42841(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • method_42843

      public boolean method_42843(class_7317 class_7317)
      Specified by:
      method_42843 in interface class_7317
      Mappings:
      Namespace Name Mixin selector
      official a Lbzt;a(Lbzt;)Z
      intermediary method_42843 Lnet/minecraft/class_7317;method_42843(Lnet/minecraft/class_7317;)Z
      named method_42843 Lnet/minecraft/class_7317;method_42843(Lnet/minecraft/class_7317;)Z
    • method_42846

      public com.mojang.serialization.Codec<? extends class_7317> method_42846()
      Specified by:
      method_42846 in interface class_7317
      Mappings:
      Namespace Name Mixin selector
      official b Lbzt;b()Lcom/mojang/serialization/Codec;
      intermediary method_42846 Lnet/minecraft/class_7317;method_42846()Lcom/mojang/serialization/Codec;
      named method_42846 Lnet/minecraft/class_7317;method_42846()Lcom/mojang/serialization/Codec;
    • 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.
    • entity

      public EntityType<?> entity()
      Returns the value of the entity record component.
      Returns:
      the value of the entity record component