Class RelativeSkin
java.lang.Object
me.deecaad.weaponmechanics.weapon.skin.RelativeSkin
- All Implemented Interfaces:
me.deecaad.core.file.Serializer<RelativeSkin>,Skin
public class RelativeSkin
extends Object
implements Skin, me.deecaad.core.file.Serializer<RelativeSkin>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.deecaad.core.file.Serializer
canUsePathTo, getKeyword, getName, getParentKeywords, getWikiLink, letPassThrough, shouldSerialize, tryPathTo, useLater
-
Constructor Details
-
RelativeSkin
public RelativeSkin()Default constructor for serializer. -
RelativeSkin
public RelativeSkin(int customModelData)
-
-
Method Details
-
getCustomModelData
public int getCustomModelData() -
apply
public void apply(@NotNull org.bukkit.inventory.ItemStack item) Description copied from interface:SkinModifies the given item to be match this skin. -
serialize
@NotNull public RelativeSkin serialize(@NotNull me.deecaad.core.file.SerializeData data) throws me.deecaad.core.file.SerializerException - Specified by:
serializein interfaceme.deecaad.core.file.Serializer<RelativeSkin>- Throws:
me.deecaad.core.file.SerializerException
-