Class PlacedBlockTrigger
java.lang.Object
net.minecraft.advancements.criterion.AbstractCriterionTrigger<PlacedBlockTrigger.Instance>
net.minecraft.advancements.criterion.PlacedBlockTrigger
- All Implemented Interfaces:
ICriterionTrigger<PlacedBlockTrigger.Instance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) private static Block
deserializeBlock
(com.google.gson.JsonObject p_226950_0_) getId()
void
trigger
(ServerPlayerEntity p_193173_1_, BlockPos p_193173_2_, ItemStack p_193173_3_) Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
PlacedBlockTrigger
public PlacedBlockTrigger()
-
-
Method Details
-
getId
-
createInstance
public PlacedBlockTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) - Specified by:
createInstance
in classAbstractCriterionTrigger<PlacedBlockTrigger.Instance>
-
deserializeBlock
-
trigger
-