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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(@NotNull ServerboundVehicleSteeringPayload payload, @NotNull net.neoforged.neoforge.network.handling.IPayloadContext context) Handles the payload with the supplied context.
-
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.IPayloadHandlerHandles the payload with the supplied context.The thread the supplied handler executes in depends on the
HandlerThreadset inPayloadRegistrar.executesOn(net.neoforged.neoforge.network.registration.HandlerThread).- Specified by:
handlein interfacenet.neoforged.neoforge.network.handling.IPayloadHandler<ServerboundVehicleSteeringPayload>
-