Record Class GuiRenderEvents.AttackIndicator
java.lang.Object
java.lang.Record
net.ntrdeal.realapi.client.event.GuiRenderEvents.AttackIndicator
- Enclosing class:
GuiRenderEvents
@Environment(CLIENT)
public static record GuiRenderEvents.AttackIndicator(net.minecraft.resources.Identifier full, net.minecraft.resources.Identifier background, net.minecraft.resources.Identifier progress)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttackIndicator(net.minecraft.resources.Identifier full, net.minecraft.resources.Identifier background, net.minecraft.resources.Identifier progress) Creates an instance of aAttackIndicatorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.IdentifierReturns the value of thebackgroundrecord component.booleanIndicates whether some other object is "equal to" this one.net.minecraft.resources.Identifierfull()Returns the value of thefullrecord component.final inthashCode()Returns a hash code value for this object.net.minecraft.resources.Identifierprogress()Returns the value of theprogressrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
AttackIndicator
public AttackIndicator(net.minecraft.resources.Identifier full, net.minecraft.resources.Identifier background, net.minecraft.resources.Identifier progress) Creates an instance of aAttackIndicatorrecord class.- Parameters:
full- the value for thefullrecord componentbackground- the value for thebackgroundrecord componentprogress- the value for theprogressrecord component
-
-
Method Details
-
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). -
toString
-
hashCode
-
full
public net.minecraft.resources.Identifier full()Returns the value of thefullrecord component.- Returns:
- the value of the
fullrecord component
-
background
public net.minecraft.resources.Identifier background()Returns the value of thebackgroundrecord component.- Returns:
- the value of the
backgroundrecord component
-
progress
public net.minecraft.resources.Identifier progress()Returns the value of theprogressrecord component.- Returns:
- the value of the
progressrecord component
-