Package net.minecraft.predicate.entity
Class EntitySubPredicateTypes
java.lang.Object
net.minecraft.predicate.entity.EntitySubPredicateTypes
- Mappings:
Namespace Name named net/minecraft/predicate/entity/EntitySubPredicateTypes
intermediary net/minecraft/class_7378
official bw
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntitySubPredicateTypes.VariantType
<AxolotlEntity.Variant> static final EntitySubPredicateTypes.VariantType
<BoatEntity.Type> static final EntitySubPredicateTypes.DynamicVariantType
<CatVariant> static final com.mojang.serialization.MapCodec
<FishingHookPredicate> static final EntitySubPredicateTypes.VariantType
<FoxEntity.Type> static final EntitySubPredicateTypes.DynamicVariantType
<FrogVariant> static final EntitySubPredicateTypes.VariantType
<HorseColor> static final com.mojang.serialization.MapCodec
<LightningBoltPredicate> static final EntitySubPredicateTypes.VariantType
<LlamaEntity.Variant> static final EntitySubPredicateTypes.VariantType
<MooshroomEntity.Type> static final EntitySubPredicateTypes.DynamicVariantType
<PaintingVariant> static final EntitySubPredicateTypes.VariantType
<ParrotEntity.Variant> static final com.mojang.serialization.MapCodec
<PlayerPredicate> static final EntitySubPredicateTypes.VariantType
<RabbitEntity.RabbitType> static final com.mojang.serialization.MapCodec
<RaiderPredicate> static final com.mojang.serialization.MapCodec
<SlimePredicate> static final EntitySubPredicateTypes.VariantType
<VillagerType> static final EntitySubPredicateTypes.DynamicVariantType
<WolfVariant> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntitySubPredicate
catVariant
(RegistryEntry<CatVariant> catVariant) static EntitySubPredicate
frogVariant
(RegistryEntry<FrogVariant> frogVariant) static com.mojang.serialization.MapCodec
<? extends EntitySubPredicate> getDefault
(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> registry) private static <T extends EntitySubPredicate>
com.mojang.serialization.MapCodec<T> private static <V> EntitySubPredicateTypes.DynamicVariantType
<V> register
(String id, EntitySubPredicateTypes.DynamicVariantType<V> type) private static <V> EntitySubPredicateTypes.VariantType
<V> register
(String id, EntitySubPredicateTypes.VariantType<V> type) static EntitySubPredicate
wolfVariant
(RegistryEntryList<WolfVariant> wolfVariant)
-
Field Details
-
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
Lbw;a:Lcom/mojang/serialization/MapCodec;
-
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
Lbw;b:Lcom/mojang/serialization/MapCodec;
-
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
Lbw;c:Lcom/mojang/serialization/MapCodec;
-
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
Lbw;d:Lcom/mojang/serialization/MapCodec;
-
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
Lbw;e: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 f
Lbw;f:Lbw$b;
-
BOAT
- Mappings:
Namespace Name Mixin selector named BOAT
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes;BOAT:Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
intermediary field_41535
Lnet/minecraft/class_7378;field_41535:Lnet/minecraft/class_7378$class_7380;
official g
Lbw;g:Lbw$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
Lbw;h:Lbw$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
Lbw;i:Lbw$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
Lbw;j:Lbw$b;
-
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
Lbw;k:Lbw$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
Lbw;l:Lbw$b;
-
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
Lbw;m:Lbw$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
Lbw;n:Lbw$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 o
Lbw;o:Lbw$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 p
Lbw;p:Lbw$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 q
Lbw;q:Lbw$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 r
Lbw;r:Lbw$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 s
Lbw;s:Lbw$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
Lbw;a(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec;
-
register
private static <V> EntitySubPredicateTypes.VariantType<V> register(String id, EntitySubPredicateTypes.VariantType<V> type) - 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
Lbw;a(Ljava/lang/String;Lbw$b;)Lbw$b;
-
register
private static <V> EntitySubPredicateTypes.DynamicVariantType<V> register(String id, EntitySubPredicateTypes.DynamicVariantType<V> type) - 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
Lbw;a(Ljava/lang/String;Lbw$a;)Lbw$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
Lbw;a(Ljw;)Lcom/mojang/serialization/MapCodec;
-
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
Lbw;a(Ljj;)Lbv;
-
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
Lbw;b(Ljj;)Lbv;
-
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
Lbw;a(Ljn;)Lbv;
-