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
,ItemInteractWithBlockTrigger.TriggerInstance
,KilledByCrossbowTrigger.TriggerInstance
,KilledTrigger.TriggerInstance
,LevitationTrigger.TriggerInstance
,LightningStrikeTrigger.TriggerInstance
,LootTableTrigger.TriggerInstance
,PickedUpItemTrigger.TriggerInstance
,PlacedBlockTrigger.TriggerInstance
,PlayerHurtEntityTrigger.TriggerInstance
,PlayerInteractTrigger.TriggerInstance
,PlayerTrigger.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 EntityPredicate.Composite
-
Constructor Summary
ConstructorDescriptionAbstractCriterionTriggerInstance
(ResourceLocation p_16975_, EntityPredicate.Composite p_16976_) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityPredicate.Composite
com.google.gson.JsonObject
serializeToJson
(SerializationContext p_16979_) toString()
-
Field Details
-
criterion
-
player
-
-
Constructor Details
-
AbstractCriterionTriggerInstance
public AbstractCriterionTriggerInstance(ResourceLocation p_16975_, EntityPredicate.Composite p_16976_)
-
-
Method Details
-
getCriterion
- Specified by:
getCriterion
in interfaceCriterionTriggerInstance
-
getPlayerPredicate
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
-
toString
-