mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-17 02:55:02 +00:00
* wip backport of custom uniforms * Functioning custom uniforms maybe? * Workon separating dynamic/non-dynamic uniforms and making variables available to custom uniforms (currently the JVM dies horribly) * wip * It no longer crashes horrifically * star imports
14 lines
182 B
Java
14 lines
182 B
Java
package kroppeb.stareval;
|
|
|
|
import java.util.function.Consumer;
|
|
|
|
public class Util {
|
|
public static <T> T make(T item, Consumer<T> init) {
|
|
init.accept(item);
|
|
return item;
|
|
}
|
|
|
|
}
|
|
|
|
|