Class SlideDownBlockTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.SlideDownBlockTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- SlideDownBlockTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(EntityPredicate.Composite p_67003_, Block p_67004_, StatePropertiesPredicate p_67005_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(BlockState p_67009_) com.google.gson.JsonObject
serializeToJson
(SerializationContext p_67011_) slidesDownBlock
(Block p_67007_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
block
-
state
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(EntityPredicate.Composite p_67003_, @Nullable Block p_67004_, StatePropertiesPredicate p_67005_)
-
-
Method Details
-
slidesDownBlock
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-
matches
-