Class BeeNestDestroyedTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<BeeNestDestroyedTrigger.TriggerInstance>
net.minecraft.advancements.critereon.BeeNestDestroyedTrigger
- All Implemented Interfaces:
CriterionTrigger<BeeNestDestroyedTrigger.TriggerInstance>
public class BeeNestDestroyedTrigger
extends SimpleCriterionTrigger<BeeNestDestroyedTrigger.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_17490_, EntityPredicate.Composite p_17491_, DeserializationContext p_17492_) private static Block
deserializeBlock
(com.google.gson.JsonObject p_17488_) getId()
void
trigger
(ServerPlayer p_146652_, BlockState p_146653_, ItemStack p_146654_, int p_146655_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
BeeNestDestroyedTrigger
public BeeNestDestroyedTrigger()
-
-
Method Details
-
getId
-
createInstance
public BeeNestDestroyedTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_17490_, EntityPredicate.Composite p_17491_, DeserializationContext p_17492_) - Specified by:
createInstance
in classSimpleCriterionTrigger<BeeNestDestroyedTrigger.TriggerInstance>
-
deserializeBlock
-
trigger
public void trigger(ServerPlayer p_146652_, BlockState p_146653_, ItemStack p_146654_, int p_146655_)
-