Interface ComponentPredicate.Type<T extends ComponentPredicate>

All Known Implementing Classes:
ComponentPredicate.OfExistence, ComponentPredicate.OfValue, ComponentPredicate.TypeImpl
Enclosing interface:
ComponentPredicate

public static interface ComponentPredicate.Type<T extends ComponentPredicate>
Mappings:
Namespace Name
named net/minecraft/predicate/component/ComponentPredicate$Type
intermediary net/minecraft/class_9360$class_8745
official ky$d
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<ComponentPredicate.Type<?>> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/predicate/component/ComponentPredicate$Type;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_63638 Lnet/minecraft/class_9360$class_8745;field_63638:Lcom/mojang/serialization/Codec;
      official a Lky$d;a:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      static final PacketCodec<RegistryByteBuf,ComponentPredicate.Type<?>> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/predicate/component/ComponentPredicate$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_63639 Lnet/minecraft/class_9360$class_8745;field_63639:Lnet/minecraft/class_9139;
      official b Lky$d;b:Laat;
  • Method Details

    • fromType

      private static <T extends ComponentPredicate.Type<?>> com.mojang.datafixers.util.Either<T,ComponentType<?>> fromType(T type)
      Mappings:
      Namespace Name Mixin selector
      named fromType Lnet/minecraft/predicate/component/ComponentPredicate$Type;fromType(Lnet/minecraft/predicate/component/ComponentPredicate$Type;)Lcom/mojang/datafixers/util/Either;
      intermediary method_75521 Lnet/minecraft/class_9360$class_8745;method_75521(Lnet/minecraft/class_9360$class_8745;)Lcom/mojang/datafixers/util/Either;
      official a Lky$d;a(Lky$d;)Lcom/mojang/datafixers/util/Either;
    • toType

      private static ComponentPredicate.Type<?> toType(com.mojang.datafixers.util.Either<ComponentPredicate.Type<?>,ComponentType<?>> either)
      Mappings:
      Namespace Name Mixin selector
      named toType Lnet/minecraft/predicate/component/ComponentPredicate$Type;toType(Lcom/mojang/datafixers/util/Either;)Lnet/minecraft/predicate/component/ComponentPredicate$Type;
      intermediary method_75520 Lnet/minecraft/class_9360$class_8745;method_75520(Lcom/mojang/datafixers/util/Either;)Lnet/minecraft/class_9360$class_8745;
      official a Lky$d;a(Lcom/mojang/datafixers/util/Either;)Lky$d;
    • getPredicateCodec

      com.mojang.serialization.Codec<T> getPredicateCodec()
      Mappings:
      Namespace Name Mixin selector
      named getPredicateCodec Lnet/minecraft/predicate/component/ComponentPredicate$Type;getPredicateCodec()Lcom/mojang/serialization/Codec;
      intermediary method_67302 Lnet/minecraft/class_9360$class_8745;method_67302()Lcom/mojang/serialization/Codec;
      official c Lky$d;c()Lcom/mojang/serialization/Codec;
    • getTypedCodec

      com.mojang.serialization.MapCodec<ComponentPredicate.Typed<T>> getTypedCodec()
      Mappings:
      Namespace Name Mixin selector
      named getTypedCodec Lnet/minecraft/predicate/component/ComponentPredicate$Type;getTypedCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_67305 Lnet/minecraft/class_9360$class_8745;method_67305()Lcom/mojang/serialization/MapCodec;
      official d Lky$d;d()Lcom/mojang/serialization/MapCodec;
    • getTypedPacketCodec

      Mappings:
      Namespace Name Mixin selector
      named getTypedPacketCodec Lnet/minecraft/predicate/component/ComponentPredicate$Type;getTypedPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_68716 Lnet/minecraft/class_9360$class_8745;method_68716()Lnet/minecraft/class_9139;
      official e Lky$d;e()Laat;