net.minecraft.core.component.predicates

public class DataComponentPredicates

kv
net.minecraft.core.component.predicates.DataComponentPredicates
net.minecraft.class_9361
net.minecraft.predicate.component.ComponentPredicateTypes
net.minecraft.src.C_378901_

Field summary

Modifier and TypeField
public static final DataComponentPredicate$Type<DamagePredicate>
a
DAMAGE
field_49806
DAMAGE
f_380782_
public static final DataComponentPredicate$Type<EnchantmentsPredicate$Enchantments>
b
ENCHANTMENTS
field_49807
ENCHANTMENTS
f_379955_
public static final DataComponentPredicate$Type<EnchantmentsPredicate$StoredEnchantments>
c
STORED_ENCHANTMENTS
field_49808
STORED_ENCHANTMENTS
f_379440_
public static final DataComponentPredicate$Type<PotionsPredicate>
d
POTIONS
field_49809
POTION_CONTENTS
f_379651_
public static final DataComponentPredicate$Type<CustomDataPredicate>
e
CUSTOM_DATA
field_49810
CUSTOM_DATA
f_382476_
public static final DataComponentPredicate$Type<ContainerPredicate>
f
CONTAINER
field_51386
CONTAINER
f_380706_
public static final DataComponentPredicate$Type<BundlePredicate>
g
BUNDLE_CONTENTS
field_51387
BUNDLE_CONTENTS
f_380194_
public static final DataComponentPredicate$Type<FireworkExplosionPredicate>
h
FIREWORK_EXPLOSION
field_51388
FIREWORK_EXPLOSION
f_381317_
public static final DataComponentPredicate$Type<FireworksPredicate>
i
FIREWORKS
field_51389
FIREWORKS
f_379943_
public static final DataComponentPredicate$Type<WritableBookPredicate>
j
WRITABLE_BOOK
field_51390
WRITABLE_BOOK_CONTENT
f_379803_
public static final DataComponentPredicate$Type<WrittenBookPredicate>
k
WRITTEN_BOOK
field_51391
WRITTEN_BOOK_CONTENT
f_380522_
public static final DataComponentPredicate$Type<AttributeModifiersPredicate>
l
ATTRIBUTE_MODIFIERS
field_51392
ATTRIBUTE_MODIFIERS
f_382347_
public static final DataComponentPredicate$Type<TrimPredicate>
m
ARMOR_TRIM
field_51393
TRIM
f_380041_
public static final DataComponentPredicate$Type<JukeboxPlayablePredicate>
n
JUKEBOX_PLAYABLE
field_52024
JUKEBOX_PLAYABLE
f_380304_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends DataComponentPredicate> DataComponentPredicate$Type<T>
a(String arg0, com.mojang.serialization.Codec<T> arg1)
register(String arg0, com.mojang.serialization.Codec<T> arg1)
method_58180(String arg0, com.mojang.serialization.Codec<T> arg1)
register(String id, com.mojang.serialization.Codec<T> codec)
m_388904_(String p_392833_, com.mojang.serialization.Codec<T> p_393351_)
public static DataComponentPredicate$Type<?>
a(jt<ku$b<?>> arg0)
bootstrap(Registry<DataComponentPredicate$Type<?>> arg0)
method_58181(class_2378<class_9360$class_8745<?>> arg0)
getDefault(Registry<ComponentPredicate$Type<?>> registry)
m_388158_(C_4705_<C_379030_$C_379068_<?>> p_394571_)