Class PlacedBlockTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<PlacedBlockTrigger.TriggerInstance>
net.minecraft.advancements.critereon.PlacedBlockTrigger
- All Implemented Interfaces:
CriterionTrigger<PlacedBlockTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.google.gson.JsonObject p_59485_, EntityPredicate.Composite p_59486_, DeserializationContext p_59487_)
private static Block
deserializeBlock(com.google.gson.JsonObject p_59483_)
getId()
void
trigger(ServerPlayer p_59470_, BlockPos p_59471_, ItemStack p_59472_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
PlacedBlockTrigger
public PlacedBlockTrigger()
-
-
Method Details
-
getId
-
createInstance
public PlacedBlockTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_59485_, EntityPredicate.Composite p_59486_, DeserializationContext p_59487_)- Specified by:
createInstance
in classSimpleCriterionTrigger<PlacedBlockTrigger.TriggerInstance>
-
deserializeBlock
-
trigger
-