Class DefaultBlockInteractionTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<DefaultBlockInteractionTrigger.TriggerInstance>
net.minecraft.advancements.critereon.DefaultBlockInteractionTrigger
- All Implemented Interfaces:
CriterionTrigger<DefaultBlockInteractionTrigger.TriggerInstance>
public class DefaultBlockInteractionTrigger
extends SimpleCriterionTrigger<DefaultBlockInteractionTrigger.TriggerInstance>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<DefaultBlockInteractionTrigger.TriggerInstance> codec()
void
trigger
(ServerPlayer p_320398_, BlockPos p_320593_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
DefaultBlockInteractionTrigger
public DefaultBlockInteractionTrigger()
-
-
Method Details
-
codec
-
trigger
-