Interface ContainerComponentModifier<T>


public interface ContainerComponentModifier<T>
Mappings:
Namespace Name
named net/minecraft/loot/ContainerComponentModifier
intermediary net/minecraft/class_9666
official ero
  • 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 Lero;a()Lkp;
    • 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 Lero;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 Lero;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 Lero;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 Lero;a(Lcuq;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 Lero;a(Lcuq;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 Lero;a(Lcuq;Ljava/util/function/UnaryOperator;)V