Class IComponentMirror.Lore
java.lang.Object
com.saicone.rtag.item.mirror.IComponentMirror.TextComponentTransformation
com.saicone.rtag.item.mirror.IComponentMirror.Lore
- All Implemented Interfaces:
IComponentMirror.Transformation
- Enclosing class:
IComponentMirror
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddowngrade(@NotNull Object components, @NotNull String id, @NotNull Object component, @NotNull com.saicone.rtag.util.MC from, @NotNull com.saicone.rtag.util.MC to) Downgrade component value from upper version.voidupgrade(@NotNull Object components, @NotNull String id, @NotNull Object component, @NotNull com.saicone.rtag.util.MC from, @NotNull com.saicone.rtag.util.MC to) Upgrade component value from lower version.Methods inherited from class IComponentMirror.TextComponentTransformation
downgradeText, upgradeTextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IComponentMirror.Transformation
downgrade, downgradeComponent, downgradeList, downgradeObject, move, move, setFlag, upgrade, upgradeComponent, upgradeList, upgradeObject
-
Constructor Details
-
Lore
public Lore()
-
-
Method Details
-
upgrade
public void upgrade(@NotNull @NotNull Object components, @NotNull @NotNull String id, @NotNull @NotNull Object component, @NotNull @NotNull com.saicone.rtag.util.MC from, @NotNull @NotNull com.saicone.rtag.util.MC to) Description copied from interface:IComponentMirror.TransformationUpgrade component value from lower version.- Specified by:
upgradein interfaceIComponentMirror.Transformation- Overrides:
upgradein classIComponentMirror.TextComponentTransformation- Parameters:
components- the component map from item.id- component ID inside map.component- the component itself.from- the initial version of item data.to- the version to upgrade item data.
-
downgrade
public void downgrade(@NotNull @NotNull Object components, @NotNull @NotNull String id, @NotNull @NotNull Object component, @NotNull @NotNull com.saicone.rtag.util.MC from, @NotNull @NotNull com.saicone.rtag.util.MC to) Description copied from interface:IComponentMirror.TransformationDowngrade component value from upper version.- Specified by:
downgradein interfaceIComponentMirror.Transformation- Overrides:
downgradein classIComponentMirror.TextComponentTransformation- Parameters:
components- the component map from item.id- component ID inside map.component- the component itself.from- the initial version of item data.to- the version to downgrade item data.
-