Package io.github.thebusybiscuit.slimefun4.core.attributes
package io.github.thebusybiscuit.slimefun4.core.attributes
This package contains all variations of
ItemAttribute that
can be assigned to a SlimefunItem-
ClassDescriptionThis interface, when attached to a
SlimefunItem, provides an easy method for damaging anItemStack, seeDamageableItem.damageItem(Player, ItemStack).Implement this interface for anySlimefunItemto prevent cargo using only its ID when comparing.This Interface, when attached to a class that inherits fromSlimefunItem, marks the Item as an electric Block.Implement this interface for anySlimefunItemto provide methods for external code to 'interact' with the item when placed as a block in the world.ThisItemAttributemanages holograms.An empty interface that only serves the purpose of bundling together all interfaces of that kind.MachineProcessHolder<T extends MachineOperation>Implement this interface for anySlimefunItemto prevent thatSlimefunItemfrom showing up in theItems.ymlconfig file.Implement this interface for anyAContainerto prevent thatAContainerfrom being hopperable.Implement this interface for anySlimefunItemto prevent thatSlimefunItemfrom being placed.This interface, when attached to aSlimefunItem, provides a variable (0-100%) chance for aSlimefunItemto be dropped by aPiglinonEntityDropItemEvent.DO NOT IMPLEMENT THIS INTERFACE This is implemented by everySlimefunItemby default.Represents theProtectionTypethat aProtectiveArmorprevents the damage from.Implement this interface to aSlimefunArmorPieceto protect thePlayerwho wears thatSlimefunArmorPiecefromProtectionTypedamage.An enum of potential radiation symptoms.This Interface, when attached to a class that inherits fromSlimefunItem, marks the Item as radioactive.This enum holds all available levels ofRadioactivity.This interface, when attached to aSlimefunItem, provides an easy method for adding a % chance to drop for anSlimefunItemonEntityDeathEvent, this chance is 0-100 and used in conjunction with theRecipeType.MOB_DROP.This interface, when attache to aSlimefunItemclass will make additional items appear in theSlimefunGuide.This Interface, when attached to a class that inherits fromSlimefunItem, marks the Item as soulbound.This Interface, when attached to a class that inherits fromSlimefunItem, marks the Item as "Wither-Proof".