Interface ContainerComponentModifier<T>


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

    • getComponentType

      ComponentType<T> getComponentType()
      Mappings:
      Namespace Name Mixin selector
      named getComponentType Lnet/minecraft/loot/ContainerComponentModifier;getComponentType()Lnet/minecraft/component/ComponentType;
      intermediary method_59719 Lnet/minecraft/class_9666;method_59719()Lnet/minecraft/class_9331;
      official a Lewl;a()Lkt;
    • 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 Lewl;b()Ljava/lang/Object;
    • apply

      T apply(T component, Stream<ItemStack> contents)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/loot/ContainerComponentModifier;apply(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 Lewl;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 Lewl;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 Lewl;a(Lcxo;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 Lewl;a(Lcxo;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 Lewl;a(Lcxo;Ljava/util/function/UnaryOperator;)V