public class ItemInvertedPotentia extends net.minecraft.item.Item implements IItemEmpowerable
| Constructor and Description |
|---|
ItemInvertedPotentia(net.minecraft.item.Item.Properties properties,
boolean empowered) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.Entity |
createEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity location,
net.minecraft.item.ItemStack itemStack) |
net.minecraft.item.ItemStack |
empower(net.minecraft.item.ItemStack itemStack)
Set the given ItemStack as an empowered item.
|
boolean |
hasCustomEntity(net.minecraft.item.ItemStack itemStack) |
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
boolean |
isEmpowered(net.minecraft.item.ItemStack itemStack)
If the given ItemStack is an empowered item.
|
addInformation, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isDamageable, isEnchantable, isFood, isImmuneToFire, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemRightClick, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUse, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemInvertedPotentia(net.minecraft.item.Item.Properties properties,
boolean empowered)
public boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic net.minecraft.item.ItemStack empower(net.minecraft.item.ItemStack itemStack)
IItemEmpowerableempower in interface IItemEmpowerableitemStack - The ItemStack to check.public boolean isEmpowered(net.minecraft.item.ItemStack itemStack)
IItemEmpowerableisEmpowered in interface IItemEmpowerableitemStack - The ItemStack to check.public boolean hasCustomEntity(net.minecraft.item.ItemStack itemStack)
hasCustomEntity in interface net.minecraftforge.common.extensions.IForgeItempublic net.minecraft.entity.Entity createEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity location,
net.minecraft.item.ItemStack itemStack)
createEntity in interface net.minecraftforge.common.extensions.IForgeItem