Record Class GuideCoverText
java.lang.Object
java.lang.Record
net.ixdarklord.folios.internal.client.GuideCoverText
- All Implemented Interfaces:
net.minecraft.client.renderer.special.SpecialModelRenderer<net.minecraft.resources.Identifier>
public record GuideCoverText(float x, float titleY, float subtitleY, float z, float width, @Nullable net.minecraft.resources.Identifier markers)
extends Record
implements net.minecraft.client.renderer.special.SpecialModelRenderer<net.minecraft.resources.Identifier>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.renderer.special.SpecialModelRenderer
net.minecraft.client.renderer.special.SpecialModelRenderer.BakingContext -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuideCoverText(float x, float titleY, float subtitleY, float z, float width, @Nullable net.minecraft.resources.Identifier markers) Creates an instance of aGuideCoverTextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable net.minecraft.resources.IdentifierextractArgument(net.minecraft.world.item.ItemStack stack) voidgetExtents(Consumer<org.joml.Vector3fc> output) final inthashCode()Returns a hash code value for this object.@Nullable net.minecraft.resources.Identifiermarkers()Returns the value of themarkersrecord component.voidsubmit(@Nullable net.minecraft.resources.Identifier id, com.mojang.blaze3d.vertex.PoseStack pose, net.minecraft.client.renderer.SubmitNodeCollector collector, int light, int overlay, boolean foil, int outline) floatReturns the value of thesubtitleYrecord component.floattitleY()Returns the value of thetitleYrecord component.final StringtoString()Returns a string representation of this record class.floatwidth()Returns the value of thewidthrecord component.floatx()Returns the value of thexrecord component.floatz()Returns the value of thezrecord component.
-
Field Details
-
TYPE
public static final net.minecraft.resources.Identifier TYPE
-
-
Constructor Details
-
GuideCoverText
public GuideCoverText(float x, float titleY, float subtitleY, float z, float width, @Nullable net.minecraft.resources.Identifier markers) Creates an instance of aGuideCoverTextrecord class.- Parameters:
x- the value for thexrecord componenttitleY- the value for thetitleYrecord componentsubtitleY- the value for thesubtitleYrecord componentz- the value for thezrecord componentwidth- the value for thewidthrecord componentmarkers- the value for themarkersrecord component
-
-
Method Details
-
submit
public void submit(@Nullable net.minecraft.resources.Identifier id, com.mojang.blaze3d.vertex.PoseStack pose, net.minecraft.client.renderer.SubmitNodeCollector collector, int light, int overlay, boolean foil, int outline) - Specified by:
submitin interfacenet.minecraft.client.renderer.special.SpecialModelRenderer<net.minecraft.resources.Identifier>
-
getExtents
- Specified by:
getExtentsin interfacenet.minecraft.client.renderer.special.SpecialModelRenderer<net.minecraft.resources.Identifier>
-
extractArgument
public @Nullable net.minecraft.resources.Identifier extractArgument(net.minecraft.world.item.ItemStack stack) - Specified by:
extractArgumentin interfacenet.minecraft.client.renderer.special.SpecialModelRenderer<net.minecraft.resources.Identifier>
-
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. -
x
public float x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
titleY
public float titleY()Returns the value of thetitleYrecord component.- Returns:
- the value of the
titleYrecord component
-
subtitleY
public float subtitleY()Returns the value of thesubtitleYrecord component.- Returns:
- the value of the
subtitleYrecord component
-
z
public float z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-
width
public float width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
markers
public @Nullable net.minecraft.resources.Identifier markers()Returns the value of themarkersrecord component.- Returns:
- the value of the
markersrecord component
-