Index

C D E F G H I L P R S U W 
All Classes|All Packages

C

CHANNEL_REGISTERED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
An event for the client play network handler receiving an update indicating the connected server's ability to receive packets in certain channels.
CHANNEL_REGISTERED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
An event for the server play network handler receiving an update indicating the connected client's ability to receive packets in certain channels.
CHANNEL_UNREGISTERED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
An event for the client play network handler receiving an update indicating the connected server's lack of ability to receive packets in certain channels.
CHANNEL_UNREGISTERED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
An event for the server play network handler receiving an update indicating the connected client's lack of ability to receive packets in certain channels.
ChannelAware - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Represents an object that keeps track of a collection of channels.
ChannelHandler<C extends ListenerContext> - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Handles packets in a channel.
ClientContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1.client
Represents a context for packet reception on the logical client.
ClientLoginContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1.client
Represents the context for ClientNetworking.getLoginReceiver(), in which a login query request packest is received.
ClientNetworking - Class in io.github.fablabsmc.fablabs.api.networking.v1.client
Offers access to client-side networking functionalities.
ClientNetworking() - Constructor for class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
 
ClientPlayContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1.client
Represents the context for ClientNetworking.getPlayReceiver(), in which a server to client custom payload packet is received.
copy(ByteBuf) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.copy in a packet byte buf.
copy(ByteBuf, int, int) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.copy in a packet byte buf.
create() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Returns a new heap memory-backed instance of packet byte buf.

D

duplicate(ByteBuf) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.duplicate in a packet byte buf.

E

empty() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Returns an empty instance of packet byte buf.

F

free(PacketByteBuf) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.FutureListeners
Returns a future listener that releases a packet byte buf when the buffer has been sent to a remote connection.
FutureListeners - Class in io.github.fablabsmc.fablabs.api.networking.v1.util
Utilities for working with netty's future listeners.
FutureListeners() - Constructor for class io.github.fablabsmc.fablabs.api.networking.v1.util.FutureListeners
 

G

getChannels() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.ChannelAware
Returns a collection of channels this object is tracking.
getChannels() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketReceiver
Returns the collection of all channels that have handlers in this receiver.
getChannels() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PlayPacketSender
Returns the ids of all channels the recipient side of this sender has declared ability to receive.
getEngine() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientContext
Returns the game engine associated with the packet listener.
getEngine() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.ListenerContext
Returns the game engine associated with the packet listener.
getEngine() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerContext
Returns the game engine associated with the packet listener.
getListener() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientLoginContext
Returns the packet listener that received this packet.
getListener() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientPlayContext
Returns the packet listener that received this packet.
getListener() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.ListenerContext
Returns the packet listener that received this packet.
getListener() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerLoginContext
Returns the packet listener that received this packet.
getListener() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerPlayContext
Returns the packet listener that received this packet.
getLoginReceiver() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
Returns the packet receiver for channel handler registration on client login network handlers, receiving login query request packets.
getLoginReceiver() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the packet receiver for channel handler registration on server play network handlers, receiving login query response packets.
getLoginSender(ServerLoginNetworkHandler) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the login query packet sender for a server login network handler.
getPacketSender() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PlayContext
Returns the packet sender corresponding this context.
getPacketSender() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerLoginContext
Returns a packet sender that can send additional query request packets.
getPlayer() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientPlayContext
Returns a player associated with the current packet.
getPlayer() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PlayContext
Returns a player associated with the current packet.
getPlayer() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerPlayContext
Returns a player associated with the current packet.
getPlayReceiver() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
Returns the packet receiver for channel handler registration on client play network handlers, receiving server to client custom payload packets.
getPlayReceiver() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the packet receiver for channel handler registration on server play network handlers, receiving client to server custom payload packets.
getPlaySender() - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
Returns the packet sender for the current client player.
getPlaySender(ClientPlayNetworkHandler) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
Returns the packet sender for a client play network handler.
getPlaySender(ServerPlayerEntity) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the packet sender for a server player.
getPlaySender(ServerPlayNetworkHandler) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the packet sender for a server play network handler.
getServer(ServerLoginNetworkHandler) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the Minecraft Server of a server login network handler.
getServer(ServerPlayNetworkHandler) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
Returns the Minecraft Server of a server play network handler.

H

handle(L) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketListenerCallback
Receive the network handler.
handle(L, List<Identifier>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketChannelCallback
Receive the network handler and the channels.
hasChannel(Identifier) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.ChannelAware
Returns whether a channel is tracked by this object.
hasChannel(Identifier) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketReceiver
Returns whether a channel has a handler in this receiver.
hasChannel(Identifier) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PlayPacketSender
Returns if the recipient side of this sender has declared its ability to receive in a certain channel.

I

io.github.fablabsmc.fablabs.api.networking.v1 - package io.github.fablabsmc.fablabs.api.networking.v1
The Networking API, version 1.
io.github.fablabsmc.fablabs.api.networking.v1.client - package io.github.fablabsmc.fablabs.api.networking.v1.client
Client-side networking API.
io.github.fablabsmc.fablabs.api.networking.v1.server - package io.github.fablabsmc.fablabs.api.networking.v1.server
Server-side networking API.
io.github.fablabsmc.fablabs.api.networking.v1.util - package io.github.fablabsmc.fablabs.api.networking.v1.util
Utilities related to the Networking API.
isLocalChannel(Channel) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.FutureListeners
Returns whether a netty channel performs local transportation, or if the message objects in the channel are directly passed than written to and read from a byte buf.
isUnderstood() - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerLoginContext
Returns whether the original query request with the same query ID as this response was understood.

L

ListenerContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Represents a context for packet reception in a channel.
LOGIN_DISCONNECTED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
An event for the disconnection of the server login network handler.
LOGIN_QUERY_START - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
An event for the start of login queries of the server login network handler.

P

PacketByteBufs - Class in io.github.fablabsmc.fablabs.api.networking.v1.util
Utilities for working with packet byte bufs.
PacketChannelCallback<L extends net.minecraft.network.listener.PacketListener> - Interface in io.github.fablabsmc.fablabs.api.networking.v1
A callback that involves a network handler and a list of channels.
PacketListenerCallback<L extends net.minecraft.network.listener.PacketListener> - Interface in io.github.fablabsmc.fablabs.api.networking.v1
A callback that involves a network handler.
PacketReceiver<C extends ListenerContext> - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Associates packets to individual packet reception handlers by channel.
PacketSender - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Supports sending packets to channels.
PLAY_DISCONNECTED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
An event for the disconnection of the client play network handler.
PLAY_DISCONNECTED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
An event for the disconnection of the server play network handler.
PLAY_INITIALIZED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.client.ClientNetworking
An event for the initialization of the client play network handler.
PLAY_INITIALIZED - Static variable in class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
An event for the initialization of the server play network handler.
PlayContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Represents a context for packet reception in play stage of the game in a channel.
PlayPacketSender - Interface in io.github.fablabsmc.fablabs.api.networking.v1
Supports sending packets to channels in the play network handlers.

R

readBytes(ByteBuf, int) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.readBytes in a packet byte buf.
readRetainedSlice(ByteBuf, int) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.readRetainedSlice in a packet byte buf.
readSlice(ByteBuf, int) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.readSlice in a packet byte buf.
receive(C, PacketByteBuf) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.ChannelHandler
Receives a packet.
register(Identifier, ChannelHandler<? super C>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketReceiver
Registers a handler to a channel.
respond(CompletableFuture<? extends PacketByteBuf>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientLoginContext
Schedule to send a response to the server when the future is completed.
respond(CompletableFuture<? extends PacketByteBuf>, GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientLoginContext
Schedule to send a response to the server when the future is completed.
respond(PacketByteBuf) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientLoginContext
Sends a response to the server.
respond(PacketByteBuf, GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.client.ClientLoginContext
Sends a response to the server.
retainedDuplicate(ByteBuf) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.retainedDuplicate in a packet byte buf.
retainedSlice(ByteBuf) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.retainedSlice in a packet byte buf.
retainedSlice(ByteBuf, int, int) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.retainedSlice in a packet byte buf.
rethrow(Throwable) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.ChannelHandler

S

sendPacket(Identifier, PacketByteBuf) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketSender
Sends a packet to a channel.
sendPacket(Identifier, PacketByteBuf) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PlayPacketSender
Sends a packet to a channel.
sendPacket(Identifier, PacketByteBuf, GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketSender
Sends a packet to a channel.
sendPacket(Identifier, PacketByteBuf, GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PlayPacketSender
Sends a packet to a channel.
ServerContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1.server
Represents a context for packet reception on the logical server.
ServerLoginContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1.server
Represents the context for ServerNetworking.getLoginReceiver(), in which a login query response packet is received.
ServerNetworking - Class in io.github.fablabsmc.fablabs.api.networking.v1.server
Offers access to server-side networking functionalities.
ServerNetworking() - Constructor for class io.github.fablabsmc.fablabs.api.networking.v1.server.ServerNetworking
 
ServerPlayContext - Interface in io.github.fablabsmc.fablabs.api.networking.v1.server
Represents the context for ServerNetworking.getPlayReceiver(), in which a client to server custom payload packet is received.
slice(ByteBuf) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.slice in a packet byte buf.
slice(ByteBuf, int, int) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.PacketByteBufs
Wraps the newly created buf from buf.slice in a packet byte buf.

U

union(GenericFutureListener<A>, GenericFutureListener<B>) - Static method in class io.github.fablabsmc.fablabs.api.networking.v1.util.FutureListeners
Combines two future listeners.
unregister(Identifier) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.PacketReceiver
Removes the handler of a channel.

W

waitFor(Future<?>) - Method in interface io.github.fablabsmc.fablabs.api.networking.v1.server.ServerLoginContext
Allows blocking client log-in until the future is done.
C D E F G H I L P R S U W 
All Classes|All Packages