Class SlimePredicate
java.lang.Object
net.minecraft.advancements.critereon.SlimePredicate
- All Implemented Interfaces:
EntitySubPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.critereon.EntitySubPredicate
EntitySubPredicate.Type, EntitySubPredicate.Types
-
Field Summary
Fields inherited from interface net.minecraft.advancements.critereon.EntitySubPredicate
ANY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SlimePredicate
fromJson
(com.google.gson.JsonObject p_223429_) boolean
matches
(Entity p_223423_, ServerLevel p_223424_, Vec3 p_223425_) com.google.gson.JsonObject
static SlimePredicate
sized
(MinMaxBounds.Ints p_223427_) type()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.critereon.EntitySubPredicate
serialize
-
Field Details
-
size
-
-
Constructor Details
-
SlimePredicate
-
-
Method Details
-
sized
-
fromJson
-
serializeCustomData
public com.google.gson.JsonObject serializeCustomData()- Specified by:
serializeCustomData
in interfaceEntitySubPredicate
-
matches
- Specified by:
matches
in interfaceEntitySubPredicate
-
type
- Specified by:
type
in interfaceEntitySubPredicate
-