Interface MixinItemExtension
- All Superinterfaces:
net.minecraftforge.common.extensions.IForgeItem
public interface MixinItemExtension
extends net.minecraftforge.common.extensions.IForgeItem
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable net.minecraft.world.entity.EquipmentSlot
getEquipmentSlot
(net.minecraft.world.item.ItemStack stack) default void
onArmorTick
(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player) Methods inherited from interface net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getItemStackTileEntityRenderer, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getTags, getToolTypes, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isRepairable, isShield, makesPiglinsNeutral, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
-
Method Details
-
onArmorTick
default void onArmorTick(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player) - Specified by:
onArmorTick
in interfacenet.minecraftforge.common.extensions.IForgeItem
-
getEquipmentSlot
@Nullable default @Nullable net.minecraft.world.entity.EquipmentSlot getEquipmentSlot(net.minecraft.world.item.ItemStack stack) - Specified by:
getEquipmentSlot
in interfacenet.minecraftforge.common.extensions.IForgeItem
-