Class IComponentMirror.Trim
java.lang.Object
com.saicone.rtag.item.mirror.IComponentMirror.TooltipDowngrade
com.saicone.rtag.item.mirror.IComponentMirror.Trim
- All Implemented Interfaces:
IComponentMirror.TooltipTransformation, IComponentMirror.Transformation
- Enclosing class:
IComponentMirror
Trim component transformation.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class IComponentMirror.TooltipDowngrade
downgradeComponent, downgradeTooltipMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IComponentMirror.TooltipTransformation
hideComponents, upgradeTooltipMethods inherited from interface IComponentMirror.Transformation
downgrade, downgrade, downgradeList, downgradeObject, move, move, setFlag, upgrade, upgradeComponent, upgradeList, upgradeObject
-
Constructor Details
-
Trim
public Trim()Construct a Trim transformation with default options.
-
-
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.- 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.
-