Class ParticleAnimationLib
java.lang.Object
me.emafire003.dev.particleanimationlib.ParticleAnimationLib
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParticleAnimationLib(net.neoforged.bus.api.IEventBus modEventBus, net.neoforged.fml.ModContainer modContainer) -
Method Summary
Modifier and TypeMethodDescriptionvoidonServerStarting(net.neoforged.neoforge.event.server.ServerStartingEvent event) static voidsetImageCacheFolder(File folder) Specify a Custom folder where loaded images are going to be cached.
-
Field Details
-
MOD_ID
- See Also:
-
LOGGER
public static final org.slf4j.Logger LOGGER -
DEFAULT_CHACE_PATH
-
SERVER_INSTANCE
public static net.minecraft.server.MinecraftServer SERVER_INSTANCE
-
-
Constructor Details
-
ParticleAnimationLib
public ParticleAnimationLib(net.neoforged.bus.api.IEventBus modEventBus, net.neoforged.fml.ModContainer modContainer)
-
-
Method Details
-
onServerStarting
public void onServerStarting(net.neoforged.neoforge.event.server.ServerStartingEvent event) -
setImageCacheFolder
Specify a Custom folder where loaded images are going to be cached. Defaults to: config/particleanimationlib_cache/
-