Interface ListOperation

All Known Implementing Classes:
ListOperation.Append, ListOperation.Insert, ListOperation.ReplaceAll, ListOperation.ReplaceSection

public interface ListOperation
Mappings:
Namespace Name
named net/minecraft/util/collection/ListOperation
intermediary net/minecraft/class_9368
official erv
  • Field Details

    • UNLIMITED_SIZE_CODEC

      static final com.mojang.serialization.MapCodec<ListOperation> UNLIMITED_SIZE_CODEC
      Mappings:
      Namespace Name Mixin selector
      named UNLIMITED_SIZE_CODEC Lnet/minecraft/util/collection/ListOperation;UNLIMITED_SIZE_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_51424 Lnet/minecraft/class_9368;field_51424:Lcom/mojang/serialization/MapCodec;
      official a Lerv;a:Lcom/mojang/serialization/MapCodec;
  • Method Details

    • createCodec

      static com.mojang.serialization.MapCodec<ListOperation> createCodec(int maxSize)
      Mappings:
      Namespace Name Mixin selector
      named createCodec Lnet/minecraft/util/collection/ListOperation;createCodec(I)Lcom/mojang/serialization/MapCodec;
      intermediary method_58456 Lnet/minecraft/class_9368;method_58456(I)Lcom/mojang/serialization/MapCodec;
      official a Lerv;a(I)Lcom/mojang/serialization/MapCodec;
    • getMode

      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 Lerv;a()Lerv$f;
    • apply

      default <T> List<T> apply(List<T> current, List<T> values)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/util/collection/ListOperation;apply(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
      intermediary method_59742 Lnet/minecraft/class_9368;method_59742(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
      official a Lerv;a(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
    • apply

      <T> List<T> apply(List<T> current, List<T> values, int maxSize)
      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 Lerv;a(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;