Package net.trique.wardentools.registry
Class EnchantmentEffectComponentRegistry
java.lang.Object
net.trique.wardentools.registry.EnchantmentEffectComponentRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.trique.wardentools.registration.RegistryObject<net.minecraft.core.component.DataComponentType<?>, net.minecraft.core.component.DataComponentType<net.minecraft.world.item.enchantment.effects.EnchantmentValueEffect>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()protected static <T> net.trique.wardentools.registration.RegistryObject<net.minecraft.core.component.DataComponentType<?>, net.minecraft.core.component.DataComponentType<T>> register(String name, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> operator)
-
Field Details
-
INCREASE_RANGE
public static net.trique.wardentools.registration.RegistryObject<net.minecraft.core.component.DataComponentType<?>,net.minecraft.core.component.DataComponentType<net.minecraft.world.item.enchantment.effects.EnchantmentValueEffect>> INCREASE_RANGE
-
-
Constructor Details
-
EnchantmentEffectComponentRegistry
public EnchantmentEffectComponentRegistry()
-
-
Method Details
-
init
public static void init() -
register
protected static <T> net.trique.wardentools.registration.RegistryObject<net.minecraft.core.component.DataComponentType<?>,net.minecraft.core.component.DataComponentType<T>> register(String name, UnaryOperator<net.minecraft.core.component.DataComponentType.Builder<T>> operator)
-