Package tschipp.linear.networking
Interface PacketBase
- All Superinterfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload
- All Known Implementing Classes:
ClientboundModeUnlockedPacket,ClientboundSyncStatePacket,ServerboundBuildLinePacket,ServerboundSetBuildingPacket,ServerboundSetModePacket
public interface PacketBase
extends net.minecraft.network.protocol.common.custom.CustomPacketPayload
-
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> -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(net.minecraft.world.entity.player.Player player) Runs on the main thread.Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
type
-
Method Details
-
handle
void handle(net.minecraft.world.entity.player.Player player) Runs on the main thread.playeris the sender, or the local player for clientbound packets.
-