public class Criteria extends Object
Constructor and Description |
---|
Criteria() |
Modifier and Type | Method and Description |
---|---|
static <T extends CriterionConditions> |
getById(Identifier id) |
static Iterable<? extends Criterion<?>> |
getCriteria() |
private static <T extends Criterion<?>> |
register(T object) |
private static final Map<Identifier,Criterion<?>> VALUES
public static final ImpossibleCriterion IMPOSSIBLE
public static final OnKilledCriterion PLAYER_KILLED_ENTITY
public static final OnKilledCriterion ENTITY_KILLED_PLAYER
public static final EnterBlockCriterion ENTER_BLOCK
public static final InventoryChangedCriterion INVENTORY_CHANGED
public static final RecipeUnlockedCriterion RECIPE_UNLOCKED
public static final PlayerHurtEntityCriterion PLAYER_HURT_ENTITY
public static final EntityHurtPlayerCriterion ENTITY_HURT_PLAYER
public static final EnchantedItemCriterion ENCHANTED_ITEM
public static final FilledBucketCriterion FILLED_BUCKET
public static final BrewedPotionCriterion BREWED_POTION
public static final ConstructBeaconCriterion CONSTRUCT_BEACON
public static final UsedEnderEyeCriterion USED_ENDER_EYE
public static final SummonedEntityCriterion SUMMONED_ENTITY
public static final BredAnimalsCriterion BRED_ANIMALS
public static final LocationArrivalCriterion LOCATION
public static final LocationArrivalCriterion SLEPT_IN_BED
public static final CuredZombieVillagerCriterion CURED_ZOMBIE_VILLAGER
public static final VillagerTradeCriterion VILLAGER_TRADE
public static final ItemDurabilityChangedCriterion ITEM_DURABILITY_CHANGED
public static final LevitationCriterion LEVITATION
public static final ChangedDimensionCriterion CHANGED_DIMENSION
public static final TickCriterion TICK
public static final TameAnimalCriterion TAME_ANIMAL
public static final PlacedBlockCriterion PLACED_BLOCK
public static final ConsumeItemCriterion CONSUME_ITEM
public static final EffectsChangedCriterion EFFECTS_CHANGED
public static final UsedTotemCriterion USED_TOTEM
public static final NetherTravelCriterion NETHER_TRAVEL
public static final FishingRodHookedCriterion FISHING_ROD_HOOKED
public static final ChanneledLightningCriterion CHANNELED_LIGHTNING
public static final ShotCrossbowCriterion SHOT_CROSSBOW
public static final KilledByCrossbowCriterion KILLED_BY_CROSSBOW
public static final LocationArrivalCriterion HERO_OF_THE_VILLAGE
public static final LocationArrivalCriterion VOLUNTARY_EXILE
public static final SlideDownBlockCriterion SLIDE_DOWN_BLOCK
public static final BeeNestDestroyedCriterion BEE_NEST_DESTROYED
public static final TargetHitCriterion TARGET_HIT
public static final ItemUsedOnBlockCriterion ITEM_USED_ON_BLOCK
public static final PlayerGeneratesContainerLootCriterion PLAYER_GENERATES_CONTAINER_LOOT
public static final ThrownItemPickedUpByEntityCriterion THROWN_ITEM_PICKED_UP_BY_ENTITY
public static final PlayerInteractedWithEntityCriterion PLAYER_INTERACTED_WITH_ENTITY
private static <T extends Criterion<?>> T register(T object)
@Nullable public static <T extends CriterionConditions> Criterion<T> getById(Identifier id)