Class HazmatArmorPiece
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.armor.SlimefunArmorPiece
io.github.thebusybiscuit.slimefun4.implementation.items.armor.HazmatArmorPiece
- All Implemented Interfaces:
ItemAttribute,Placeable,ProtectiveArmor
Represents 1
SlimefunArmorPiece of the Hazmat armor set.
One of the very few utilisations of ProtectiveArmor.- Author:
- Linox
- See Also:
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionHazmatArmorPiece(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, PotionEffect[] effects) -
Method Summary
Modifier and TypeMethodDescriptionThis returns the armor setNamespacedKeyof thisSlimefunArmorPiece.booleanThis returns whether the full set is required forPlayer's protection on assignedProtectionTypedamages.Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.armor.SlimefunArmorPiece
getPotionEffectsMethods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, callItemHandler, canUse, equals, error, getAddon, getBlockTicker, getById, getByItem, getDrops, getDrops, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, load, postRegister, preRegister, register, sendDeprecationWarning, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, toString, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
useVanillaBlockBreaking
-
Constructor Details
-
HazmatArmorPiece
@ParametersAreNonnullByDefault public HazmatArmorPiece(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, PotionEffect[] effects)
-
-
Method Details
-
getProtectionTypes
Description copied from interface:ProtectiveArmor- Specified by:
getProtectionTypesin interfaceProtectiveArmor- Returns:
- The
ProtectionTypes.
-
isFullSetRequired
public boolean isFullSetRequired()Description copied from interface:ProtectiveArmorThis returns whether the full set is required forPlayer's protection on assignedProtectionTypedamages.- Specified by:
isFullSetRequiredin interfaceProtectiveArmor- Returns:
- Whether or not he full set is required.
-
getArmorSetId
Description copied from interface:ProtectiveArmorThis returns the armor setNamespacedKeyof thisSlimefunArmorPiece.- Specified by:
getArmorSetIdin interfaceProtectiveArmor- Returns:
- The set
NamespacedKey,nullif none is found.
-