Class ListOperation.ReplaceAll

java.lang.Object
net.minecraft.util.collection.ListOperation.ReplaceAll
All Implemented Interfaces:
ListOperation
Enclosing interface:
ListOperation

public static class ListOperation.ReplaceAll extends Object implements ListOperation
Mappings:
Namespace Name
named net/minecraft/util/collection/ListOperation$ReplaceAll
intermediary net/minecraft/class_9368$class_9371
official eya$c
  • Field Details

    • INSTANCE

      public static final ListOperation.ReplaceAll INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/util/collection/ListOperation$ReplaceAll;INSTANCE:Lnet/minecraft/util/collection/ListOperation$ReplaceAll;
      intermediary field_49852 Lnet/minecraft/class_9368$class_9371;field_49852:Lnet/minecraft/class_9368$class_9371;
      official b Leya$c;b:Leya$c;
    • CODEC

      public static final com.mojang.serialization.MapCodec<ListOperation.ReplaceAll> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/util/collection/ListOperation$ReplaceAll;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_49853 Lnet/minecraft/class_9368$class_9371;field_49853:Lcom/mojang/serialization/MapCodec;
      official c Leya$c;c:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • ReplaceAll

      private ReplaceAll()
  • Method Details

    • getMode

      public ListOperation.Mode getMode()
      Specified by:
      getMode in interface ListOperation
      Mappings:
      Namespace Name Mixin selector
      named getMode Lnet/minecraft/util/collection/ListOperation;getMode()Lnet/minecraft/util/collection/ListOperation$Mode;
      intermediary method_58191 Lnet/minecraft/class_9368;method_58191()Lnet/minecraft/class_9368$class_9373;
      official a Leya;a()Leya$f;
    • apply

      public <T> List<T> apply(List<T> current, List<T> values, int maxSize)
      Specified by:
      apply in interface ListOperation
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/util/collection/ListOperation;apply(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;
      intermediary method_58192 Lnet/minecraft/class_9368;method_58192(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;
      official a Leya;a(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;