Record Class GuiSpriteScaling.Stretch
java.lang.Object
java.lang.Record
net.minecraft.client.resources.metadata.gui.GuiSpriteScaling.Stretch
- All Implemented Interfaces:
GuiSpriteScaling
- Enclosing interface:
- GuiSpriteScaling
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.resources.metadata.gui.GuiSpriteScaling
GuiSpriteScaling.NineSlice, GuiSpriteScaling.Stretch, GuiSpriteScaling.Tile, GuiSpriteScaling.Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GuiSpriteScaling.Stretch>
Fields inherited from interface net.minecraft.client.resources.metadata.gui.GuiSpriteScaling
DEFAULT
-
Constructor Summary
-
Method Summary
-
Field Details
-
CODEC
-
-
Constructor Details
-
Stretch
public Stretch()Creates an instance of aStretch
record class.
-
-
Method Details
-
type
- Specified by:
type
in interfaceGuiSpriteScaling
-
toString
Returns 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. -
hashCode
public 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. -
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.
-