Interface Consumable

All Known Implementing Classes:
FoodComponent, OminousBottleAmplifierComponent, PotionContentsComponent, SuspiciousStewEffectsComponent

public interface Consumable
Mappings:
Namespace Name
named net/minecraft/component/type/Consumable
intermediary net/minecraft/class_10127
official cyx
  • Method Details

    • onConsume

      void onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable)
      Mappings:
      Namespace Name Mixin selector
      named onConsume Lnet/minecraft/component/type/Consumable;onConsume(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/ConsumableComponent;)V
      intermediary method_62831 Lnet/minecraft/class_10127;method_62831(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_10124;)V
      official a Lcyx;a(Ldgj;Lbvi;Lcwq;Lcyw;)V