Class SlimePredicate

java.lang.Object
net.minecraft.predicate.entity.SlimePredicate
All Implemented Interfaces:
TypeSpecificPredicate

public class SlimePredicate extends Object implements TypeSpecificPredicate
Mappings:
Namespace Name
official cx
intermediary net/minecraft/class_7383
named net/minecraft/predicate/entity/SlimePredicate
  • Field Details

    • size

      private final NumberRange.IntRange size
      Mappings:
      Namespace Name Mixin selector
      official b Lcx;b:Lcj$d;
      intermediary field_38759 Lnet/minecraft/class_7383;field_38759:Lnet/minecraft/class_2096$class_2100;
      named size Lnet/minecraft/predicate/entity/SlimePredicate;size:Lnet/minecraft/predicate/NumberRange$IntRange;
  • Constructor Details

    • SlimePredicate

      private SlimePredicate(NumberRange.IntRange size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcx;<init>(Lcj$d;)V
      intermediary <init> Lnet/minecraft/class_7383;<init>(Lnet/minecraft/class_2096$class_2100;)V
      named <init> Lnet/minecraft/predicate/entity/SlimePredicate;<init>(Lnet/minecraft/predicate/NumberRange$IntRange;)V
  • Method Details

    • of

      public static SlimePredicate of(NumberRange.IntRange size)
      Mappings:
      Namespace Name Mixin selector
      official a Lcx;a(Lcj$d;)Lcx;
      intermediary method_43157 Lnet/minecraft/class_7383;method_43157(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_7383;
      named of Lnet/minecraft/predicate/entity/SlimePredicate;of(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/entity/SlimePredicate;
    • fromJson

      public static SlimePredicate fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lcx;a(Lcom/google/gson/JsonObject;)Lcx;
      intermediary method_43158 Lnet/minecraft/class_7383;method_43158(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_7383;
      named fromJson Lnet/minecraft/predicate/entity/SlimePredicate;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/predicate/entity/SlimePredicate;
    • typeSpecificToJson

      public JsonObject typeSpecificToJson()
      Specified by:
      typeSpecificToJson in interface TypeSpecificPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lbp;a()Lcom/google/gson/JsonObject;
      intermediary method_22494 Lnet/minecraft/class_7376;method_22494()Lcom/google/gson/JsonObject;
      named typeSpecificToJson Lnet/minecraft/predicate/entity/TypeSpecificPredicate;typeSpecificToJson()Lcom/google/gson/JsonObject;
    • test

      public boolean test(Entity entity, ServerWorld world, @Nullable @Nullable Vec3d pos)
      Specified by:
      test in interface TypeSpecificPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lbp;a(Lbfd;Laid;Ledu;)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
    • getDeserializer

      public TypeSpecificPredicate.Deserializer getDeserializer()
      Specified by:
      getDeserializer in interface TypeSpecificPredicate
      Mappings:
      Namespace Name Mixin selector
      official c Lbp;c()Lbp$a;
      intermediary method_43099 Lnet/minecraft/class_7376;method_43099()Lnet/minecraft/class_7376$class_7377;
      named getDeserializer Lnet/minecraft/predicate/entity/TypeSpecificPredicate;getDeserializer()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Deserializer;