Class NeoForgeQuirkyVehiclesPayloadsHandler

java.lang.Object
eu.comosus.ananas.quirkyvehiclesframework.network.NeoForgeQuirkyVehiclesPayloadsHandler
All Implemented Interfaces:
net.neoforged.neoforge.network.handling.IPayloadHandler<ServerboundVehicleSteeringPayload>

public class NeoForgeQuirkyVehiclesPayloadsHandler extends Object implements net.neoforged.neoforge.network.handling.IPayloadHandler<ServerboundVehicleSteeringPayload>
  • Constructor Details

    • NeoForgeQuirkyVehiclesPayloadsHandler

      public NeoForgeQuirkyVehiclesPayloadsHandler()
  • Method Details

    • handle

      public void handle(@NotNull @NotNull ServerboundVehicleSteeringPayload payload, @NotNull @NotNull net.neoforged.neoforge.network.handling.IPayloadContext context)
      Description copied from interface: net.neoforged.neoforge.network.handling.IPayloadHandler
      Handles the payload with the supplied context.

      The thread the supplied handler executes in depends on the HandlerThread set in PayloadRegistrar.executesOn(net.neoforged.neoforge.network.registration.HandlerThread).

      Specified by:
      handle in interface net.neoforged.neoforge.network.handling.IPayloadHandler<ServerboundVehicleSteeringPayload>