Package net.minecraft
Record Class class_8729
java.lang.Object
java.lang.Record
net.minecraft.class_8729
- Record Components:
pos-scale-red-green-blue-alpha-
- All Implemented Interfaces:
class_8710
public record class_8729(BlockPos pos, float scale, float red, float green, float blue, float alpha)
extends Record
implements class_8710
- Mappings:
Namespace Name official weintermediary net/minecraft/class_8729named net/minecraft/class_8729official 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.static final Identifierprivate final floatThe field for thegreenrecord component.private final BlockPosThe field for theposrecord component.private final floatThe field for theredrecord component.private final floatThe field for thescalerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8729(PacketByteBuf packetByteBuf) class_8729(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()voidmethod_53028(PacketByteBuf packetByteBuf) 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.
-
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. -
field_45712
- Mappings:
Namespace Name Mixin selector official aLwe;a:Laep;intermediary field_45712Lnet/minecraft/class_8729;field_45712:Lnet/minecraft/class_2960;named field_45712Lnet/minecraft/class_8729;field_45712:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
class_8729
-
class_8729
public class_8729(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6)
-
-
Method Details
-
method_53028
- Specified by:
method_53028in interfaceclass_8710- Mappings:
Namespace Name Mixin selector official aLvo;a(Lsh;)Vintermediary method_53028Lnet/minecraft/class_8710;method_53028(Lnet/minecraft/class_2540;)Vnamed method_53028Lnet/minecraft/class_8710;method_53028(Lnet/minecraft/network/PacketByteBuf;)V
-
id
- Specified by:
idin interfaceclass_8710- Mappings:
Namespace Name Mixin selector official aLvo;a()Laep;intermediary comp_1678Lnet/minecraft/class_8710;comp_1678()Lnet/minecraft/class_2960;named idLnet/minecraft/class_8710;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
-