Class AbstractCriterionTriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Direct Known Subclasses:
BeeNestDestroyedTrigger.TriggerInstance
,BredAnimalsTrigger.TriggerInstance
,BrewedPotionTrigger.TriggerInstance
,ChangeDimensionTrigger.TriggerInstance
,ChanneledLightningTrigger.TriggerInstance
,ConstructBeaconTrigger.TriggerInstance
,ConsumeItemTrigger.TriggerInstance
,CuredZombieVillagerTrigger.TriggerInstance
,DistanceTrigger.TriggerInstance
,EffectsChangedTrigger.TriggerInstance
,EnchantedItemTrigger.TriggerInstance
,EnterBlockTrigger.TriggerInstance
,EntityHurtPlayerTrigger.TriggerInstance
,FilledBucketTrigger.TriggerInstance
,FishingRodHookedTrigger.TriggerInstance
,InventoryChangeTrigger.TriggerInstance
,ItemDurabilityTrigger.TriggerInstance
,ItemUsedOnLocationTrigger.TriggerInstance
,KilledByCrossbowTrigger.TriggerInstance
,KilledTrigger.TriggerInstance
,LevitationTrigger.TriggerInstance
,LightningStrikeTrigger.TriggerInstance
,LootTableTrigger.TriggerInstance
,PickedUpItemTrigger.TriggerInstance
,PlayerHurtEntityTrigger.TriggerInstance
,PlayerInteractTrigger.TriggerInstance
,PlayerTrigger.TriggerInstance
,RecipeCraftedTrigger.TriggerInstance
,RecipeUnlockedTrigger.TriggerInstance
,ShotCrossbowTrigger.TriggerInstance
,SlideDownBlockTrigger.TriggerInstance
,StartRidingTrigger.TriggerInstance
,SummonedEntityTrigger.TriggerInstance
,TameAnimalTrigger.TriggerInstance
,TargetBlockTrigger.TriggerInstance
,TradeTrigger.TriggerInstance
,UsedEnderEyeTrigger.TriggerInstance
,UsedTotemTrigger.TriggerInstance
,UsingItemTrigger.TriggerInstance
public abstract class AbstractCriterionTriggerInstance
extends Object
implements CriterionTriggerInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final ContextAwarePredicate
-
Constructor Summary
ConstructorDescriptionAbstractCriterionTriggerInstance
(ResourceLocation p_286357_, ContextAwarePredicate p_286466_) -
Method Summary
Modifier and TypeMethodDescriptionprotected ContextAwarePredicate
com.google.gson.JsonObject
serializeToJson
(SerializationContext p_16979_) toString()
-
Field Details
-
criterion
-
player
-
-
Constructor Details
-
AbstractCriterionTriggerInstance
public AbstractCriterionTriggerInstance(ResourceLocation p_286357_, ContextAwarePredicate p_286466_)
-
-
Method Details
-
getCriterion
- Specified by:
getCriterion
in interfaceCriterionTriggerInstance
-
getPlayerPredicate
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
-
toString
-