Package net.minecraft.client.render
Record Class WeatherRendering.Piece
java.lang.Object
java.lang.Record
net.minecraft.client.render.WeatherRendering.Piece
- Record Components:
- x-
- z-
- bottomY-
- topY-
- uOffset-
- vOffset-
- lightCoords-
- Enclosing class:
- WeatherRendering
@Environment(CLIENT)
private static record WeatherRendering.Piece(int x, int z, int bottomY, int topY, float uOffset, float vOffset, int lightCoords)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/WeatherRendering$Piece- intermediary - net/minecraft/class_9976$class_9977- official - gsn$a- named - x- intermediary - comp_3042- official - a- named - z- intermediary - comp_3043- official - b- named - bottomY- intermediary - comp_3044- official - c- named - topY- intermediary - comp_3045- official - d- named - uOffset- intermediary - comp_3046- official - e- named - vOffset- intermediary - comp_3047- official - f- named - lightCoords- intermediary - comp_3048- official - g
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for thebottomYrecord component.private final intThe field for thelightCoordsrecord component.private final intThe field for thetopYrecord component.private final floatThe field for theuOffsetrecord component.private final floatThe field for thevOffsetrecord component.private final intThe field for thexrecord component.private final intThe field for thezrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionPiece(int int2, int int3, int int4, int int5, float float2, float float3, int int6) 
- 
Method SummaryModifier and TypeMethodDescriptionintbottomY()Returns the value of thebottomYrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thelightCoordsrecord component.inttopY()Returns the value of thetopYrecord component.final StringtoString()Returns a string representation of this record class.floatuOffset()Returns the value of theuOffsetrecord component.floatvOffset()Returns the value of thevOffsetrecord component.intx()Returns the value of thexrecord component.intz()Returns the value of thezrecord component.
- 
Field Details- 
xprivate final int xThe field for thexrecord component.
- 
zprivate final int zThe field for thezrecord component.
- 
bottomYprivate final int bottomYThe field for thebottomYrecord component.
- 
topYprivate final int topYThe field for thetopYrecord component.
- 
uOffsetprivate final float uOffsetThe field for theuOffsetrecord component.
- 
vOffsetprivate final float vOffsetThe field for thevOffsetrecord component.
- 
lightCoordsprivate final int lightCoordsThe field for thelightCoordsrecord component.
 
- 
- 
Constructor Details- 
PiecePiece(int int2, int int3, int int4, int int5, float float2, float float3, int int6) 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 with '=='.
- 
xpublic int x()Returns the value of thexrecord component.- Returns:
- the value of the xrecord component
 
- 
zpublic int z()Returns the value of thezrecord component.- Returns:
- the value of the zrecord component
 
- 
bottomYpublic int bottomY()Returns the value of thebottomYrecord component.- Returns:
- the value of the bottomYrecord component
 
- 
topYpublic int topY()Returns the value of thetopYrecord component.- Returns:
- the value of the topYrecord component
 
- 
uOffsetpublic float uOffset()Returns the value of theuOffsetrecord component.- Returns:
- the value of the uOffsetrecord component
 
- 
vOffsetpublic float vOffset()Returns the value of thevOffsetrecord component.- Returns:
- the value of the vOffsetrecord component
 
- 
lightCoordspublic int lightCoords()Returns the value of thelightCoordsrecord component.- Returns:
- the value of the lightCoordsrecord component
 
 
-