Record Class DebugWorldgenAttemptCustomPayload
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugWorldgenAttemptCustomPayload
- Record Components:
pos-scale-red-green-blue-alpha-
- All Implemented Interfaces:
CustomPayload
public record DebugWorldgenAttemptCustomPayload(BlockPos pos, float scale, float red, float green, float blue, float alpha)
extends Record
implements CustomPayload
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayloadintermediary net/minecraft/class_8729official aaznamed posintermediary comp_1718official cnamed scaleintermediary comp_1719official dnamed redintermediary comp_1720official enamed greenintermediary comp_1721official fnamed blueintermediary comp_1722official gnamed alphaintermediary comp_1723official h
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.packet.CustomPayload
CustomPayload.CodecFactory<B extends PacketByteBuf>, CustomPayload.Id<T extends CustomPayload>, CustomPayload.Type<B extends PacketByteBuf,T extends CustomPayload> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thealpharecord component.private final floatThe field for thebluerecord component.static final PacketCodec<PacketByteBuf, DebugWorldgenAttemptCustomPayload> private final floatThe field for thegreenrecord component.static final CustomPayload.Id<DebugWorldgenAttemptCustomPayload> private final BlockPosThe field for theposrecord component.private final floatThe field for theredrecord component.private final floatThe field for thescalerecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDebugWorldgenAttemptCustomPayload(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6) -
Method Summary
Modifier and TypeMethodDescriptionfloatalpha()Returns the value of thealpharecord component.floatblue()Returns the value of thebluerecord component.final booleanIndicates whether some other object is "equal to" this one.getId()floatgreen()Returns the value of thegreenrecord component.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.floatred()Returns the value of theredrecord component.floatscale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.private voidwrite(PacketByteBuf buf)
-
Field Details
-
pos
The field for theposrecord component. -
scale
private final float scaleThe field for thescalerecord component. -
red
private final float redThe field for theredrecord component. -
green
private final float greenThe field for thegreenrecord component. -
blue
private final float blueThe field for thebluerecord component. -
alpha
private final float alphaThe field for thealpharecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayload;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48688Lnet/minecraft/class_8729;field_48688:Lnet/minecraft/class_9139;official aLaaz;a:Lyx;
-
ID
- Mappings:
Namespace Name Mixin selector named IDLnet/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayload;ID:Lnet/minecraft/network/packet/CustomPayload$Id;intermediary field_48689Lnet/minecraft/class_8729;field_48689:Lnet/minecraft/class_8710$class_9154;official bLaaz;b:Laaj$b;
-
-
Constructor Details
-
DebugWorldgenAttemptCustomPayload
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayload;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_8729;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laaz;<init>(Lvw;)V
-
DebugWorldgenAttemptCustomPayload
public DebugWorldgenAttemptCustomPayload(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6)
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_56507Lnet/minecraft/class_8729;method_56507(Lnet/minecraft/class_2540;)Vofficial aLaaz;a(Lvw;)V
-
getId
- Specified by:
getIdin interfaceCustomPayload- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;intermediary method_56479Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;official aLaaj;a()Laaj$b;
-
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 '=='. -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
scale
public float scale()Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
red
public float red()Returns the value of theredrecord component.- Returns:
- the value of the
redrecord component
-
green
public float green()Returns the value of thegreenrecord component.- Returns:
- the value of the
greenrecord component
-
blue
public float blue()Returns the value of thebluerecord component.- Returns:
- the value of the
bluerecord component
-
alpha
public float alpha()Returns the value of thealpharecord component.- Returns:
- the value of the
alpharecord component
-