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
Nested Classes Modifier and Type Interface Description static class
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPlayerListener(PlayerAdvancements p_192165_1_, ICriterionTrigger.Listener<T> p_192165_2_)
T
createInstance(com.google.gson.JsonObject p_230307_1_, ConditionArrayParser p_230307_2_)
ResourceLocation
getId()
void
removePlayerListener(PlayerAdvancements p_192164_1_, ICriterionTrigger.Listener<T> p_192164_2_)
void
removePlayerListeners(PlayerAdvancements p_192167_1_)
-
-
-
Method Detail
-
getId
ResourceLocation getId()
-
addPlayerListener
void addPlayerListener(PlayerAdvancements p_192165_1_, ICriterionTrigger.Listener<T> p_192165_2_)
-
removePlayerListener
void removePlayerListener(PlayerAdvancements p_192164_1_, ICriterionTrigger.Listener<T> p_192164_2_)
-
removePlayerListeners
void removePlayerListeners(PlayerAdvancements p_192167_1_)
-
createInstance
T createInstance(com.google.gson.JsonObject p_230307_1_, ConditionArrayParser p_230307_2_)
-
-