类 EntityTypePredicate.Single
- java.lang.Object
-
- net.minecraft.predicate.entity.EntityTypePredicate
-
- net.minecraft.predicate.entity.EntityTypePredicate.Single
-
- 封闭类:
- EntityTypePredicate
static class EntityTypePredicate.Single extends EntityTypePredicate
- Mappings:
Namespace Name official bm$bintermediary net/minecraft/class_2050$class_2052named net/minecraft/predicate/entity/EntityTypePredicate$Single
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.predicate.entity.EntityTypePredicate
EntityTypePredicate.Single, EntityTypePredicate.Tagged
-
-
字段概要
字段 修饰符和类型 字段 说明 private EntityType<?>type-
从类继承的字段 net.minecraft.predicate.entity.EntityTypePredicate
ANY
-
-
构造器概要
构造器 构造器 说明 Single(EntityType<?> type)
-
-
-
字段详细资料
-
type
private final EntityType<?> type
- Mappings:
Namespace Name Mixin selector official bLbm$b;b:Lasp;intermediary field_9611Lnet/minecraft/class_2050$class_2052;field_9611:Lnet/minecraft/class_1299;named typeLnet/minecraft/predicate/entity/EntityTypePredicate$Single;type:Lnet/minecraft/entity/EntityType;
-
-
构造器详细资料
-
Single
public Single(EntityType<?> type)
- Mappings:
Namespace Name Mixin selector official <init>Lbm$b;<init>(Lasp;)Vintermediary <init>Lnet/minecraft/class_2050$class_2052;<init>(Lnet/minecraft/class_1299;)Vnamed <init>Lnet/minecraft/predicate/entity/EntityTypePredicate$Single;<init>(Lnet/minecraft/entity/EntityType;)V
-
-
方法详细资料
-
matches
public boolean matches(EntityType<?> type)
- 指定者:
matches在类中EntityTypePredicate- Mappings:
Namespace Name Mixin selector official aLbm;a(Lasp;)Zintermediary method_8925Lnet/minecraft/class_2050;method_8925(Lnet/minecraft/class_1299;)Znamed matchesLnet/minecraft/predicate/entity/EntityTypePredicate;matches(Lnet/minecraft/entity/EntityType;)Z
-
toJson
public JsonElement toJson()
- 指定者:
toJson在类中EntityTypePredicate- Mappings:
Namespace Name Mixin selector official aLbm;a()Lcom/google/gson/JsonElement;intermediary method_8927Lnet/minecraft/class_2050;method_8927()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/predicate/entity/EntityTypePredicate;toJson()Lcom/google/gson/JsonElement;
-
-