Package net.minecraft.predicate.entity
Interface TypeSpecificPredicate
- All Known Implementing Classes:
FishingHookPredicate
,LightningBoltPredicate
,PlayerPredicate
,SlimePredicate
,VariantPredicates.Predicate
public interface TypeSpecificPredicate
- Mappings:
Namespace Name official br
intermediary net/minecraft/class_7376
named net/minecraft/predicate/entity/TypeSpecificPredicate
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TypeSpecificPredicate>
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeSpecificPredicate
cat
(CatVariant variant) static TypeSpecificPredicate
frog
(FrogVariant variant) boolean
test
(Entity entity, ServerWorld world, @Nullable Vec3d pos) type()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbr;a:Lcom/mojang/serialization/Codec;
intermediary field_45747
Lnet/minecraft/class_7376;field_45747:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;CODEC:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lbiq;Lakq;Lehn;)Z
intermediary method_22497
Lnet/minecraft/class_7376;method_22497(Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Z
named test
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;test(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
-
type
TypeSpecificPredicate.Type type()- Mappings:
Namespace Name Mixin selector official a
Lbr;a()Lbr$a;
intermediary comp_1776
Lnet/minecraft/class_7376;comp_1776()Lnet/minecraft/class_7376$class_8745;
named type
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;type()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Type;
-
cat
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lbuv;)Lbr;
intermediary method_43095
Lnet/minecraft/class_7376;method_43095(Lnet/minecraft/class_7375;)Lnet/minecraft/class_7376;
named cat
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;cat(Lnet/minecraft/entity/passive/CatVariant;)Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
-
frog
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lbvc;)Lbr;
intermediary method_43096
Lnet/minecraft/class_7376;method_43096(Lnet/minecraft/class_7106;)Lnet/minecraft/class_7376;
named frog
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;frog(Lnet/minecraft/entity/passive/FrogVariant;)Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
-