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$bintermediary net/minecraft/class_7317$class_7319named net/minecraft/class_7317$class_7319official cintermediary comp_692named entity
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_7317
class_7317.class_7318, class_7317.class_7319 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EntityType<?>The field for theentityrecord component.static final com.mojang.serialization.Codec<class_7317.class_7319>Fields inherited from interface net.minecraft.class_7317
field_38543 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEntityType<?>entity()Returns the value of theentityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidmethod_42841(ServerPlayerEntity serverPlayerEntity) booleanmethod_42843(class_7317 class_7317) com.mojang.serialization.Codec<? extends class_7317>final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_7317
method_42840
-
Field Details
-
entity
The field for theentityrecord component. -
field_38545
- Mappings:
Namespace Name Mixin selector official bLbzt$b;b:Lcom/mojang/serialization/Codec;intermediary field_38545Lnet/minecraft/class_7317$class_7319;field_38545:Lcom/mojang/serialization/Codec;named field_38545Lnet/minecraft/class_7317$class_7319;field_38545:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7319
-
-
Method Details
-
method_42841
- Specified by:
method_42841in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official aLbzt;a(Laea;)Vintermediary method_42841Lnet/minecraft/class_7317;method_42841(Lnet/minecraft/class_3222;)Vnamed method_42841Lnet/minecraft/class_7317;method_42841(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
method_42843
- Specified by:
method_42843in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official aLbzt;a(Lbzt;)Zintermediary method_42843Lnet/minecraft/class_7317;method_42843(Lnet/minecraft/class_7317;)Znamed method_42843Lnet/minecraft/class_7317;method_42843(Lnet/minecraft/class_7317;)Z
-
method_42846
- Specified by:
method_42846in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official bLbzt;b()Lcom/mojang/serialization/Codec;intermediary method_42846Lnet/minecraft/class_7317;method_42846()Lcom/mojang/serialization/Codec;named method_42846Lnet/minecraft/class_7317;method_42846()Lcom/mojang/serialization/Codec;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
entity
Returns the value of theentityrecord component.- Returns:
- the value of the
entityrecord component
-