Package net.minecraft
Record Class class_8409
java.lang.Object
java.lang.Record
net.minecraft.class_8409
- Record Components:
entity-scale-playerSkin-
public record class_8409(Optional<class_8409.class_8410> entity, float scale, Optional<com.mojang.authlib.GameProfile> playerSkin)
extends Record
- Mappings:
Namespace Name official cdqintermediary net/minecraft/class_8409named net/minecraft/class_8409official eintermediary comp_1431named entityofficial fintermediary comp_1432named scaleofficial gintermediary comp_1433named playerSkin
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<class_8409.class_8410>The field for theentityrecord component.static final class_8409static final floatstatic final floatstatic final com.mojang.serialization.Codec<class_8409>private final Optional<com.mojang.authlib.GameProfile>The field for theplayerSkinrecord component.private final floatThe field for thescalerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8409(Optional<class_8409.class_8410> optional, float float2, Optional<com.mojang.authlib.GameProfile> optional2) -
Method Summary
Modifier and TypeMethodDescriptionentity()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.booleanmethod_50740(float float2) method_50741(EntityType<?> entityType, Optional<NbtCompound> optional) method_50742(LivingEntity livingEntity) method_50745(Optional<class_8409.class_8410> optional) voidmethod_50746(PacketByteBuf packetByteBuf) method_50747(Optional<com.mojang.authlib.GameProfile> optional) static class_8409method_50748(PacketByteBuf packetByteBuf) Optional<com.mojang.authlib.GameProfile>Returns the value of theplayerSkinrecord component.floatscale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entity
The field for theentityrecord component. -
scale
private final float scaleThe field for thescalerecord component. -
playerSkin
The field for theplayerSkinrecord component. -
field_44125
- Mappings:
Namespace Name Mixin selector official aLcdq;a:Lcdq;intermediary field_44125Lnet/minecraft/class_8409;field_44125:Lnet/minecraft/class_8409;named field_44125Lnet/minecraft/class_8409;field_44125:Lnet/minecraft/class_8409;
-
field_44126
public static final float field_44126- See Also:
- Mappings:
Namespace Name Mixin selector official bLcdq;b:Fintermediary field_44126Lnet/minecraft/class_8409;field_44126:Fnamed field_44126Lnet/minecraft/class_8409;field_44126:F
-
field_44127
public static final float field_44127- See Also:
- Mappings:
Namespace Name Mixin selector official cLcdq;c:Fintermediary field_44127Lnet/minecraft/class_8409;field_44127:Fnamed field_44127Lnet/minecraft/class_8409;field_44127:F
-
field_44128
- Mappings:
Namespace Name Mixin selector official dLcdq;d:Lcom/mojang/serialization/Codec;intermediary field_44128Lnet/minecraft/class_8409;field_44128:Lcom/mojang/serialization/Codec;named field_44128Lnet/minecraft/class_8409;field_44128:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8409
public class_8409(Optional<class_8409.class_8410> optional, float float2, Optional<com.mojang.authlib.GameProfile> optional2)
-
-
Method Details
-
method_50746
- Mappings:
Namespace Name Mixin selector official aLcdq;a(Lsf;)Vintermediary method_50746Lnet/minecraft/class_8409;method_50746(Lnet/minecraft/class_2540;)Vnamed method_50746Lnet/minecraft/class_8409;method_50746(Lnet/minecraft/network/PacketByteBuf;)V
-
method_50748
- Mappings:
Namespace Name Mixin selector official bLcdq;b(Lsf;)Lcdq;intermediary method_50748Lnet/minecraft/class_8409;method_50748(Lnet/minecraft/class_2540;)Lnet/minecraft/class_8409;named method_50748Lnet/minecraft/class_8409;method_50748(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/class_8409;
-
method_50742
- Mappings:
Namespace Name Mixin selector official aLcdq;a(Lbjh;)Lcdp;intermediary method_50742Lnet/minecraft/class_8409;method_50742(Lnet/minecraft/class_1309;)Lnet/minecraft/class_8408;named method_50742Lnet/minecraft/class_8409;method_50742(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/class_8408;
-
method_50741
- Mappings:
Namespace Name Mixin selector official aLcdq;a(Lbiv;Ljava/util/Optional;)Lcdq;intermediary method_50741Lnet/minecraft/class_8409;method_50741(Lnet/minecraft/class_1299;Ljava/util/Optional;)Lnet/minecraft/class_8409;named method_50741Lnet/minecraft/class_8409;method_50741(Lnet/minecraft/entity/EntityType;Ljava/util/Optional;)Lnet/minecraft/class_8409;
-
method_50745
- Mappings:
Namespace Name Mixin selector official aLcdq;a(Ljava/util/Optional;)Lcdq;intermediary method_50745Lnet/minecraft/class_8409;method_50745(Ljava/util/Optional;)Lnet/minecraft/class_8409;named method_50745Lnet/minecraft/class_8409;method_50745(Ljava/util/Optional;)Lnet/minecraft/class_8409;
-
method_50740
- Mappings:
Namespace Name Mixin selector official aLcdq;a(F)Lcdq;intermediary method_50740Lnet/minecraft/class_8409;method_50740(F)Lnet/minecraft/class_8409;named method_50740Lnet/minecraft/class_8409;method_50740(F)Lnet/minecraft/class_8409;
-
method_50747
- Mappings:
Namespace Name Mixin selector official bLcdq;b(Ljava/util/Optional;)Lcdq;intermediary method_50747Lnet/minecraft/class_8409;method_50747(Ljava/util/Optional;)Lnet/minecraft/class_8409;named method_50747Lnet/minecraft/class_8409;method_50747(Ljava/util/Optional;)Lnet/minecraft/class_8409;
-
method_50739
public boolean method_50739()- Mappings:
Namespace Name Mixin selector official aLcdq;a()Zintermediary method_50739Lnet/minecraft/class_8409;method_50739()Znamed method_50739Lnet/minecraft/class_8409;method_50739()Z
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
entity
Returns the value of theentityrecord component.- Returns:
- the value of the
entityrecord component
-
scale
public float scale()Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
playerSkin
Returns the value of theplayerSkinrecord component.- Returns:
- the value of the
playerSkinrecord component
-