Class Criteria
java.lang.Object
net.minecraft.advancement.criterion.Criteria
- Mappings:
Namespace Name official ai
intermediary net/minecraft/class_174
named net/minecraft/advancement/criterion/Criteria
-
Field Summary
Modifier and TypeFieldDescriptionstatic BeeNestDestroyedCriterion
static BredAnimalsCriterion
static BrewedPotionCriterion
static ChangedDimensionCriterion
static ChanneledLightningCriterion
static ConstructBeaconCriterion
static ConsumeItemCriterion
static CuredZombieVillagerCriterion
static EffectsChangedCriterion
static EnchantedItemCriterion
static EnterBlockCriterion
static EntityHurtPlayerCriterion
static OnKilledCriterion
static class_6407
static class_6405
static class_6409
static FilledBucketCriterion
static FishingRodHookedCriterion
static LocationArrivalCriterion
static ImpossibleCriterion
static InventoryChangedCriterion
static ItemUsedOnBlockCriterion
static KilledByCrossbowCriterion
static LevitationCriterion
static LocationArrivalCriterion
static NetherTravelCriterion
static PlacedBlockCriterion
static PlayerHurtEntityCriterion
static OnKilledCriterion
static RecipeUnlockedCriterion
static ShotCrossbowCriterion
static LocationArrivalCriterion
static SlideDownBlockCriterion
static SummonedEntityCriterion
static TameAnimalCriterion
static TargetHitCriterion
static TickCriterion
static UsedEnderEyeCriterion
static UsedTotemCriterion
private static Map<Identifier,Criterion<?>>
static VillagerTradeCriterion
static LocationArrivalCriterion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends CriterionConditions>
@Nullable Criterion<T>getById(Identifier id)
private static <T extends Criterion<?>>
Tregister(T object)
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official T
Lai;T:Ljava/util/Map;
intermediary field_1205
Lnet/minecraft/class_174;field_1205:Ljava/util/Map;
named VALUES
Lnet/minecraft/advancement/criterion/Criteria;VALUES:Ljava/util/Map;
-
IMPOSSIBLE
- Mappings:
Namespace Name Mixin selector official a
Lai;a:Lbs;
intermediary field_1184
Lnet/minecraft/class_174;field_1184:Lnet/minecraft/class_2062;
named IMPOSSIBLE
Lnet/minecraft/advancement/criterion/Criteria;IMPOSSIBLE:Lnet/minecraft/advancement/criterion/ImpossibleCriterion;
-
PLAYER_KILLED_ENTITY
- Mappings:
Namespace Name Mixin selector official b
Lai;b:Lbz;
intermediary field_1192
Lnet/minecraft/class_174;field_1192:Lnet/minecraft/class_2080;
named PLAYER_KILLED_ENTITY
Lnet/minecraft/advancement/criterion/Criteria;PLAYER_KILLED_ENTITY:Lnet/minecraft/advancement/criterion/OnKilledCriterion;
-
ENTITY_KILLED_PLAYER
- Mappings:
Namespace Name Mixin selector official c
Lai;c:Lbz;
intermediary field_1188
Lnet/minecraft/class_174;field_1188:Lnet/minecraft/class_2080;
named ENTITY_KILLED_PLAYER
Lnet/minecraft/advancement/criterion/Criteria;ENTITY_KILLED_PLAYER:Lnet/minecraft/advancement/criterion/OnKilledCriterion;
-
ENTER_BLOCK
- Mappings:
Namespace Name Mixin selector official d
Lai;d:Lbi;
intermediary field_1180
Lnet/minecraft/class_174;field_1180:Lnet/minecraft/class_2037;
named ENTER_BLOCK
Lnet/minecraft/advancement/criterion/Criteria;ENTER_BLOCK:Lnet/minecraft/advancement/criterion/EnterBlockCriterion;
-
INVENTORY_CHANGED
- Mappings:
Namespace Name Mixin selector official e
Lai;e:Lbt;
intermediary field_1195
Lnet/minecraft/class_174;field_1195:Lnet/minecraft/class_2066;
named INVENTORY_CHANGED
Lnet/minecraft/advancement/criterion/Criteria;INVENTORY_CHANGED:Lnet/minecraft/advancement/criterion/InventoryChangedCriterion;
-
RECIPE_UNLOCKED
- Mappings:
Namespace Name Mixin selector official f
Lai;f:Lcp;
intermediary field_1207
Lnet/minecraft/class_174;field_1207:Lnet/minecraft/class_2119;
named RECIPE_UNLOCKED
Lnet/minecraft/advancement/criterion/Criteria;RECIPE_UNLOCKED:Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion;
-
PLAYER_HURT_ENTITY
- Mappings:
Namespace Name Mixin selector official g
Lai;g:Lcm;
intermediary field_1199
Lnet/minecraft/class_174;field_1199:Lnet/minecraft/class_2115;
named PLAYER_HURT_ENTITY
Lnet/minecraft/advancement/criterion/Criteria;PLAYER_HURT_ENTITY:Lnet/minecraft/advancement/criterion/PlayerHurtEntityCriterion;
-
ENTITY_HURT_PLAYER
- Mappings:
Namespace Name Mixin selector official h
Lai;h:Lbl;
intermediary field_1209
Lnet/minecraft/class_174;field_1209:Lnet/minecraft/class_2044;
named ENTITY_HURT_PLAYER
Lnet/minecraft/advancement/criterion/Criteria;ENTITY_HURT_PLAYER:Lnet/minecraft/advancement/criterion/EntityHurtPlayerCriterion;
-
ENCHANTED_ITEM
- Mappings:
Namespace Name Mixin selector official i
Lai;i:Lbg;
intermediary field_1181
Lnet/minecraft/class_174;field_1181:Lnet/minecraft/class_2030;
named ENCHANTED_ITEM
Lnet/minecraft/advancement/criterion/Criteria;ENCHANTED_ITEM:Lnet/minecraft/advancement/criterion/EnchantedItemCriterion;
-
FILLED_BUCKET
- Mappings:
Namespace Name Mixin selector official j
Lai;j:Lbo;
intermediary field_1208
Lnet/minecraft/class_174;field_1208:Lnet/minecraft/class_2054;
named FILLED_BUCKET
Lnet/minecraft/advancement/criterion/Criteria;FILLED_BUCKET:Lnet/minecraft/advancement/criterion/FilledBucketCriterion;
-
BREWED_POTION
- Mappings:
Namespace Name Mixin selector official k
Lai;k:Lav;
intermediary field_1213
Lnet/minecraft/class_174;field_1213:Lnet/minecraft/class_1996;
named BREWED_POTION
Lnet/minecraft/advancement/criterion/Criteria;BREWED_POTION:Lnet/minecraft/advancement/criterion/BrewedPotionCriterion;
-
CONSTRUCT_BEACON
- Mappings:
Namespace Name Mixin selector official l
Lai;l:Lay;
intermediary field_1189
Lnet/minecraft/class_174;field_1189:Lnet/minecraft/class_2006;
named CONSTRUCT_BEACON
Lnet/minecraft/advancement/criterion/Criteria;CONSTRUCT_BEACON:Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion;
-
USED_ENDER_EYE
- Mappings:
Namespace Name Mixin selector official m
Lai;m:Ldb;
intermediary field_1186
Lnet/minecraft/class_174;field_1186:Lnet/minecraft/class_2143;
named USED_ENDER_EYE
Lnet/minecraft/advancement/criterion/Criteria;USED_ENDER_EYE:Lnet/minecraft/advancement/criterion/UsedEnderEyeCriterion;
-
SUMMONED_ENTITY
- Mappings:
Namespace Name Mixin selector official n
Lai;n:Lcw;
intermediary field_1182
Lnet/minecraft/class_174;field_1182:Lnet/minecraft/class_2128;
named SUMMONED_ENTITY
Lnet/minecraft/advancement/criterion/Criteria;SUMMONED_ENTITY:Lnet/minecraft/advancement/criterion/SummonedEntityCriterion;
-
BRED_ANIMALS
- Mappings:
Namespace Name Mixin selector official o
Lai;o:Lau;
intermediary field_1190
Lnet/minecraft/class_174;field_1190:Lnet/minecraft/class_196;
named BRED_ANIMALS
Lnet/minecraft/advancement/criterion/Criteria;BRED_ANIMALS:Lnet/minecraft/advancement/criterion/BredAnimalsCriterion;
-
LOCATION
- Mappings:
Namespace Name Mixin selector official p
Lai;p:Lcf;
intermediary field_1194
Lnet/minecraft/class_174;field_1194:Lnet/minecraft/class_2092;
named LOCATION
Lnet/minecraft/advancement/criterion/Criteria;LOCATION:Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;
-
SLEPT_IN_BED
- Mappings:
Namespace Name Mixin selector official q
Lai;q:Lcf;
intermediary field_1212
Lnet/minecraft/class_174;field_1212:Lnet/minecraft/class_2092;
named SLEPT_IN_BED
Lnet/minecraft/advancement/criterion/Criteria;SLEPT_IN_BED:Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;
-
CURED_ZOMBIE_VILLAGER
- Mappings:
Namespace Name Mixin selector official r
Lai;r:Lba;
intermediary field_1210
Lnet/minecraft/class_174;field_1210:Lnet/minecraft/class_2014;
named CURED_ZOMBIE_VILLAGER
Lnet/minecraft/advancement/criterion/Criteria;CURED_ZOMBIE_VILLAGER:Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion;
-
VILLAGER_TRADE
- Mappings:
Namespace Name Mixin selector official s
Lai;s:Lda;
intermediary field_1206
Lnet/minecraft/class_174;field_1206:Lnet/minecraft/class_2140;
named VILLAGER_TRADE
Lnet/minecraft/advancement/criterion/Criteria;VILLAGER_TRADE:Lnet/minecraft/advancement/criterion/VillagerTradeCriterion;
-
ITEM_DURABILITY_CHANGED
- Mappings:
Namespace Name Mixin selector official t
Lai;t:Lbu;
intermediary field_1185
Lnet/minecraft/class_174;field_1185:Lnet/minecraft/class_2069;
named ITEM_DURABILITY_CHANGED
Lnet/minecraft/advancement/criterion/Criteria;ITEM_DURABILITY_CHANGED:Lnet/minecraft/advancement/criterion/ItemDurabilityChangedCriterion;
-
LEVITATION
- Mappings:
Namespace Name Mixin selector official u
Lai;u:Lca;
intermediary field_1200
Lnet/minecraft/class_174;field_1200:Lnet/minecraft/class_2085;
named LEVITATION
Lnet/minecraft/advancement/criterion/Criteria;LEVITATION:Lnet/minecraft/advancement/criterion/LevitationCriterion;
-
CHANGED_DIMENSION
- Mappings:
Namespace Name Mixin selector official v
Lai;v:Law;
intermediary field_1183
Lnet/minecraft/class_174;field_1183:Lnet/minecraft/class_1999;
named CHANGED_DIMENSION
Lnet/minecraft/advancement/criterion/Criteria;CHANGED_DIMENSION:Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;
-
TICK
- Mappings:
Namespace Name Mixin selector official w
Lai;w:Lcz;
intermediary field_1187
Lnet/minecraft/class_174;field_1187:Lnet/minecraft/class_2135;
named TICK
Lnet/minecraft/advancement/criterion/Criteria;TICK:Lnet/minecraft/advancement/criterion/TickCriterion;
-
TAME_ANIMAL
- Mappings:
Namespace Name Mixin selector official x
Lai;x:Lcx;
intermediary field_1201
Lnet/minecraft/class_174;field_1201:Lnet/minecraft/class_2131;
named TAME_ANIMAL
Lnet/minecraft/advancement/criterion/Criteria;TAME_ANIMAL:Lnet/minecraft/advancement/criterion/TameAnimalCriterion;
-
PLACED_BLOCK
- Mappings:
Namespace Name Mixin selector official y
Lai;y:Lcl;
intermediary field_1191
Lnet/minecraft/class_174;field_1191:Lnet/minecraft/class_2111;
named PLACED_BLOCK
Lnet/minecraft/advancement/criterion/Criteria;PLACED_BLOCK:Lnet/minecraft/advancement/criterion/PlacedBlockCriterion;
-
CONSUME_ITEM
- Mappings:
Namespace Name Mixin selector official z
Lai;z:Laz;
intermediary field_1198
Lnet/minecraft/class_174;field_1198:Lnet/minecraft/class_2010;
named CONSUME_ITEM
Lnet/minecraft/advancement/criterion/Criteria;CONSUME_ITEM:Lnet/minecraft/advancement/criterion/ConsumeItemCriterion;
-
EFFECTS_CHANGED
- Mappings:
Namespace Name Mixin selector official A
Lai;A:Lbf;
intermediary field_1193
Lnet/minecraft/class_174;field_1193:Lnet/minecraft/class_2027;
named EFFECTS_CHANGED
Lnet/minecraft/advancement/criterion/Criteria;EFFECTS_CHANGED:Lnet/minecraft/advancement/criterion/EffectsChangedCriterion;
-
USED_TOTEM
- Mappings:
Namespace Name Mixin selector official B
Lai;B:Ldc;
intermediary field_1204
Lnet/minecraft/class_174;field_1204:Lnet/minecraft/class_2148;
named USED_TOTEM
Lnet/minecraft/advancement/criterion/Criteria;USED_TOTEM:Lnet/minecraft/advancement/criterion/UsedTotemCriterion;
-
NETHER_TRAVEL
- Mappings:
Namespace Name Mixin selector official C
Lai;C:Lck;
intermediary field_1211
Lnet/minecraft/class_174;field_1211:Lnet/minecraft/class_2108;
named NETHER_TRAVEL
Lnet/minecraft/advancement/criterion/Criteria;NETHER_TRAVEL:Lnet/minecraft/advancement/criterion/NetherTravelCriterion;
-
FISHING_ROD_HOOKED
- Mappings:
Namespace Name Mixin selector official D
Lai;D:Lbq;
intermediary field_1203
Lnet/minecraft/class_174;field_1203:Lnet/minecraft/class_2058;
named FISHING_ROD_HOOKED
Lnet/minecraft/advancement/criterion/Criteria;FISHING_ROD_HOOKED:Lnet/minecraft/advancement/criterion/FishingRodHookedCriterion;
-
CHANNELED_LIGHTNING
- Mappings:
Namespace Name Mixin selector official E
Lai;E:Lax;
intermediary field_1202
Lnet/minecraft/class_174;field_1202:Lnet/minecraft/class_2002;
named CHANNELED_LIGHTNING
Lnet/minecraft/advancement/criterion/Criteria;CHANNELED_LIGHTNING:Lnet/minecraft/advancement/criterion/ChanneledLightningCriterion;
-
SHOT_CROSSBOW
- Mappings:
Namespace Name Mixin selector official F
Lai;F:Lcr;
intermediary field_1196
Lnet/minecraft/class_174;field_1196:Lnet/minecraft/class_2123;
named SHOT_CROSSBOW
Lnet/minecraft/advancement/criterion/Criteria;SHOT_CROSSBOW:Lnet/minecraft/advancement/criterion/ShotCrossbowCriterion;
-
KILLED_BY_CROSSBOW
- Mappings:
Namespace Name Mixin selector official G
Lai;G:Lby;
intermediary field_1197
Lnet/minecraft/class_174;field_1197:Lnet/minecraft/class_2076;
named KILLED_BY_CROSSBOW
Lnet/minecraft/advancement/criterion/Criteria;KILLED_BY_CROSSBOW:Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion;
-
HERO_OF_THE_VILLAGE
- Mappings:
Namespace Name Mixin selector official H
Lai;H:Lcf;
intermediary field_19250
Lnet/minecraft/class_174;field_19250:Lnet/minecraft/class_2092;
named HERO_OF_THE_VILLAGE
Lnet/minecraft/advancement/criterion/Criteria;HERO_OF_THE_VILLAGE:Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;
-
VOLUNTARY_EXILE
- Mappings:
Namespace Name Mixin selector official I
Lai;I:Lcf;
intermediary field_19251
Lnet/minecraft/class_174;field_19251:Lnet/minecraft/class_2092;
named VOLUNTARY_EXILE
Lnet/minecraft/advancement/criterion/Criteria;VOLUNTARY_EXILE:Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;
-
SLIDE_DOWN_BLOCK
- Mappings:
Namespace Name Mixin selector official J
Lai;J:Lct;
intermediary field_21628
Lnet/minecraft/class_174;field_21628:Lnet/minecraft/class_4713;
named SLIDE_DOWN_BLOCK
Lnet/minecraft/advancement/criterion/Criteria;SLIDE_DOWN_BLOCK:Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion;
-
BEE_NEST_DESTROYED
- Mappings:
Namespace Name Mixin selector official K
Lai;K:Las;
intermediary field_21629
Lnet/minecraft/class_174;field_21629:Lnet/minecraft/class_4708;
named BEE_NEST_DESTROYED
Lnet/minecraft/advancement/criterion/Criteria;BEE_NEST_DESTROYED:Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion;
-
TARGET_HIT
- Mappings:
Namespace Name Mixin selector official L
Lai;L:Lcy;
intermediary field_22450
Lnet/minecraft/class_174;field_22450:Lnet/minecraft/class_4851;
named TARGET_HIT
Lnet/minecraft/advancement/criterion/Criteria;TARGET_HIT:Lnet/minecraft/advancement/criterion/TargetHitCriterion;
-
ITEM_USED_ON_BLOCK
- Mappings:
Namespace Name Mixin selector official M
Lai;M:Lbx;
intermediary field_24478
Lnet/minecraft/class_174;field_24478:Lnet/minecraft/class_4711;
named ITEM_USED_ON_BLOCK
Lnet/minecraft/advancement/criterion/Criteria;ITEM_USED_ON_BLOCK:Lnet/minecraft/advancement/criterion/ItemUsedOnBlockCriterion;
-
PLAYER_GENERATES_CONTAINER_LOOT
- Mappings:
Namespace Name Mixin selector official N
Lai;N:Lcg;
intermediary field_24479
Lnet/minecraft/class_174;field_24479:Lnet/minecraft/class_5282;
named PLAYER_GENERATES_CONTAINER_LOOT
Lnet/minecraft/advancement/criterion/Criteria;PLAYER_GENERATES_CONTAINER_LOOT:Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion;
-
THROWN_ITEM_PICKED_UP_BY_ENTITY
- Mappings:
Namespace Name Mixin selector official O
Lai;O:Lbv;
intermediary field_24480
Lnet/minecraft/class_174;field_24480:Lnet/minecraft/class_5279;
named THROWN_ITEM_PICKED_UP_BY_ENTITY
Lnet/minecraft/advancement/criterion/Criteria;THROWN_ITEM_PICKED_UP_BY_ENTITY:Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion;
-
PLAYER_INTERACTED_WITH_ENTITY
- Mappings:
Namespace Name Mixin selector official P
Lai;P:Lcn;
intermediary field_25694
Lnet/minecraft/class_174;field_25694:Lnet/minecraft/class_5409;
named PLAYER_INTERACTED_WITH_ENTITY
Lnet/minecraft/advancement/criterion/Criteria;PLAYER_INTERACTED_WITH_ENTITY:Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion;
-
field_33870
- Mappings:
Namespace Name Mixin selector official Q
Lai;Q:Lcu;
intermediary field_33870
Lnet/minecraft/class_174;field_33870:Lnet/minecraft/class_6407;
named field_33870
Lnet/minecraft/advancement/criterion/Criteria;field_33870:Lnet/minecraft/class_6407;
-
field_33871
- Mappings:
Namespace Name Mixin selector official R
Lai;R:Lcd;
intermediary field_33871
Lnet/minecraft/class_174;field_33871:Lnet/minecraft/class_6405;
named field_33871
Lnet/minecraft/advancement/criterion/Criteria;field_33871:Lnet/minecraft/class_6405;
-
field_33872
- Mappings:
Namespace Name Mixin selector official S
Lai;S:Ldd;
intermediary field_33872
Lnet/minecraft/class_174;field_33872:Lnet/minecraft/class_6409;
named field_33872
Lnet/minecraft/advancement/criterion/Criteria;field_33872:Lnet/minecraft/class_6409;
-
-
Constructor Details
-
Criteria
public Criteria()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lai;a(Lal;)Lal;
intermediary method_767
Lnet/minecraft/class_174;method_767(Lnet/minecraft/class_179;)Lnet/minecraft/class_179;
named register
Lnet/minecraft/advancement/criterion/Criteria;register(Lnet/minecraft/advancement/criterion/Criterion;)Lnet/minecraft/advancement/criterion/Criterion;
-
getById
@Nullable public static <T extends CriterionConditions> @Nullable Criterion<T> getById(Identifier id)- Mappings:
Namespace Name Mixin selector official a
Lai;a(Lww;)Lal;
intermediary method_765
Lnet/minecraft/class_174;method_765(Lnet/minecraft/class_2960;)Lnet/minecraft/class_179;
named getById
Lnet/minecraft/advancement/criterion/Criteria;getById(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/criterion/Criterion;
-
getCriteria
- Mappings:
Namespace Name Mixin selector official a
Lai;a()Ljava/lang/Iterable;
intermediary method_766
Lnet/minecraft/class_174;method_766()Ljava/lang/Iterable;
named getCriteria
Lnet/minecraft/advancement/criterion/Criteria;getCriteria()Ljava/lang/Iterable;
-