类 SLPPotions
java.lang.Object
top.r3944realms.superleadrope.core.register.SLPPotions
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 StringgetPotionNameKey(String name, char type) Gets potion name key.static StringgetTippedArrowNameKey(String Name) 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 registry object.static voidregister(net.minecraftforge.eventbus.api.IEventBus eventBus) Register.
-
字段详细资料
-
POTIONS
public static net.minecraftforge.registries.DeferredRegister<net.minecraft.world.item.alchemy.Potion> POTIONSThe Potions. -
NO_SUPER_LEASH
public static final net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion> NO_SUPER_LEASHThe constant NO_SUPER_LEASH. -
LONG_NO_SUPER_LEASH
public static final net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.alchemy.Potion> LONG_NO_SUPER_LEASHThe 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 namesupplier- the supplier- 返回:
- the registry object
-
getPotionNameKey
Gets potion name key.- 参数:
name- the Name of Potiontype- (char)
[
0 & 3 ~ 255 : potion
1 : lingering_potion
2 : splash_potion
]- 返回:
- Language Key
-
getTippedArrowNameKey
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
-