java.lang.Object
com.pixelmonmod.pixelmon.api.util.helpers.MapHelper

public class MapHelper extends Object
  • Constructor Details

    • MapHelper

      public MapHelper()
  • Method Details

    • writeStringStringMapToByteBuf

      public static void writeStringStringMapToByteBuf(net.minecraft.network.FriendlyByteBuf buf, HashMap<String,String> map)
    • readStringStringMapFromByteBuf

      public static HashMap<String,String> readStringStringMapFromByteBuf(net.minecraft.network.FriendlyByteBuf buf)
    • writeStringLongMapToByteBuf

      public static void writeStringLongMapToByteBuf(net.minecraft.network.FriendlyByteBuf buf, HashMap<String,Long> map)
    • readStringLongMapFromByteBuf

      public static HashMap<String,Long> readStringLongMapFromByteBuf(net.minecraft.network.FriendlyByteBuf buf)