public class TargetFormatType extends Object
target_type of the remapper is attribute, try to cast the value
to a new specific type. If the cast is not possible, the original type is kept. string
, integer, or double are the possible types. If the
target_type is tag, this parameter may not be specified.| Modifier and Type | Class and Description |
|---|---|
static class |
TargetFormatType.TargetFormatTypeSerializer |
| Modifier and Type | Field and Description |
|---|---|
static TargetFormatType |
AUTO |
static TargetFormatType |
DOUBLE |
static TargetFormatType |
INTEGER |
static TargetFormatType |
STRING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this TargetFormatType object is equal to o.
|
static TargetFormatType |
fromValue(String value) |
String |
getValue() |
int |
hashCode() |
boolean |
isValid() |
void |
setValue(String value) |
String |
toString() |
public static final TargetFormatType AUTO
public static final TargetFormatType STRING
public static final TargetFormatType INTEGER
public static final TargetFormatType DOUBLE
public boolean isValid()
public String getValue()
public void setValue(String value)
public boolean equals(Object o)
public static TargetFormatType fromValue(String value)
Copyright © 2023. All rights reserved.