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 official weintermediary net/minecraft/class_8729named net/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayloadofficial bintermediary comp_1718named posofficial cintermediary comp_1719named scaleofficial dintermediary comp_1720named redofficial eintermediary comp_1721named greenofficial fintermediary comp_1722named blueofficial gintermediary comp_1723named alpha
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thealpharecord component.private final floatThe field for thebluerecord component.private final floatThe field for thegreenrecord component.static final Identifierprivate final BlockPosThe field for theposrecord component.private final floatThe field for theredrecord component.private final floatThe field for thescalerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDebugWorldgenAttemptCustomPayload(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.floatgreen()Returns the value of thegreenrecord component.final inthashCode()Returns a hash code value for this object.id()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.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. -
ID
- Mappings:
Namespace Name Mixin selector official aLwe;a:Laep;intermediary field_45712Lnet/minecraft/class_8729;field_45712:Lnet/minecraft/class_2960;named IDLnet/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayload;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
DebugWorldgenAttemptCustomPayload
- Mappings:
Namespace Name Mixin selector official <init>Lwe;<init>(Lsh;)Vintermediary <init>Lnet/minecraft/class_8729;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/custom/DebugWorldgenAttemptCustomPayload;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
DebugWorldgenAttemptCustomPayload
public DebugWorldgenAttemptCustomPayload(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6)
-
-
Method Details
-
write
- Specified by:
writein interfaceCustomPayload- Mappings:
Namespace Name Mixin selector official aLvo;a(Lsh;)Vintermediary method_53028Lnet/minecraft/class_8710;method_53028(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/CustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)V
-
id
- Specified by:
idin interfaceCustomPayload- Mappings:
Namespace Name Mixin selector official aLvo;a()Laep;intermediary comp_1678Lnet/minecraft/class_8710;comp_1678()Lnet/minecraft/class_2960;named idLnet/minecraft/network/packet/CustomPayload;id()Lnet/minecraft/util/Identifier;
-
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
-