java.lang.Object
top.r3944realms.superleadrope.core.register.SLPPotions

public class SLPPotions extends Object
The type Slp potions.
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion>
    The constant LONG_NO_SUPER_LEASH.
    static final net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion>
    The constant NO_SUPER_LEASH.
    static net.minecraftforge.registries.DeferredRegister<net.minecraft.world.item.alchemy.Potion>
    The Potions.
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static String
    getPotionNameKey(String name, char type)
    Gets potion name key.
    static String
    Gets tipped arrow name key.
    static <T extends net.minecraft.world.item.alchemy.Potion>
    net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion>
    register(String Name, Supplier<T> supplier)
    Register registry object.
    static void
    register(net.minecraftforge.eventbus.api.IEventBus eventBus)
    Register.

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • POTIONS

      public static net.minecraftforge.registries.DeferredRegister<net.minecraft.world.item.alchemy.Potion> POTIONS
      The Potions.
    • NO_SUPER_LEASH

      public static final net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion> NO_SUPER_LEASH
      The constant NO_SUPER_LEASH.
    • LONG_NO_SUPER_LEASH

      public static final net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion> LONG_NO_SUPER_LEASH
      The constant LONG_NO_SUPER_LEASH.
  • 构造器详细资料

    • SLPPotions

      public SLPPotions()
  • 方法详细资料

    • register

      public static <T extends net.minecraft.world.item.alchemy.Potion> net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion> register(String Name, Supplier<T> supplier)
      Register registry object.
      类型参数:
      T - the type parameter
      参数:
      Name - the name
      supplier - the supplier
      返回:
      the registry object
    • getPotionNameKey

      public static String getPotionNameKey(String name, char type)
      Gets potion name key.
      参数:
      name - the Name of Potion
      type - (char)
      [
      0 & 3 ~ 255 : potion
      1 : lingering_potion
      2 : splash_potion
      ]
      返回:
      Language Key
    • getTippedArrowNameKey

      public static String getTippedArrowNameKey(String Name)
      Gets tipped arrow name key.
      参数:
      Name - the name
      返回:
      the tipped arrow name key
    • register

      public static void register(net.minecraftforge.eventbus.api.IEventBus eventBus)
      Register.
      参数:
      eventBus - the event bus