Package com.saicone.rtag.item.mirror
package com.saicone.rtag.item.mirror
-
ClassDescriptionIAttributeMirror class to convert attribute names across versions.IBundleMirror class to convert items inside bundles across versions.IComponentMirror class to convert item components across versions.AttributeModifiers component transformation.BannerPatterns component transformation.
This transformation save any new banner pattern if it's not compatible with older server version, and bring back when it's converted into newer version.BaseColor component transformation.Bees component transformation.BookContents component transformation.
This transformation allow to convert any regular book component format.Build component transformation.
This transformation allow to convert any regular build predicate format.ChargedProjectiles component transformation.
This transformation is just to add/remove old "Charged" boolean tag across versions.Container component transformation.DyedColor component transformation.Enchantments component transformation.
This transformation allow to convert any regular enchantment format.FireworkExplosion component transformation.
This transformation save the new explosion shape if it's not compatible with older server version, and bring back when it's converted into newer version.Fireworks component transformation.
This transformation save any new explosion shape if it's not compatible with older server version, and bring back when it's converted into newer version.Consumable component transformation.MapDecorations component transformation.
This transformation save any new map decoration if it's not compatible with older server version, and bring back when it's converted into newer version.Profile component transformation.
This transformation also fix any invalid texture name.Tooltip transformation, to convert any show in tooltip option into old hide flag format.Component transformation interface, to upgrade/downgrade components from/into NBT format.Unbreakable component transformation.IContainerMirror class to convert items inside item form of container across versions.IDisplayMirror class to convert item display across versions.IEffectMirror class to convert item effect format across versions.IEnchantMirror class to convert item enchants across versions.IMaterialMirror to convert item material IDs across version.
This is probably the most complex mirror instance in Rtag.IPotionMirror to convert item potions across 1.8 and other versions.
Mojang removes potion types inside item damage since 1.9, this class provides a clear conversion.Potion type enum only with potion names that can be translated to MC 1.8 item damage.Deprecated.ISkullOwnerMirror class to convert player head skull owner UUID across versions.
IContainerMirror
instead