类 ManyMobEffectsTest
java.lang.Object
net.neoforged.neoforge.oldtest.ManyMobEffectsTest
Registers 255 mob effects that log every tick on the client.
Used to test the patches for saving MobEffects to NBT.
To verify correct function:
- Check that the Potion item and suspicious stew item provided via the creative tab function correctly
- Check that the effect given by the above items can persist on an entity as well as on ItemStacks in inventories
- Right click a Mushroom Cow using the above given Potion Item. Verify that it obtained the effect by right-clicking
it again using an empty hand before and after reloading the world.
-
字段概要
字段修饰符和类型字段说明private static final boolean
private static final DeferredHolder
<MobEffect, MobEffect> private static final org.apache.logging.log4j.Logger
private static final DeferredRegister
<MobEffect> (专用程序包) static final String
-
构造器概要
构造器 -
方法概要
-
字段详细资料
-
MODID
- 另请参阅:
-
ENABLED
private static final boolean ENABLED- 另请参阅:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
MOB_EFFECTS
-
LAST_EFFECT
-
-
构造器详细资料
-
ManyMobEffectsTest
public ManyMobEffectsTest(net.neoforged.bus.api.IEventBus modBus)
-
-
方法详细资料
-
mobInteract
-