Class Criteria
java.lang.Object
net.minecraft.advancement.criterion.Criteria
public class Criteria extends Object
- Mappings:
Namespace Name official ac
intermediary net/minecraft/class_174
named net/minecraft/advancement/criterion/Criteria
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Criteria()
-
Method Summary
Modifier and Type Method Description static <T extends CriterionConditions>
Criterion<T>getById(Identifier id)
static Iterable<? extends Criterion<?>>
getCriteria()
private static <T extends Criterion<?>>
Tregister(T object)
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official Q
Lac;Q: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
Lac;a:Lbm;
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
Lac;b:Lbt;
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
Lac;c:Lbt;
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
Lac;d:Lbc;
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
Lac;e:Lbn;
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
Lac;f:Lch;
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
Lac;g:Lce;
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
Lac;h:Lbf;
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
Lac;i:Lba;
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
Lac;j:Lbi;
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
Lac;k:Lap;
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
Lac;l:Las;
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
Lac;m:Lcs;
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
Lac;n:Lcn;
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
Lac;o:Lao;
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
Lac;p:Lbx;
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
Lac;q:Lbx;
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
Lac;r:Lau;
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
Lac;s:Lcr;
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
Lac;t:Lbo;
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
Lac;u:Lbu;
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
Lac;v:Laq;
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
Lac;w:Lcq;
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
Lac;x:Lco;
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
Lac;y:Lcd;
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
Lac;z:Lat;
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
Lac;A:Laz;
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
Lac;B:Lct;
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
Lac;C:Lcc;
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
Lac;D:Lbk;
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
Lac;E:Lar;
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
Lac;F:Lcj;
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
Lac;G:Lbs;
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
Lac;H:Lbx;
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
Lac;I:Lbx;
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
Lac;J:Lcl;
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
Lac;K:Lam;
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
Lac;L:Lcp;
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
Lac;M:Lbr;
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
Lac;N:Lby;
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
Lac;O:Lbp;
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
Lac;P:Lcf;
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;
-
-
Constructor Details
-
Criteria
public Criteria()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lac;a(Laf;)Laf;
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
- Mappings:
Namespace Name Mixin selector official a
Lac;a(Lwb;)Laf;
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
Lac;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;
-