Class SlideDownBlockTrigger.Instance
- java.lang.Object
-
- net.minecraft.advancements.criterion.CriterionInstance
-
- net.minecraft.advancements.criterion.SlideDownBlockTrigger.Instance
-
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- SlideDownBlockTrigger
public static class SlideDownBlockTrigger.Instance extends CriterionInstance
-
-
Field Summary
Fields Modifier and Type Field Description private Block
block
private StatePropertiesPredicate
state
-
Constructor Summary
Constructors Constructor Description Instance(EntityPredicate.AndPredicate p_i231896_1_, Block p_i231896_2_, StatePropertiesPredicate p_i231896_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(BlockState p_227157_1_)
com.google.gson.JsonObject
serializeToJson(ConditionArraySerializer p_230240_1_)
static SlideDownBlockTrigger.Instance
slidesDownBlock(Block p_227156_0_)
-
Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
-
-
-
Field Detail
-
block
private final Block block
-
state
private final StatePropertiesPredicate state
-
-
Constructor Detail
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231896_1_, @Nullable Block p_i231896_2_, StatePropertiesPredicate p_i231896_3_)
-
-
Method Detail
-
slidesDownBlock
public static SlideDownBlockTrigger.Instance slidesDownBlock(Block p_227156_0_)
-
serializeToJson
public com.google.gson.JsonObject serializeToJson(ConditionArraySerializer p_230240_1_)
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-
matches
public boolean matches(BlockState p_227157_1_)
-
-