Mixin Tool Item
public abstract class MixinToolItem extends Item implements DynamicAttributeTool
Content copied to clipboard
Constructors
MixinToolItem
Link copied to clipboard
Functions
appendStacks
Link copied to clipboard
appendTooltip
Link copied to clipboard
void appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)
Content copied to clipboard
canBeNested
Link copied to clipboard
boolean canBeNested()
Content copied to clipboard
finishUsing
Link copied to clipboard
getAttributeModifiers
Link copied to clipboard
Multimap<EntityAttribute, EntityAttributeModifier> getAttributeModifiers(EquipmentSlot slot)
Content copied to clipboard
getDefaultStack
Link copied to clipboard
getDrinkSound
Link copied to clipboard
getDynamicModifiers
Link copied to clipboard
Multimap<EntityAttribute, EntityAttributeModifier> getDynamicModifiers(EquipmentSlot slot, ItemStack stack, @Nullable() LivingEntity user)
Content copied to clipboard
getEatSound
Link copied to clipboard
getEnchantability
Link copied to clipboard
int getEnchantability()
Content copied to clipboard
getEquipSound
Link copied to clipboard
getFoodComponent
Link copied to clipboard
getItemBarColor
Link copied to clipboard
getItemBarStep
Link copied to clipboard
getMaterial
Link copied to clipboard
getMaxCount
Link copied to clipboard
final int getMaxCount()
Content copied to clipboard
getMaxDamage
Link copied to clipboard
final int getMaxDamage()
Content copied to clipboard
getMaxUseTime
Link copied to clipboard
getMiningLevel
Link copied to clipboard
@Deprecated()
Content copied to clipboard
int getMiningLevel(Tag<Item> tag, BlockState state, ItemStack stack, @Nullable() LivingEntity user)
Content copied to clipboard
getMiningSpeedMultiplier
Link copied to clipboard
@Deprecated()
Content copied to clipboard
float getMiningSpeedMultiplier(Tag<Item> tag, BlockState state, ItemStack stack, @Nullable() LivingEntity user)
Content copied to clipboard
getRecipeRemainder
Link copied to clipboard
getTooltipData
Link copied to clipboard
getTranslationKey
Link copied to clipboard
getUseAction
Link copied to clipboard
hasRecipeRemainder
Link copied to clipboard
boolean hasRecipeRemainder()
Content copied to clipboard
inventoryTick
Link copied to clipboard
void inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)
Content copied to clipboard
isDamageable
Link copied to clipboard
boolean isDamageable()
Content copied to clipboard
isEnchantable
Link copied to clipboard
isFireproof
Link copied to clipboard
boolean isFireproof()
Content copied to clipboard
isItemBarVisible
Link copied to clipboard
isNetworkSynced
Link copied to clipboard
boolean isNetworkSynced()
Content copied to clipboard
isSuitableFor
Link copied to clipboard
isUsedOnRelease
Link copied to clipboard
onItemEntityDestroyed
Link copied to clipboard
onStackClicked
Link copied to clipboard
boolean onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player)
Content copied to clipboard
onStoppedUsing
Link copied to clipboard
void onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)
Content copied to clipboard
postProcessMiningSpeed
Link copied to clipboard
float postProcessMiningSpeed(Tag<Item> tag, BlockState state, ItemStack stack, @Nullable() LivingEntity user, float currentSpeed, boolean isEffective)
Content copied to clipboard
postProcessNbt
Link copied to clipboard
shouldSyncTagToClient
Link copied to clipboard
boolean shouldSyncTagToClient()
Content copied to clipboard
useOnBlock
Link copied to clipboard
useOnEntity
Link copied to clipboard
ActionResult useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard