Package com.jozufozu.flywheel.util
Class CodecUtil
java.lang.Object
com.jozufozu.flywheel.util.CodecUtil
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CodecUtil
public CodecUtil()
-
-
Method Details
-
oneOrMore
public static <T> com.mojang.serialization.Codec<List<T>> oneOrMore(com.mojang.serialization.Codec<T> codec) Creates a list codec that can be parsed from either a single element or a complete list.
-