Class TwoSidedPayloadData

java.lang.Object
team.lodestar.lodestone.systems.network.LodestoneNetworkPayloadData
team.lodestar.lodestone.systems.network.TwoSidedPayloadData
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public abstract class TwoSidedPayloadData extends LodestoneNetworkPayloadData
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    handleClient(net.neoforged.neoforge.network.handling.IPayloadContext context)
     
    abstract void
    handleServer(net.neoforged.neoforge.network.handling.IPayloadContext context)
     

    Methods inherited from class team.lodestar.lodestone.systems.network.LodestoneNetworkPayloadData

    serialize, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound
  • Constructor Details

    • TwoSidedPayloadData

      public TwoSidedPayloadData()
  • Method Details

    • handleClient

      public abstract void handleClient(net.neoforged.neoforge.network.handling.IPayloadContext context)
    • handleServer

      public abstract void handleServer(net.neoforged.neoforge.network.handling.IPayloadContext context)