Class EnchantmentEffectComponentRegistry

java.lang.Object
net.trique.wardentools.registry.EnchantmentEffectComponentRegistry

public class EnchantmentEffectComponentRegistry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)