Package net.neoforged.neoforge.oldtest
Class 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.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
private static final DeferredHolder
<MobEffect, MobEffect> private static final org.apache.logging.log4j.Logger
private static final DeferredRegister
<MobEffect> (package private) static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
-
Field Details
-
MODID
- See Also:
-
ENABLED
private static final boolean ENABLED- See Also:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
MOB_EFFECTS
-
LAST_EFFECT
-
-
Constructor Details
-
ManyMobEffectsTest
public ManyMobEffectsTest(net.neoforged.bus.api.IEventBus modBus)
-
-
Method Details
-
mobInteract
-