rewrite initial sync

This commit is contained in:
Glease committed 2025-11-03 00:49:03 +08:00
1 parent 031665506c
commit e928e81acc
6 files changed
+101 -27

No files matched your search

@@ -7,12 +7,14 @@ import baubles.api.BaubleType;
import baubles.common.BaublesConfig;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.LoaderState;
import cpw.mods.fml.common.network.ByteBufUtils;
public class BaubleExpandedSlots {
//The total number of slots that can be added.
//Please keep in mind that increases to this limit are possible with minimal changes.
public static final int slotLimit = 20;
public static final int maxSlotIdBytes = ByteBufUtils.varIntByteCount(slotLimit);
//The type used in place of null.
public static final String invalidType = "";