Class MaterialTrait
java.lang.Object
io.github.sefiraat.slimetinker.items.tinkermaterials.elements.MaterialTrait
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConsumer(TraitEventType type, Consumer<EventFriend> consumer) io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemgetItem()io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackString[]getLore()io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackprotected static StringgetTraitTexture(String addedBy) protected static org.bukkit.inventory.ItemStack[]propRecipe(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack part, org.bukkit.inventory.ItemStack stack) voidrun(TraitEventType type, EventFriend friend) setAddedBy(String addedBy) setPartType(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack partType) setSponsoredBy(String sponsor) setTraitName(String traitName) voidsetupTrait(TinkerMaterial parentCM)
-
Field Details
-
PROP_HEAD
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack PROP_HEAD -
PROP_BINDING
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack PROP_BINDING -
PROP_ROD
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack PROP_ROD -
PROP_PLATES
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack PROP_PLATES -
PROP_GAMBESON
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack PROP_GAMBESON -
PROP_LINKS
public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack PROP_LINKS
-
-
Constructor Details
-
MaterialTrait
public MaterialTrait()
-
-
Method Details
-
getTraitName
-
setTraitName
-
getLore
-
setLore
-
getAddedBy
-
setAddedBy
-
getSponsoredBy
-
setSponsoredBy
-
getPartType
@Nonnull public io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack getPartType() -
setPartType
@Nonnull public MaterialTrait setPartType(@Nonnull io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack partType) -
addConsumer
@Nonnull public MaterialTrait addConsumer(@Nonnull TraitEventType type, @Nonnull Consumer<EventFriend> consumer) -
getItemStack
public io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack getItemStack() -
getItem
public io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem getItem() -
run
-
setupTrait
-
getTraitTexture
-
propRecipe
@Nonnull protected static org.bukkit.inventory.ItemStack[] propRecipe(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack part, org.bukkit.inventory.ItemStack stack)
-