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 bx
-
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
Lbx;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
Lbx;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
Lbx;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
Lbx;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
Lbx;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
Lbx;f:Lbx$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
Lbx;g:Lbx$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
Lbx;h:Lbx$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
Lbx;i:Lbx$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
Lbx;j:Lbx$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
Lbx;k:Lbx$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
Lbx;l:Lbx$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
Lbx;m:Lbx$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
Lbx;n:Lbx$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
Lbx;o:Lbx$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
Lbx;p:Lbx$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
Lbx;q:Lbx$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
Lbx;r:Lbx$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
Lbx;s:Lbx$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
Lbx;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
Lbx;a(Ljava/lang/String;Lbx$b;)Lbx$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
Lbx;a(Ljava/lang/String;Lbx$a;)Lbx$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
Lbx;a(Ljz;)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
Lbx;a(Ljm;)Lbw;
-
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
Lbx;b(Ljm;)Lbw;
-
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
Lbx;a(Ljq;)Lbw;
-