Record Class HudElementRegistryImpl.RootLayer
java.lang.Object
java.lang.Record
net.fabricmc.fabric.impl.client.rendering.hud.HudElementRegistryImpl.RootLayer
- Enclosing class:
HudElementRegistryImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.voidextractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.DeltaTracker deltaTracker, HudElement vanillaElement) final inthashCode()Returns a hash code value for this object.net.minecraft.resources.Identifierid()Returns the value of theidrecord component.layers()Returns the value of thelayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RootLayer
-
-
Method Details
-
extractRenderState
public void extractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.DeltaTracker deltaTracker, HudElement vanillaElement) -
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. All components in this record class are compared withObjects::equals(Object,Object). -
id
public net.minecraft.resources.Identifier id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
layers
-