Class SlideDownBlockTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.SlideDownBlockTrigger.TriggerInstance
- All Implemented Interfaces:
SimpleCriterionTrigger.SimpleInstance
,CriterionTriggerInstance
- Enclosing class:
SlideDownBlockTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
private final Optional<StatePropertiesPredicate>
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> p_298510_, Block p_286622_, Optional<StatePropertiesPredicate> p_299110_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(BlockState p_67009_) com.google.gson.JsonObject
slidesDownBlock
(Block p_67007_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
playerPredicate
-
Field Details
-
block
-
state
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(Optional<ContextAwarePredicate> p_298510_, @Nullable Block p_286622_, Optional<StatePropertiesPredicate> p_299110_)
-
-
Method Details
-
slidesDownBlock
-
serializeToJson
public com.google.gson.JsonObject serializeToJson()- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-
matches
-