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 GuiSpriteScaling
GuiSpriteScaling.NineSlice, GuiSpriteScaling.Stretch, GuiSpriteScaling.Tile, GuiSpriteScaling.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<GuiSpriteScaling.Stretch> Fields inherited from interface GuiSpriteScaling
DEFAULT -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
-
-
Constructor Details
-
Stretch
public Stretch()Creates an instance of aStretchrecord class.
-
-
Method Details
-
type
- Specified by:
typein interfaceGuiSpriteScaling
-
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.
-