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