Package net.minecraft.advancements
Interface ICriterionTrigger<T extends ICriterionInstance>
- All Known Implementing Classes:
AbstractCriterionTrigger
,BeeNestDestroyedTrigger
,BredAnimalsTrigger
,BrewedPotionTrigger
,ChangeDimensionTrigger
,ChanneledLightningTrigger
,ConstructBeaconTrigger
,ConsumeItemTrigger
,CuredZombieVillagerTrigger
,EffectsChangedTrigger
,EnchantedItemTrigger
,EnterBlockTrigger
,EntityHurtPlayerTrigger
,FilledBucketTrigger
,FishingRodHookedTrigger
,ImpossibleTrigger
,InventoryChangeTrigger
,ItemDurabilityTrigger
,KilledByCrossbowTrigger
,KilledTrigger
,LevitationTrigger
,NetherTravelTrigger
,PlacedBlockTrigger
,PlayerEntityInteractionTrigger
,PlayerGeneratesContainerLootTrigger
,PlayerHurtEntityTrigger
,PositionTrigger
,RecipeUnlockedTrigger
,RightClickBlockWithItemTrigger
,ShotCrossbowTrigger
,SlideDownBlockTrigger
,SummonedEntityTrigger
,TameAnimalTrigger
,TargetHitTrigger
,ThrownItemPickedUpByEntityTrigger
,TickTrigger
,UsedEnderEyeTrigger
,UsedTotemTrigger
,VillagerTradeTrigger
public interface ICriterionTrigger<T extends ICriterionInstance>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayerListener
(PlayerAdvancements p_192165_1_, ICriterionTrigger.Listener<T> p_192165_2_) createInstance
(com.google.gson.JsonObject p_230307_1_, ConditionArrayParser p_230307_2_) getId()
void
removePlayerListener
(PlayerAdvancements p_192164_1_, ICriterionTrigger.Listener<T> p_192164_2_) void
removePlayerListeners
(PlayerAdvancements p_192167_1_)
-
Method Details
-
getId
ResourceLocation getId() -
addPlayerListener
-
removePlayerListener
void removePlayerListener(PlayerAdvancements p_192164_1_, ICriterionTrigger.Listener<T> p_192164_2_) -
removePlayerListeners
-
createInstance
-