Class ConfigByteBufUtil
java.lang.Object
net.frozenblock.lib.config.api.sync.network.ConfigByteBufUtil
- Since:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TreadJankson(@NotNull net.minecraft.network.FriendlyByteBuf buf, String modId, String className) static <T> voidwriteJankson(@NotNull net.minecraft.network.FriendlyByteBuf buf, String modId, T data)
-
Method Details
-
readJankson
public static <T> T readJankson(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buf, String modId, String className) throws blue.endless.jankson.api.SyntaxError, ClassNotFoundException - Throws:
blue.endless.jankson.api.SyntaxErrorClassNotFoundException
-
writeJankson
public static <T> void writeJankson(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buf, String modId, T data)
-