Record Class FrameType
java.lang.Object
java.lang.Record
net.darkhax.pokeframes.common.impl.FrameType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameTypestatic FrameType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentReturns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.net.minecraft.network.chat.ComponentReturns the value of theexternalNamerecord component.frameId()Returns the value of theframeIdrecord component.game()Returns the value of thegamerecord component.final inthashCode()Returns a hash code value for this object.net.minecraft.network.chat.ComponentidName()Returns the value of theidNamerecord component.final StringtoString()Returns a string representation of this record class.types()
-
Field Details
-
CLASSIC
-
SIMPLE_WHITE
-
SIMPLE_ORANGE
-
SIMPLE_MAGENTA
-
SIMPLE_LIGHT_BLUE
-
SIMPLE_YELLOW
-
SIMPLE_LIME
-
SIMPLE_PINK
-
SIMPLE_GRAY
-
SIMPLE_LIGHT_GRAY
-
SIMPLE_CYAN
-
SIMPLE_PURPLE
-
SIMPLE_BLUE
-
SIMPLE_BROWN
-
SIMPLE_GREEN
-
SIMPLE_RED
-
SIMPLE_BLACK
-
POKEBALL
-
GREATBALL
-
ULTRABALL
-
MASTERBALL
-
PIPE
-
TOY
-
SEA
-
ORNATE
-
FLOWER
-
CLOUD
-
BERRY
-
CORAL
-
SPACE
-
SCREW
-
DESERT
-
SHEET
-
BLOCK
-
MARBLE
-
PICNIC
-
LEAF
-
RIBBON
-
RED
-
GREEN
-
BLUE
-
GOLD
-
SILVER
-
CHECKERBOARD
-
BANDED_YELLOW
-
BRICKS_PURPLE
-
-
Constructor Details
-
FrameType
public FrameType(String frameId, net.minecraft.network.chat.Component displayName, net.minecraft.network.chat.Component externalName, net.minecraft.network.chat.Component idName, GameType game) Creates an instance of aFrameTyperecord class.- Parameters:
frameId- the value for theframeIdrecord componentdisplayName- the value for thedisplayNamerecord componentexternalName- the value for theexternalNamerecord componentidName- the value for theidNamerecord componentgame- the value for thegamerecord component
-
-
Method Details
-
types
-
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). -
frameId
Returns the value of theframeIdrecord component.- Returns:
- the value of the
frameIdrecord component
-
displayName
public net.minecraft.network.chat.Component displayName()Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
externalName
public net.minecraft.network.chat.Component externalName()Returns the value of theexternalNamerecord component.- Returns:
- the value of the
externalNamerecord component
-
idName
public net.minecraft.network.chat.Component idName()Returns the value of theidNamerecord component.- Returns:
- the value of the
idNamerecord component
-
game
Returns the value of thegamerecord component.- Returns:
- the value of the
gamerecord component
-