Package net.minecraft.advancements
Interface CriterionTrigger<T extends CriterionTriggerInstance>
- All Known Implementing Classes:
BeeNestDestroyedTrigger
,BredAnimalsTrigger
,BrewedPotionTrigger
,ChangeDimensionTrigger
,ChanneledLightningTrigger
,ConstructBeaconTrigger
,ConsumeItemTrigger
,CuredZombieVillagerTrigger
,DistanceTrigger
,EffectsChangedTrigger
,EnchantedItemTrigger
,EnterBlockTrigger
,EntityHurtPlayerTrigger
,FilledBucketTrigger
,FishingRodHookedTrigger
,ImpossibleTrigger
,InventoryChangeTrigger
,ItemDurabilityTrigger
,ItemUsedOnLocationTrigger
,KilledByCrossbowTrigger
,KilledTrigger
,LevitationTrigger
,LightningStrikeTrigger
,LootTableTrigger
,PickedUpItemTrigger
,PlayerHurtEntityTrigger
,PlayerInteractTrigger
,PlayerTrigger
,RecipeCraftedTrigger
,RecipeUnlockedTrigger
,ShotCrossbowTrigger
,SimpleCriterionTrigger
,SlideDownBlockTrigger
,StartRidingTrigger
,SummonedEntityTrigger
,TameAnimalTrigger
,TargetBlockTrigger
,TradeTrigger
,UsedEnderEyeTrigger
,UsedTotemTrigger
,UsingItemTrigger
public interface CriterionTrigger<T extends CriterionTriggerInstance>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayerListener
(PlayerAdvancements p_13674_, CriterionTrigger.Listener<T> p_13675_) createCriterion
(T p_299598_) createInstance
(com.google.gson.JsonObject p_13671_, DeserializationContext p_13672_) void
removePlayerListener
(PlayerAdvancements p_13676_, CriterionTrigger.Listener<T> p_13677_) void
removePlayerListeners
(PlayerAdvancements p_13673_)
-
Method Details
-
addPlayerListener
-
removePlayerListener
-
removePlayerListeners
-
createInstance
-
createCriterion
-