Class EntitySubPredicateTypes

java.lang.Object
net.minecraft.predicate.entity.EntitySubPredicateTypes

public class EntitySubPredicateTypes extends Object
Mappings:
Namespace Name
named net/minecraft/predicate/entity/EntitySubPredicateTypes
intermediary net/minecraft/class_7378
official by
  • Field Details

    • LIGHTNING

      public static final com.mojang.serialization.MapCodec<LightningBoltPredicate> LIGHTNING
      Mappings:
      Namespace Name Mixin selector
      named LIGHTNING Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;LIGHTNING:Lcom/mojang/serialization/MapCodec;
      intermediary field_38725 Lnet/minecraft/class_7378;field_38725:Lcom/mojang/serialization/MapCodec;
      official a Lby;a:Lcom/mojang/serialization/MapCodec;
    • FISHING_HOOK

      public static final com.mojang.serialization.MapCodec<FishingHookPredicate> FISHING_HOOK
      Mappings:
      Namespace Name Mixin selector
      named FISHING_HOOK Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;FISHING_HOOK:Lcom/mojang/serialization/MapCodec;
      intermediary field_38726 Lnet/minecraft/class_7378;field_38726:Lcom/mojang/serialization/MapCodec;
      official b Lby;b:Lcom/mojang/serialization/MapCodec;
    • PLAYER

      public static final com.mojang.serialization.MapCodec<PlayerPredicate> PLAYER
      Mappings:
      Namespace Name Mixin selector
      named PLAYER Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;PLAYER:Lcom/mojang/serialization/MapCodec;
      intermediary field_38727 Lnet/minecraft/class_7378;field_38727:Lcom/mojang/serialization/MapCodec;
      official c Lby;c:Lcom/mojang/serialization/MapCodec;
    • SLIME

      public static final com.mojang.serialization.MapCodec<SlimePredicate> SLIME
      Mappings:
      Namespace Name Mixin selector
      named SLIME Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;SLIME:Lcom/mojang/serialization/MapCodec;
      intermediary field_38728 Lnet/minecraft/class_7378;field_38728:Lcom/mojang/serialization/MapCodec;
      official d Lby;d:Lcom/mojang/serialization/MapCodec;
    • RAIDER

      public static final com.mojang.serialization.MapCodec<RaiderPredicate> RAIDER
      Mappings:
      Namespace Name Mixin selector
      named RAIDER Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;RAIDER:Lcom/mojang/serialization/MapCodec;
      intermediary field_50135 Lnet/minecraft/class_7378;field_50135:Lcom/mojang/serialization/MapCodec;
      official e Lby;e:Lcom/mojang/serialization/MapCodec;
    • SHEEP

      public static final com.mojang.serialization.MapCodec<SheepPredicate> SHEEP
      Mappings:
      Namespace Name Mixin selector
      named SHEEP Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;SHEEP:Lcom/mojang/serialization/MapCodec;
      intermediary field_53974 Lnet/minecraft/class_7378;field_53974:Lcom/mojang/serialization/MapCodec;
      official f Lby;f:Lcom/mojang/serialization/MapCodec;
    • AXOLOTL

      Mappings:
      Namespace Name Mixin selector
      named AXOLOTL Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;AXOLOTL:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41534 Lnet/minecraft/class_7378;field_41534:Lnet/minecraft/class_7378$class_7380;
      official g Lby;g:Lby$b;
    • FOX

      Mappings:
      Namespace Name Mixin selector
      named FOX Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;FOX:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41536 Lnet/minecraft/class_7378;field_41536:Lnet/minecraft/class_7378$class_7380;
      official h Lby;h:Lby$b;
    • MOOSHROOM

      Mappings:
      Namespace Name Mixin selector
      named MOOSHROOM Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;MOOSHROOM:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41537 Lnet/minecraft/class_7378;field_41537:Lnet/minecraft/class_7378$class_7380;
      official i Lby;i:Lby$b;
    • RABBIT

      Mappings:
      Namespace Name Mixin selector
      named RABBIT Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;RABBIT:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41539 Lnet/minecraft/class_7378;field_41539:Lnet/minecraft/class_7378$class_7380;
      official j Lby;j:Lby$b;
    • HORSE

      public static final EntitySubPredicateTypes.VariantType<HorseColor> HORSE
      Mappings:
      Namespace Name Mixin selector
      named HORSE Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;HORSE:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41540 Lnet/minecraft/class_7378;field_41540:Lnet/minecraft/class_7378$class_7380;
      official k Lby;k:Lby$b;
    • LLAMA

      Mappings:
      Namespace Name Mixin selector
      named LLAMA Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;LLAMA:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41541 Lnet/minecraft/class_7378;field_41541:Lnet/minecraft/class_7378$class_7380;
      official l Lby;l:Lby$b;
    • VILLAGER

      public static final EntitySubPredicateTypes.VariantType<VillagerType> VILLAGER
      Mappings:
      Namespace Name Mixin selector
      named VILLAGER Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;VILLAGER:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41542 Lnet/minecraft/class_7378;field_41542:Lnet/minecraft/class_7378$class_7380;
      official m Lby;m:Lby$b;
    • PARROT

      Mappings:
      Namespace Name Mixin selector
      named PARROT Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;PARROT:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41543 Lnet/minecraft/class_7378;field_41543:Lnet/minecraft/class_7378$class_7380;
      official n Lby;n:Lby$b;
    • SALMON

      Mappings:
      Namespace Name Mixin selector
      named SALMON Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;SALMON:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_54227 Lnet/minecraft/class_7378;field_54227:Lnet/minecraft/class_7378$class_7380;
      official o Lby;o:Lby$b;
    • TROPICAL_FISH

      Mappings:
      Namespace Name Mixin selector
      named TROPICAL_FISH Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;TROPICAL_FISH:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary field_41544 Lnet/minecraft/class_7378;field_41544:Lnet/minecraft/class_7378$class_7380;
      official p Lby;p:Lby$b;
    • PAINTING

      Mappings:
      Namespace Name Mixin selector
      named PAINTING Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;PAINTING:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;
      intermediary field_41538 Lnet/minecraft/class_7378;field_41538:Lnet/minecraft/class_7378$class_9419;
      official q Lby;q:Lby$a;
    • CAT

      Mappings:
      Namespace Name Mixin selector
      named CAT Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;CAT:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;
      intermediary field_38729 Lnet/minecraft/class_7378;field_38729:Lnet/minecraft/class_7378$class_9419;
      official r Lby;r:Lby$a;
    • FROG

      Mappings:
      Namespace Name Mixin selector
      named FROG Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;FROG:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;
      intermediary field_38730 Lnet/minecraft/class_7378;field_38730:Lnet/minecraft/class_7378$class_9419;
      official s Lby;s:Lby$a;
    • WOLF

      Mappings:
      Namespace Name Mixin selector
      named WOLF Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;WOLF:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;
      intermediary field_49973 Lnet/minecraft/class_7378;field_49973:Lnet/minecraft/class_7378$class_9419;
      official t Lby;t:Lby$a;
  • Constructor Details

    • EntitySubPredicateTypes

      public EntitySubPredicateTypes()
  • Method Details

    • register

      private static <T extends EntitySubPredicate> com.mojang.serialization.MapCodec<T> register(String id, com.mojang.serialization.MapCodec<T> codec)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;register(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;
      intermediary method_58156 Lnet/minecraft/class_7378;method_58156(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;
      official a Lby;a(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;
    • register

      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;register(Ljava/lang/String;Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;)Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
      intermediary method_58155 Lnet/minecraft/class_7378;method_58155(Ljava/lang/String;Lnet/minecraft/class_7378$class_7380;)Lnet/minecraft/class_7378$class_7380;
      official a Lby;a(Ljava/lang/String;Lby$b;)Lby$b;
    • register

      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;register(Ljava/lang/String;Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;)Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;
      intermediary method_58352 Lnet/minecraft/class_7378;method_58352(Ljava/lang/String;Lnet/minecraft/class_7378$class_9419;)Lnet/minecraft/class_7378$class_9419;
      official a Lby;a(Ljava/lang/String;Lby$a;)Lby$a;
    • getDefault

      public static com.mojang.serialization.MapCodec<? extends EntitySubPredicate> getDefault(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> registry)
      Mappings:
      Namespace Name Mixin selector
      named getDefault Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;getDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
      intermediary method_58157 Lnet/minecraft/class_7378;method_58157(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
      official a Lby;a(Lkd;)Lcom/mojang/serialization/MapCodec;
    • catVariant

      public static EntitySubPredicate catVariant(RegistryEntry<CatVariant> catVariant)
      Mappings:
      Namespace Name Mixin selector
      named catVariant Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;catVariant(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/predicate/entity/EntitySubPredicate;
      intermediary method_58153 Lnet/minecraft/class_7378;method_58153(Lnet/minecraft/class_6880;)Lnet/minecraft/class_7376;
      official a Lby;a(Ljq;)Lbx;
    • frogVariant

      public static EntitySubPredicate frogVariant(RegistryEntry<FrogVariant> frogVariant)
      Mappings:
      Namespace Name Mixin selector
      named frogVariant Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;frogVariant(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/predicate/entity/EntitySubPredicate;
      intermediary method_58154 Lnet/minecraft/class_7378;method_58154(Lnet/minecraft/class_6880;)Lnet/minecraft/class_7376;
      official b Lby;b(Ljq;)Lbx;
    • wolfVariant

      public static EntitySubPredicate wolfVariant(RegistryEntryList<WolfVariant> wolfVariant)
      Mappings:
      Namespace Name Mixin selector
      named wolfVariant Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;wolfVariant(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/predicate/entity/EntitySubPredicate;
      intermediary method_59667 Lnet/minecraft/class_7378;method_59667(Lnet/minecraft/class_6885;)Lnet/minecraft/class_7376;
      official a Lby;a(Lju;)Lbx;