Interface ContainerComponentModifier<T>


public interface ContainerComponentModifier<T>
Mappings:
Namespace Name
named net/minecraft/loot/ContainerComponentModifier
intermediary net/minecraft/class_9666
official eqh
  • Method Details

    • getComponentType

      DataComponentType<T> getComponentType()
      Mappings:
      Namespace Name Mixin selector
      named getComponentType Lnet/minecraft/loot/ContainerComponentModifier;getComponentType()Lnet/minecraft/component/DataComponentType;
      intermediary method_59719 Lnet/minecraft/class_9666;method_59719()Lnet/minecraft/class_9331;
      official a Leqh;a()Lkl;
    • getDefault

      T getDefault()
      Mappings:
      Namespace Name Mixin selector
      named getDefault Lnet/minecraft/loot/ContainerComponentModifier;getDefault()Ljava/lang/Object;
      intermediary method_59726 Lnet/minecraft/class_9666;method_59726()Ljava/lang/Object;
      official b Leqh;b()Ljava/lang/Object;
    • create

      T create(T component, Stream<ItemStack> contents)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/loot/ContainerComponentModifier;create(Ljava/lang/Object;Ljava/util/stream/Stream;)Ljava/lang/Object;
      intermediary method_59724 Lnet/minecraft/class_9666;method_59724(Ljava/lang/Object;Ljava/util/stream/Stream;)Ljava/lang/Object;
      official a Leqh;a(Ljava/lang/Object;Ljava/util/stream/Stream;)Ljava/lang/Object;
    • stream

      Stream<ItemStack> stream(T component)
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/loot/ContainerComponentModifier;stream(Ljava/lang/Object;)Ljava/util/stream/Stream;
      intermediary method_59723 Lnet/minecraft/class_9666;method_59723(Ljava/lang/Object;)Ljava/util/stream/Stream;
      official a Leqh;a(Ljava/lang/Object;)Ljava/util/stream/Stream;
    • apply

      default void apply(ItemStack stack, T component, Stream<ItemStack> contents)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/loot/ContainerComponentModifier;apply(Lnet/minecraft/item/ItemStack;Ljava/lang/Object;Ljava/util/stream/Stream;)V
      intermediary method_59720 Lnet/minecraft/class_9666;method_59720(Lnet/minecraft/class_1799;Ljava/lang/Object;Ljava/util/stream/Stream;)V
      official a Leqh;a(Lcur;Ljava/lang/Object;Ljava/util/stream/Stream;)V
    • apply

      default void apply(ItemStack stack, Stream<ItemStack> contents)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/loot/ContainerComponentModifier;apply(Lnet/minecraft/item/ItemStack;Ljava/util/stream/Stream;)V
      intermediary method_59722 Lnet/minecraft/class_9666;method_59722(Lnet/minecraft/class_1799;Ljava/util/stream/Stream;)V
      official a Leqh;a(Lcur;Ljava/util/stream/Stream;)V
    • apply

      default void apply(ItemStack stack, UnaryOperator<ItemStack> contentsOperator)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/loot/ContainerComponentModifier;apply(Lnet/minecraft/item/ItemStack;Ljava/util/function/UnaryOperator;)V
      intermediary method_59721 Lnet/minecraft/class_9666;method_59721(Lnet/minecraft/class_1799;Ljava/util/function/UnaryOperator;)V
      official a Leqh;a(Lcur;Ljava/util/function/UnaryOperator;)V