Class ModItemObtainedTrigger.Instance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
org.cyclops.cyclopscore.advancement.criterion.ModItemObtainedTrigger.Instance
- All Implemented Interfaces:
net.minecraft.advancements.CriterionTriggerInstance
,ICriterionInstanceTestable<net.minecraft.world.item.ItemStack>
- Enclosing class:
- ModItemObtainedTrigger
public static class ModItemObtainedTrigger.Instance
extends net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
implements ICriterionInstanceTestable<net.minecraft.world.item.ItemStack>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack itemStack) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, serializeToJson, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTriggerInstance
getCriterion, serializeToJson
-
Constructor Details
-
Instance
public Instance(net.minecraft.resources.ResourceLocation criterionIn, net.minecraft.advancements.critereon.ContextAwarePredicate player, String modId)
-
-
Method Details
-
test
public boolean test(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack itemStack) - Specified by:
test
in interfaceICriterionInstanceTestable<net.minecraft.world.item.ItemStack>
-