Record Class GraveDioramaRenderState
java.lang.Object
java.lang.Record
com.breakinblocks.graveless.client.gui.GraveDioramaRenderState
- All Implemented Interfaces:
net.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState, net.minecraft.client.renderer.state.gui.ScreenArea
public record GraveDioramaRenderState(UUID recordId, net.minecraft.world.level.block.state.BlockState[] blocks, net.minecraft.client.model.player.PlayerModel playerModel, net.minecraft.world.entity.player.PlayerSkin skin, float yaw, int x0, int y0, int x1, int y1, float scale, @Nullable net.minecraft.client.gui.navigation.ScreenRectangle scissorArea, @Nullable net.minecraft.client.gui.navigation.ScreenRectangle bounds)
extends Record
implements net.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState
-
Field Summary
Fields inherited from interface net.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState
IDENTITY_POSE -
Constructor Summary
ConstructorsConstructorDescriptionGraveDioramaRenderState(UUID recordId, net.minecraft.world.level.block.state.BlockState[] blocks, net.minecraft.client.model.player.PlayerModel playerModel, net.minecraft.world.entity.player.PlayerSkin skin, float yaw, int x0, int y0, int x1, int y1, float scale, @Nullable net.minecraft.client.gui.navigation.ScreenRectangle scissorArea) GraveDioramaRenderState(UUID recordId, net.minecraft.world.level.block.state.BlockState[] blocks, net.minecraft.client.model.player.PlayerModel playerModel, net.minecraft.world.entity.player.PlayerSkin skin, float yaw, int x0, int y0, int x1, int y1, float scale, @Nullable net.minecraft.client.gui.navigation.ScreenRectangle scissorArea, @Nullable net.minecraft.client.gui.navigation.ScreenRectangle bounds) Creates an instance of aGraveDioramaRenderStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockState[]blocks()Returns the value of theblocksrecord component.@Nullable net.minecraft.client.gui.navigation.ScreenRectanglebounds()Returns the value of theboundsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.net.minecraft.client.model.player.PlayerModelReturns the value of theplayerModelrecord component.recordId()Returns the value of therecordIdrecord component.floatscale()Returns the value of thescalerecord component.@Nullable net.minecraft.client.gui.navigation.ScreenRectangleReturns the value of thescissorArearecord component.net.minecraft.world.entity.player.PlayerSkinskin()Returns the value of theskinrecord component.final StringtoString()Returns a string representation of this record class.intx0()Returns the value of thex0record component.intx1()Returns the value of thex1record component.inty0()Returns the value of they0record component.inty1()Returns the value of they1record component.floatyaw()Returns the value of theyawrecord component.Methods inherited from interface net.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState
pose
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
recordId
Returns the value of therecordIdrecord component.- Returns:
- the value of the
recordIdrecord component
-
blocks
public net.minecraft.world.level.block.state.BlockState[] blocks()Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
playerModel
public net.minecraft.client.model.player.PlayerModel playerModel()Returns the value of theplayerModelrecord component.- Returns:
- the value of the
playerModelrecord component
-
skin
public net.minecraft.world.entity.player.PlayerSkin skin()Returns the value of theskinrecord component.- Returns:
- the value of the
skinrecord component
-
yaw
public float yaw()Returns the value of theyawrecord component.- Returns:
- the value of the
yawrecord component
-
x0
public int x0()Returns the value of thex0record component.- Specified by:
x0in interfacenet.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState- Returns:
- the value of the
x0record component
-
y0
public int y0()Returns the value of they0record component.- Specified by:
y0in interfacenet.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState- Returns:
- the value of the
y0record component
-
x1
public int x1()Returns the value of thex1record component.- Specified by:
x1in interfacenet.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState- Returns:
- the value of the
x1record component
-
y1
public int y1()Returns the value of they1record component.- Specified by:
y1in interfacenet.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState- Returns:
- the value of the
y1record component
-
scale
public float scale()Returns the value of thescalerecord component.- Specified by:
scalein interfacenet.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState- Returns:
- the value of the
scalerecord component
-
scissorArea
public @Nullable net.minecraft.client.gui.navigation.ScreenRectangle scissorArea()Returns the value of thescissorArearecord component.- Specified by:
scissorAreain interfacenet.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState- Returns:
- the value of the
scissorArearecord component
-
bounds
public @Nullable net.minecraft.client.gui.navigation.ScreenRectangle bounds()Returns the value of theboundsrecord component.- Specified by:
boundsin interfacenet.minecraft.client.renderer.state.gui.ScreenArea- Returns:
- the value of the
boundsrecord component
-