Class EntityTypePredicate.Single

java.lang.Object
net.minecraft.predicate.entity.EntityTypePredicate
net.minecraft.predicate.entity.EntityTypePredicate.Single
Enclosing class:
EntityTypePredicate

private static class EntityTypePredicate.Single extends EntityTypePredicate
Mappings:
Namespace Name
official bn$b
intermediary net/minecraft/class_2050$class_2052
named net/minecraft/predicate/entity/EntityTypePredicate$Single
  • Field Details

    • type

      private final EntityType<?> type
      Mappings:
      Namespace Name Mixin selector
      official b Lbn$b;b:Latj;
      intermediary field_9611 Lnet/minecraft/class_2050$class_2052;field_9611:Lnet/minecraft/class_1299;
      named type Lnet/minecraft/predicate/entity/EntityTypePredicate$Single;type:Lnet/minecraft/entity/EntityType;
  • Constructor Details

    • Single

      public Single(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbn$b;<init>(Latj;)V
      intermediary <init> Lnet/minecraft/class_2050$class_2052;<init>(Lnet/minecraft/class_1299;)V
      named <init> Lnet/minecraft/predicate/entity/EntityTypePredicate$Single;<init>(Lnet/minecraft/entity/EntityType;)V
  • Method Details

    • matches

      public boolean matches(EntityType<?> type)
      Specified by:
      matches in class EntityTypePredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lbn;a(Latj;)Z
      intermediary method_8925 Lnet/minecraft/class_2050;method_8925(Lnet/minecraft/class_1299;)Z
      named matches Lnet/minecraft/predicate/entity/EntityTypePredicate;matches(Lnet/minecraft/entity/EntityType;)Z
    • toJson

      public JsonElement toJson()
      Specified by:
      toJson in class EntityTypePredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lbn;a()Lcom/google/gson/JsonElement;
      intermediary method_8927 Lnet/minecraft/class_2050;method_8927()Lcom/google/gson/JsonElement;
      named toJson Lnet/minecraft/predicate/entity/EntityTypePredicate;toJson()Lcom/google/gson/JsonElement;