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
,EffectsChangedTrigger.TriggerInstance
,EnchantedItemTrigger.TriggerInstance
,EnterBlockTrigger.TriggerInstance
,EntityHurtPlayerTrigger.TriggerInstance
,FilledBucketTrigger.TriggerInstance
,FishingRodHookedTrigger.TriggerInstance
,InventoryChangeTrigger.TriggerInstance
,ItemDurabilityTrigger.TriggerInstance
,ItemPickedUpByEntityTrigger.TriggerInstance
,ItemUsedOnBlockTrigger.TriggerInstance
,KilledByCrossbowTrigger.TriggerInstance
,KilledTrigger.TriggerInstance
,LevitationTrigger.TriggerInstance
,LightningStrikeTrigger.TriggerInstance
,LocationTrigger.TriggerInstance
,LootTableTrigger.TriggerInstance
,NetherTravelTrigger.TriggerInstance
,PlacedBlockTrigger.TriggerInstance
,PlayerHurtEntityTrigger.TriggerInstance
,PlayerInteractTrigger.TriggerInstance
,RecipeUnlockedTrigger.TriggerInstance
,ShotCrossbowTrigger.TriggerInstance
,SlideDownBlockTrigger.TriggerInstance
,StartRidingTrigger.TriggerInstance
,SummonedEntityTrigger.TriggerInstance
,TameAnimalTrigger.TriggerInstance
,TargetBlockTrigger.TriggerInstance
,TickTrigger.TriggerInstance
,TradeTrigger.TriggerInstance
,UsedEnderEyeTrigger.TriggerInstance
,UsedTotemTrigger.TriggerInstance
,UsingItemTrigger.TriggerInstance
public abstract class AbstractCriterionTriggerInstance
extends Object
implements CriterionTriggerInstance
-
Field Summary
-
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
-