Class LocationTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.LocationTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- LocationTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance(ResourceLocation p_53662_, EntityPredicate.Composite p_53663_, LocationPredicate p_53664_)
-
Method Summary
Modifier and TypeMethodDescriptionlocated(EntityPredicate p_154321_)
located(LocationPredicate p_53671_)
boolean
matches(ServerLevel p_53666_, double p_53667_, double p_53668_, double p_53669_)
raidWon()
com.google.gson.JsonObject
serializeToJson(SerializationContext p_53673_)
walkOnBlockWithEquipment(Block p_154323_, Item p_154324_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
location
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(ResourceLocation p_53662_, EntityPredicate.Composite p_53663_, LocationPredicate p_53664_)
-
-
Method Details
-
located
-
located
-
sleptInBed
-
raidWon
-
walkOnBlockWithEquipment
public static LocationTrigger.TriggerInstance walkOnBlockWithEquipment(Block p_154323_, Item p_154324_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-