Uses of Enum Class
net.minecraft.class_9703
Packages that use class_9703
Package
Description
The base package for all Minecraft classes.
-
Uses of class_9703 in net.minecraft
Fields in net.minecraft declared as class_9703Modifier and TypeFieldDescriptionprivate final class_9703class_9710.affectedThe field for theaffectedrecord component.private final class_9703class_9710.enchantedThe field for theenchantedrecord component.Fields in net.minecraft with type parameters of type class_9703Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_9703> class_9703.field_51686Methods in net.minecraft that return class_9703Modifier and TypeMethodDescriptionclass_9710.affected()Returns the value of theaffectedrecord component.class_9710.enchanted()Returns the value of theenchantedrecord component.static class_9703Returns the enum constant of this class with the specified name.static class_9703[]class_9703.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft with parameters of type class_9703ModifierConstructorDescriptionclass_9710(class_9703 class_9703, class_9703 class_97032, T t, Optional<LootCondition> optional) -
Uses of class_9703 in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type class_9703Modifier and TypeMethodDescriptionEnchantment.class_9700.method_60063(DataComponentType<List<class_9710<E>>> dataComponentType, class_9703 class_9703, class_9703 class_97032, E e) Enchantment.class_9700.method_60064(DataComponentType<List<class_9710<E>>> dataComponentType, class_9703 class_9703, class_9703 class_97032, E e, LootCondition.Builder builder) voidEnchantment.onTargetDamaged(ServerWorld serverWorld, int int2, class_9699 class_9699, class_9703 class_9703, Entity entity, DamageSource damageSource)