Class AbstractCriterionConditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
- All Implemented Interfaces:
CriterionConditions
- Direct Known Subclasses:
BeeNestDestroyedCriterion.Conditions
,BredAnimalsCriterion.Conditions
,BrewedPotionCriterion.Conditions
,ChangedDimensionCriterion.Conditions
,ChanneledLightningCriterion.Conditions
,ConstructBeaconCriterion.Conditions
,ConsumeItemCriterion.Conditions
,CuredZombieVillagerCriterion.Conditions
,EffectsChangedCriterion.Conditions
,EnchantedItemCriterion.Conditions
,EnterBlockCriterion.Conditions
,EntityHurtPlayerCriterion.Conditions
,FilledBucketCriterion.Conditions
,FishingRodHookedCriterion.Conditions
,InventoryChangedCriterion.Conditions
,ItemDurabilityChangedCriterion.Conditions
,ItemUsedOnBlockCriterion.Conditions
,KilledByCrossbowCriterion.Conditions
,LevitationCriterion.Conditions
,LocationArrivalCriterion.Conditions
,NetherTravelCriterion.Conditions
,OnKilledCriterion.Conditions
,PlacedBlockCriterion.Conditions
,PlayerGeneratesContainerLootCriterion.Conditions
,PlayerHurtEntityCriterion.Conditions
,PlayerInteractedWithEntityCriterion.Conditions
,RecipeUnlockedCriterion.Conditions
,ShotCrossbowCriterion.Conditions
,SlideDownBlockCriterion.Conditions
,SummonedEntityCriterion.Conditions
,TameAnimalCriterion.Conditions
,TargetHitCriterion.Conditions
,ThrownItemPickedUpByEntityCriterion.Conditions
,TickCriterion.Conditions
,UsedEnderEyeCriterion.Conditions
,UsedTotemCriterion.Conditions
,VillagerTradeCriterion.Conditions
public abstract class AbstractCriterionConditions extends Object implements CriterionConditions
-
Field Summary
Fields Modifier and Type Field Description private Identifier
id
private EntityPredicate.Extended
playerPredicate
-
Constructor Summary
Constructors Constructor Description AbstractCriterionConditions(Identifier id, EntityPredicate.Extended playerPredicate)
-
Method Summary
Modifier and Type Method Description Identifier
getId()
protected EntityPredicate.Extended
getPlayerPredicate()
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
String
toString()
-
Field Details
-
id
-
playerPredicate
-
-
Constructor Details
-
AbstractCriterionConditions
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceCriterionConditions
-
getPlayerPredicate
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
-
toString
-