Class ContraptionSyncLimiting

java.lang.Object
com.simibubi.create.content.contraptions.data.ContraptionSyncLimiting

public class ContraptionSyncLimiting extends Object
  • Field Details

    • SIZE_LIMIT

      public static final int SIZE_LIMIT
      Contraption entity sync is limited by the clientbound custom payload limit, since that's what Forge's extended spawn packet uses. The NBT limit is irrelevant since it's bypassed on deserialization.
      See Also:
    • PACKET_FIXER_LIMIT

      public static final int PACKET_FIXER_LIMIT
      See Also:
    • XL_PACKETS_LIMIT

      public static final int XL_PACKETS_LIMIT
      See Also:
    • BUFFER

      public static final int BUFFER
      See Also:
    • LIMIT

      public static final int LIMIT
  • Constructor Details

    • ContraptionSyncLimiting

      public ContraptionSyncLimiting()
  • Method Details

    • writeSafe

      public static void writeSafe(net.minecraft.nbt.CompoundTag compound, net.minecraft.network.FriendlyByteBuf dst)