Package net.minheur.potoflux.utils
package net.minheur.potoflux.utils
-
ClassDescriptionUsed to add event listeners to mod event bus, without telling explicitly the eventClass to get a
Gson.
This allows to have less as possible in the project.Utility class for lambas, mainly used in loading modsThis defines a random object, but it can be locked (so unchangeable)Manages the log amount, storing and getting the valueUtility class to read online files.The smart supplier is aSupplierthat don't recreate the field each time.
Once the value is created from the SmartSupplier.supplier once, it is stored in SmartSupplier.value and given each time SmartSupplier.get() is used