Class ItemSubPredicates
java.lang.Object
net.minecraft.advancements.critereon.ItemSubPredicates
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ItemSubPredicate.Type
<ItemTrimPredicate> static final ItemSubPredicate.Type
<ItemAttributeModifiersPredicate> static final ItemSubPredicate.Type
<ItemBundlePredicate> static final ItemSubPredicate.Type
<ItemContainerPredicate> static final ItemSubPredicate.Type
<ItemCustomDataPredicate> static final ItemSubPredicate.Type
<ItemDamagePredicate> static final ItemSubPredicate.Type
<ItemEnchantmentsPredicate.Enchantments> static final ItemSubPredicate.Type
<ItemFireworkExplosionPredicate> static final ItemSubPredicate.Type
<ItemFireworksPredicate> static final ItemSubPredicate.Type
<ItemPotionsPredicate> static final ItemSubPredicate.Type
<ItemWritableBookPredicate> static final ItemSubPredicate.Type
<ItemWrittenBookPredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemSubPredicate.Type
<?> bootstrap
(Registry<ItemSubPredicate.Type<?>> p_334950_) private static <T extends ItemSubPredicate>
ItemSubPredicate.Type<T>
-
Field Details
-
DAMAGE
-
ENCHANTMENTS
-
STORED_ENCHANTMENTS
public static final ItemSubPredicate.Type<ItemEnchantmentsPredicate.StoredEnchantments> STORED_ENCHANTMENTS -
POTIONS
-
CUSTOM_DATA
-
CONTAINER
-
BUNDLE_CONTENTS
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
WRITABLE_BOOK
-
WRITTEN_BOOK
-
ATTRIBUTE_MODIFIERS
-
ARMOR_TRIM
-
-
Constructor Details
-
ItemSubPredicates
public ItemSubPredicates()
-
-
Method Details
-
register
private static <T extends ItemSubPredicate> ItemSubPredicate.Type<T> register(String p_334515_, com.mojang.serialization.Codec<T> p_329751_) -
bootstrap
-