Class LighthingBoltPredicate
java.lang.Object
net.minecraft.advancements.critereon.LighthingBoltPredicate
- All Implemented Interfaces:
EntitySubPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.critereon.EntitySubPredicate
EntitySubPredicate.Type, EntitySubPredicate.Types
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private final MinMaxBounds.Ints
private static final String
private final EntityPredicate
Fields inherited from interface net.minecraft.advancements.critereon.EntitySubPredicate
ANY
-
Constructor Summary
ModifierConstructorDescriptionprivate
LighthingBoltPredicate
(MinMaxBounds.Ints p_153239_, EntityPredicate p_153240_) -
Method Summary
Modifier and TypeMethodDescriptionstatic LighthingBoltPredicate
blockSetOnFire
(MinMaxBounds.Ints p_153251_) static LighthingBoltPredicate
fromJson
(com.google.gson.JsonObject p_220333_) boolean
matches
(Entity p_153247_, ServerLevel p_153248_, Vec3 p_153249_) com.google.gson.JsonObject
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
-
BLOCKS_SET_ON_FIRE_KEY
- See Also:
-
ENTITY_STRUCK_KEY
- See Also:
-
blocksSetOnFire
-
entityStruck
-
-
Constructor Details
-
LighthingBoltPredicate
-
-
Method Details
-
blockSetOnFire
-
fromJson
-
serializeCustomData
public com.google.gson.JsonObject serializeCustomData()- Specified by:
serializeCustomData
in interfaceEntitySubPredicate
-
type
- Specified by:
type
in interfaceEntitySubPredicate
-
matches
- Specified by:
matches
in interfaceEntitySubPredicate
-