Interface EntitySubPredicate
- All Known Implementing Classes:
FishingHookPredicate
,LighthingBoltPredicate
,PlayerPredicate
,SlimePredicate
public interface EntitySubPredicate
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static final class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntitySubPredicate
fromJson
(com.google.gson.JsonElement p_218836_) boolean
matches
(Entity p_218828_, ServerLevel p_218829_, Vec3 p_218830_) default com.google.gson.JsonElement
com.google.gson.JsonObject
type()
static EntitySubPredicate
variant
(CatVariant p_218832_) static EntitySubPredicate
variant
(FrogVariant p_218834_)
-
Field Details
-
ANY
-
-
Method Details
-
fromJson
-
matches
-
serializeCustomData
com.google.gson.JsonObject serializeCustomData() -
serialize
default com.google.gson.JsonElement serialize() -
type
EntitySubPredicate.Type type() -
variant
-
variant
-