Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ActiveClientConnection - Class in alexiil.mc.lib.net.impl
- ActiveClientConnection(ClientPlayNetworkHandler) - Constructor for class alexiil.mc.lib.net.impl.ActiveClientConnection
- ActiveConnection - Class in alexiil.mc.lib.net
-
An active game connection to a single receiver (and with a single sender).
- ActiveConnection(ParentNetId) - Constructor for class alexiil.mc.lib.net.ActiveConnection
- ActiveMinecraftConnection - Class in alexiil.mc.lib.net.impl
-
A connection to the other side - this is either an
ActiveClientConnection
or anActiveServerConnection
. - ActiveMinecraftConnection(PacketContext) - Constructor for class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- ActiveServerConnection - Class in alexiil.mc.lib.net.impl
-
A connection on the server side to a specific
ServerPlayerEntity
. - ActiveServerConnection(ServerPlayNetworkHandler) - Constructor for class alexiil.mc.lib.net.impl.ActiveServerConnection
- alexiil.mc.lib.net - package alexiil.mc.lib.net
-
LibNetworkStack's base library.
- alexiil.mc.lib.net.impl - package alexiil.mc.lib.net.impl
-
LibNetworkStack's minecraft-specific library.
- appendBufferData(ByteBuf, int, StringBuilder, String, int) - Static method in class alexiil.mc.lib.net.MsgUtil
- appender - Variable in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- apply(ClientPlayNetworkHandler) - Method in class alexiil.mc.lib.net.impl.CompactDataPacketToClient
- apply(ServerPlayNetworkHandler) - Method in class alexiil.mc.lib.net.impl.CompactDataPacketToServer
- asNetByteBuf(ByteBuf) - Static method in class alexiil.mc.lib.net.NetByteBuf
-
Returns the given
ByteBuf
asNetByteBuf
. - assertClientSide() - Method in interface alexiil.mc.lib.net.IMsgReadCtx
- assertClientSide() - Method in interface alexiil.mc.lib.net.IMsgWriteCtx
- assertServerSide() - Method in interface alexiil.mc.lib.net.IMsgReadCtx
- assertServerSide() - Method in interface alexiil.mc.lib.net.IMsgWriteCtx
B
- BLOCK_ENTITY - Static variable in class alexiil.mc.lib.net.impl.McNetworkStack
- BLOCK_HIT_RESULT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- BLOCK_POS - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- BlockEntityInitialData - Interface in alexiil.mc.lib.net.impl
-
This should be implemented by
BlockEntity
s that wish to send their own initial data packet to players individually, rather than usingBlockEntity#toInitialChunkDataTag()
orBlockEntity.toUpdatePacket()
. - BOOLEAN - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- buffer() - Static method in class alexiil.mc.lib.net.NetByteBuf
- buffer(int) - Static method in class alexiil.mc.lib.net.NetByteBuf
- buffered() - Method in class alexiil.mc.lib.net.NetIdBase
-
The inverse of
NetIdBase.notBuffered()
. - BufferedConnection - Class in alexiil.mc.lib.net
- BufferedConnection(ParentNetId, int) - Constructor for class alexiil.mc.lib.net.BufferedConnection
- BYTE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- BYTES - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
C
- CACHE_ITEMS_WITHOUT_AMOUNT - Static variable in class alexiil.mc.lib.net.impl.McNetworkStack
- changeFlag(int) - Method in class alexiil.mc.lib.net.NetIdBase
- CHAR - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- CheckingNetByteBuf - Class in alexiil.mc.lib.net
-
Debug variant of
NetByteBuf
that writes the method calls to ensure that it's a perfect mirror. - CheckingNetByteBuf(NetByteBuf, NetByteBuf) - Constructor for class alexiil.mc.lib.net.CheckingNetByteBuf
- CheckingNetByteBuf.InvalidNetTypeException - Exception in alexiil.mc.lib.net
-
Unchecked exception that's thrown when one of the types doesn't match.
- CheckingNetByteBuf.NetMethod - Enum Class in alexiil.mc.lib.net
-
A networking related method that wrote data to the buffer.
- child - Variable in class alexiil.mc.lib.net.DynamicNetLink
- child(String) - Method in class alexiil.mc.lib.net.ParentNetId
-
Returns a new
ParentNetId
with this as it's child. - child(String) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- childId - Variable in class alexiil.mc.lib.net.ParentDynamicNetId
- clazz - Variable in class alexiil.mc.lib.net.NetKeyMapper
- clazz - Variable in class alexiil.mc.lib.net.ParentNetIdSingle
-
The type of the object to be written and read.
- clear() - Method in class alexiil.mc.lib.net.NetByteBuf
- CLIENT - Enum constant in enum class alexiil.mc.lib.net.EnumNetSide
- CompactDataPacketToClient - Class in alexiil.mc.lib.net.impl
- CompactDataPacketToClient(int, byte[]) - Constructor for class alexiil.mc.lib.net.impl.CompactDataPacketToClient
- CompactDataPacketToClient(PacketByteBuf) - Constructor for class alexiil.mc.lib.net.impl.CompactDataPacketToClient
-
Used for reading
- CompactDataPacketToServer - Class in alexiil.mc.lib.net.impl
- CompactDataPacketToServer(int, byte[]) - Constructor for class alexiil.mc.lib.net.impl.CompactDataPacketToServer
- CompactDataPacketToServer(PacketByteBuf) - Constructor for class alexiil.mc.lib.net.impl.CompactDataPacketToServer
-
Used for reading
- COMPOUND_TAG - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- CONFIG_FILE_LOCATION - Static variable in class alexiil.mc.lib.net.LibNetworkStack
- CONFIG_RECORD_STACKTRACES - Static variable in class alexiil.mc.lib.net.LibNetworkStack
- CONFIG_RECORD_TYPES - Static variable in class alexiil.mc.lib.net.LibNetworkStack
- connection - Variable in class alexiil.mc.lib.net.MessageContext
- CONTAINER - Static variable in class alexiil.mc.lib.net.impl.McNetworkStack
-
Deprecated.
- copy() - Method in class alexiil.mc.lib.net.NetByteBuf
- CoreMinecraftNetUtil - Class in alexiil.mc.lib.net.impl
- CoreMinecraftNetUtil() - Constructor for class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- COUNT_HARDCODED_IDS - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
- create(C) - Method in interface alexiil.mc.lib.net.DynamicNetLink.IDynamicLinkFactory
- createIdentifierSet(Set<Identifier>) - Static method in class alexiil.mc.lib.net.NetObjectCacheSimple
- createMappedIdentifier(ParentNetId, Function<T, Identifier>, Function<Identifier, T>) - Static method in class alexiil.mc.lib.net.NetObjectCache
- createMappedIdentifier(ParentNetId, Function<T, Identifier>, Map<Identifier, T>) - Static method in class alexiil.mc.lib.net.NetObjectCache
- createMappedIdentifier(Map<Identifier, T>, Function<T, Identifier>) - Static method in class alexiil.mc.lib.net.NetObjectCacheSimple
- createPartiallyMappedIdentifier(Map<Identifier, T>, Function<T, Identifier>) - Static method in class alexiil.mc.lib.net.NetObjectCacheSimple
- ctx - Variable in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
-
Deprecated.
- CUSTOM_MARKER - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
-
Not a data type.
D
- DEBUG - Static variable in class alexiil.mc.lib.net.LibNetworkStack
- DEFAULT_FLAGS - Static variable in class alexiil.mc.lib.net.NetIdBase
- DOUBLE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- DOUBLE_LE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- drop() - Method in interface alexiil.mc.lib.net.IMsgReadCtx
-
Informs the supplier that this packet has been dropped (for any reason) and so there might be unread data left in the buffer.
- drop(String) - Method in interface alexiil.mc.lib.net.IMsgReadCtx
-
Informs the supplier that this packet has been dropped (for the given reason) and so there might be unread data left in the buffer.
- drop(String) - Method in class alexiil.mc.lib.net.MessageContext.Read
- dropReason - Variable in class alexiil.mc.lib.net.MessageContext.Read
-
A non-null value indicates that the read message was dropped.
- DYNAMIC_LENGTH - Static variable in class alexiil.mc.lib.net.TreeNetIdBase
- DynamicNetId<T> - Class in alexiil.mc.lib.net
- DynamicNetId(Class<T>, DynamicNetId.LinkAccessor<T>) - Constructor for class alexiil.mc.lib.net.DynamicNetId
- DynamicNetId.LinkAccessor<T> - Interface in alexiil.mc.lib.net
- DynamicNetLink<P,
C> - Class in alexiil.mc.lib.net -
The container object
- DynamicNetLink(ParentDynamicNetId<P, C>, P, C) - Constructor for class alexiil.mc.lib.net.DynamicNetLink
- DynamicNetLink.IDynamicLinkFactory<C> - Interface in alexiil.mc.lib.net
E
- EMPTY_BUFFER - Static variable in class alexiil.mc.lib.net.NetByteBuf
- ENABLE_QUEUE - Static variable in class alexiil.mc.lib.net.BufferedConnection
- ensureEmpty(ByteBuf, boolean, String) - Static method in class alexiil.mc.lib.net.MsgUtil
-
Checks to make sure that this buffer has been *completely* read (so that there are no readable bytes left over
- ENTITY - Static variable in class alexiil.mc.lib.net.impl.McNetworkStack
- ENUM - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- EnumNetSide - Enum Class in alexiil.mc.lib.net
-
The side of an
ActiveMinecraftConnection
. - equals(Object) - Method in class alexiil.mc.lib.net.TreeNetIdBase
- extractor(Class<U>, String, Function<U, T>, Function<T, U>) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- extractParent(C) - Method in class alexiil.mc.lib.net.ParentDynamicNetId
- extractParent(Sub) - Method in class alexiil.mc.lib.net.ParentNetIdCast
- extractParent(T) - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- extractParent(T) - Method in class alexiil.mc.lib.net.ParentNetIdDuelDirect
- extractParent(T) - Method in class alexiil.mc.lib.net.ParentNetIdExtractor
F
- FIXED_INT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- FLOAT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- FLOAT_LE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- fullName - Variable in class alexiil.mc.lib.net.TreeNetIdBase
-
Used for logging and display purposes only.
G
- getAbsoluteServerTick() - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
-
Gets the last received tick that the server has sent.
- getBitReaderIndex() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- getBitReaderIndex() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Bit version of
PacketByteBuf.readerIndex()
. - getBitWriterIndex() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- getBitWriterIndex() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Bit version of
PacketByteBuf.writerIndex()
. - getClientConnection() - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- getConnection() - Method in interface alexiil.mc.lib.net.IMsgCtx
- getConnection() - Method in class alexiil.mc.lib.net.MessageContext
- getConnection(PlayerEntity) - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- getCountRead() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- getCountWrite() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- getCurrentClientConnection() - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- getId(ActiveConnection, T) - Method in class alexiil.mc.lib.net.NetObjectCache
- getLink(T) - Method in interface alexiil.mc.lib.net.DynamicNetId.LinkAccessor
- getMinecraftContext() - Method in class alexiil.mc.lib.net.ActiveConnection
-
Deprecated.Replaced by the specific methods
ActiveConnection.getPlayer()
andActiveConnection.getNetSide()
. - getMinecraftContext() - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
-
Deprecated.
- getNearbyActiveConnections(BlockEntity, int) - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- getNetId() - Method in interface alexiil.mc.lib.net.IMsgCtx
- getNetId() - Method in class alexiil.mc.lib.net.MessageContext
- getNetSide() - Method in class alexiil.mc.lib.net.ActiveConnection
- getNetSide() - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- getNetSide() - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- getNetSide() - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- getNetSide() - Method in interface alexiil.mc.lib.net.IMsgCtx
- getObj(ActiveConnection, int) - Method in class alexiil.mc.lib.net.NetObjectCache
- getPlayer() - Method in class alexiil.mc.lib.net.ActiveConnection
- getPlayer() - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- getPlayer() - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- getPlayer() - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- getPlayersWatching(World, BlockPos) - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- getPrintableName() - Method in class alexiil.mc.lib.net.NetIdTyped
- getPrintableName() - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- getPrintableName() - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- getPrintableName() - Method in class alexiil.mc.lib.net.TreeNetIdBase
- getReadId() - Method in class alexiil.mc.lib.net.impl.CompactDataPacketToClient
- getReadId() - Method in class alexiil.mc.lib.net.impl.CompactDataPacketToServer
- getReadId() - Method in interface alexiil.mc.lib.net.impl.IPacketCustomId
- getRealClassName() - Method in class alexiil.mc.lib.net.TreeNetIdBase
- getServerTick() - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- getSmoothedServerTickDelta() - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- getSmoothedServerTickValue() - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
H
- handle(IMsgReadCtx) - Method in interface alexiil.mc.lib.net.NetIdSignal.IMsgSignalReceiver
- handle(T, IMsgReadCtx) - Method in interface alexiil.mc.lib.net.NetIdSignalK.IMsgSignalReceiverK
- hasFixedLength() - Method in class alexiil.mc.lib.net.TreeNetIdBase
- hashCode() - Method in class alexiil.mc.lib.net.TreeNetIdBase
- hasPackets() - Method in class alexiil.mc.lib.net.BufferedConnection
- hasTypeData() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
I
- id - Variable in class alexiil.mc.lib.net.MessageContext
- ID_INTERNAL_ALLOCATE_STACKTRACE_ELEMENT - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
Sent as part of
InternalMsgUtil.ID_INTERNAL_DEBUG_STACKTRACE
. - ID_INTERNAL_ALLOCATE_STATIC - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
The ID to allocate a new packet.
- ID_INTERNAL_DEBUG_STACKTRACE - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
Debug data with the stacktrace for the writer.
- ID_INTERNAL_DEBUG_TYPES - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
Debug data with type information for the next packet.
- ID_INTERNAL_NEW_BANDWIDTH - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
The ID to inform the other side of a connection about the bandwidth we want to send/receive.
- ID_INTERNAL_REQUEST_DEBUG_TYPES - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
Sent by a receiver who wishes to receive
InternalMsgUtil.ID_INTERNAL_DEBUG_TYPES
. - ID_INTERNAL_REQUEST_STACKTRACES - Static variable in class alexiil.mc.lib.net.InternalMsgUtil
-
Sent by a receiver who wishes to receive
InternalMsgUtil.ID_INTERNAL_DEBUG_STACKTRACE
. - idData(String) - Method in class alexiil.mc.lib.net.ParentNetId
-
Returns a new
NetIdData
(with this as it's parent) that can write an arbitrary length of data. - idData(String) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- idData(String, int) - Method in class alexiil.mc.lib.net.ParentNetId
-
Returns a new
NetIdData
(with this as it's parent) that must write exactly the given "length" bytes of data. - idData(String, int) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- idSignal(String) - Method in class alexiil.mc.lib.net.ParentNetId
-
Returns a new
NetIdSignal
(with this as it's parent) that won't write any data out: instead the mere presence of this packet should convey all of the information required. - idSignal(String) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- IMsgCtx - Interface in alexiil.mc.lib.net
- IMsgReadCtx - Interface in alexiil.mc.lib.net
- IMsgWriteCtx - Interface in alexiil.mc.lib.net
- index - Variable in exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- INT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- INT_LE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- InternalMsgUtil - Class in alexiil.mc.lib.net
- InternalMsgUtil() - Constructor for class alexiil.mc.lib.net.InternalMsgUtil
- InvalidInputDataException - Exception in alexiil.mc.lib.net
- InvalidInputDataException() - Constructor for exception alexiil.mc.lib.net.InvalidInputDataException
- InvalidInputDataException(String) - Constructor for exception alexiil.mc.lib.net.InvalidInputDataException
- InvalidInputDataException(String, Throwable) - Constructor for exception alexiil.mc.lib.net.InvalidInputDataException
- InvalidNetTypeException(CheckingNetByteBuf.NetMethod, int, String, String) - Constructor for exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- InvalidNetTypeException(CheckingNetByteBuf.NetMethod, CheckingNetByteBuf.NetMethod, int) - Constructor for exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- IPacketCustomId<T extends net.minecraft.network.listener.PacketListener> - Interface in alexiil.mc.lib.net.impl
- isClientSide() - Method in interface alexiil.mc.lib.net.IMsgCtx
- isRecordingMarkers() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- isRecordingMarkers() - Method in class alexiil.mc.lib.net.NetByteBuf
- isServerSide() - Method in interface alexiil.mc.lib.net.IMsgCtx
L
- length - Variable in class alexiil.mc.lib.net.NetKeyMapper
-
The known length in bytes of this key, or
NetKeyMapper.LENGTH_DYNAMIC
if this isn't a constant. - length - Variable in class alexiil.mc.lib.net.TreeNetIdBase
-
The length of this ID alone.
- LENGTH_DYNAMIC - Static variable in class alexiil.mc.lib.net.NetKeyMapper
- LibNetworkStack - Class in alexiil.mc.lib.net
- LibNetworkStack() - Constructor for class alexiil.mc.lib.net.LibNetworkStack
- LibNetworkStackClient - Class in alexiil.mc.lib.net
- LibNetworkStackClient() - Constructor for class alexiil.mc.lib.net.LibNetworkStackClient
- link(P, C) - Method in class alexiil.mc.lib.net.ParentDynamicNetId
- linkFactory(P) - Method in class alexiil.mc.lib.net.ParentDynamicNetId
- load() - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- loadClient() - Static method in class alexiil.mc.lib.net.impl.CoreMinecraftNetUtil
- LOGGER - Static variable in class alexiil.mc.lib.net.LibNetworkStack
- LONG - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- LONG_LE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
M
- MARKER_ID - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- markReaderIndex() - Method in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_S_INT_1_BYTE - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_S_INT_2_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_S_INT_3_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_S_INT_4_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_U_INT_1_BYTE - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_U_INT_2_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_U_INT_3_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAX_VAR_U_INT_4_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MAXIMUM_PRIORITY - Static variable in class alexiil.mc.lib.net.NetIdBase
-
This priority indicates that this should never be dropped on the sending side.
- maximumPacketSize() - Method in class alexiil.mc.lib.net.BufferedConnection
- McNetworkStack - Class in alexiil.mc.lib.net.impl
-
Holder for everything related to a normal minecraft connection.
- MEDIUM - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- MEDIUM_LE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- MessageContext - Class in alexiil.mc.lib.net
- MessageContext(ActiveConnection, NetIdBase) - Constructor for class alexiil.mc.lib.net.MessageContext
- MessageContext.Read - Class in alexiil.mc.lib.net
- MessageContext.Write - Class in alexiil.mc.lib.net
- MIN_VAR_S_INT_1_BYTE - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MIN_VAR_S_INT_2_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MIN_VAR_S_INT_3_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MIN_VAR_S_INT_4_BYTES - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MIN_VAR_U_INT_SMALL - Static variable in class alexiil.mc.lib.net.NetByteBuf
- MODID - Static variable in class alexiil.mc.lib.net.LibNetworkStack
- MsgUtil - Class in alexiil.mc.lib.net
-
Various utilities for reading and writing data
N
- name - Variable in class alexiil.mc.lib.net.TreeNetIdBase
-
The name - must be unique to the parent that uses it, so for top level mod packets this MUST include the modid.
- NetByteBuf - Class in alexiil.mc.lib.net
-
Special
PacketByteBuf
class that provides methods specific to "offset" reading and writing - like writing a single bit to the stream, and auto-compacting it with similar bits into a single byte. - NetByteBuf(ByteBuf) - Constructor for class alexiil.mc.lib.net.NetByteBuf
- NetByteBuf.SavedReaderIndex - Class in alexiil.mc.lib.net
- netHandler - Variable in class alexiil.mc.lib.net.impl.ActiveClientConnection
- netHandler - Variable in class alexiil.mc.lib.net.impl.ActiveServerConnection
- NetIdBase - Class in alexiil.mc.lib.net
-
A leaf node that will send and receive messages.
- NetIdData - Class in alexiil.mc.lib.net
- NetIdData(ParentNetId, String, int) - Constructor for class alexiil.mc.lib.net.NetIdData
- NetIdData.IMsgDataReceiver - Interface in alexiil.mc.lib.net
- NetIdData.IMsgDataWriter - Interface in alexiil.mc.lib.net
- NetIdDataK<T> - Class in alexiil.mc.lib.net
- NetIdDataK(ParentNetIdSingle<T>, String, int) - Constructor for class alexiil.mc.lib.net.NetIdDataK
- NetIdDataK.IMsgDataReceiverK<T> - Interface in alexiil.mc.lib.net
- NetIdDataK.IMsgDataWriterK<T> - Interface in alexiil.mc.lib.net
- NetIdSeparate - Class in alexiil.mc.lib.net
-
Base class for
NetIdData
andNetIdSignal
. - NetIdSignal - Class in alexiil.mc.lib.net
- NetIdSignal(ParentNetId, String) - Constructor for class alexiil.mc.lib.net.NetIdSignal
- NetIdSignal.IMsgSignalReceiver - Interface in alexiil.mc.lib.net
- NetIdSignalK<T> - Class in alexiil.mc.lib.net
- NetIdSignalK(ParentNetIdSingle<T>, String) - Constructor for class alexiil.mc.lib.net.NetIdSignalK
- NetIdSignalK.IMsgSignalReceiverK<T> - Interface in alexiil.mc.lib.net
- NetIdTyped<T> - Class in alexiil.mc.lib.net
- NetKeyMapper<T> - Class in alexiil.mc.lib.net
- NetKeyMapper(Class<T>) - Constructor for class alexiil.mc.lib.net.NetKeyMapper
- NetKeyMapper(Class<T>, int) - Constructor for class alexiil.mc.lib.net.NetKeyMapper
- NetKeyMapper.OfEnum<E extends Enum<E>> - Class in alexiil.mc.lib.net
- NetKeyMapper.ToString<T> - Class in alexiil.mc.lib.net
- NetObjectCache<T> - Class in alexiil.mc.lib.net
- NetObjectCache(ParentNetId, Hash.Strategy<T>, NetObjectCache.IEntrySerialiser<T>) - Constructor for class alexiil.mc.lib.net.NetObjectCache
- NetObjectCache.IEntrySerialiser<T> - Interface in alexiil.mc.lib.net
- NetObjectCacheSimple<T> - Class in alexiil.mc.lib.net
- NetObjectCacheSimple(Hash.Strategy<T>, NetObjectCache.IEntrySerialiser<T>) - Constructor for class alexiil.mc.lib.net.NetObjectCacheSimple
- NetObjectCacheSimple(Map<String, T>, Function<T, String>) - Constructor for class alexiil.mc.lib.net.NetObjectCacheSimple
- notBuffered() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the flags for this packet to indicate that it should never be buffered by a
BufferedConnection
. - notBuffered() - Method in class alexiil.mc.lib.net.NetObjectCache
O
- OfEnum(Class<E>) - Constructor for class alexiil.mc.lib.net.NetKeyMapper.OfEnum
- onIncrementMinecraftTickCounter(long) - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
-
Called by
MinecraftClientMixin
(ONLY) when minecraft increases it'sMinecraftClient.getTickDelta()
value. - onInitialize() - Method in class alexiil.mc.lib.net.LibNetworkStack
- onInitializeClient() - Method in class alexiil.mc.lib.net.LibNetworkStackClient
- onReceive(ActiveConnection, NetByteBuf) - Static method in class alexiil.mc.lib.net.InternalMsgUtil
- onReceiveRawData(NetByteBuf) - Method in class alexiil.mc.lib.net.ActiveConnection
- onReceiveRawData(NetByteBuf) - Method in class alexiil.mc.lib.net.BufferedConnection
P
- PACKET_ID - Static variable in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- parent - Variable in class alexiil.mc.lib.net.DynamicNetLink
- parent - Variable in class alexiil.mc.lib.net.NetIdTyped
- parent - Variable in class alexiil.mc.lib.net.ParentNetIdDuel
- parent - Variable in class alexiil.mc.lib.net.TreeNetIdBase
- ParentDynamicNetId<P,
C> - Class in alexiil.mc.lib.net - ParentDynamicNetId(ParentNetIdSingle<P>, String, DynamicNetId<C>, Function<P, C>) - Constructor for class alexiil.mc.lib.net.ParentDynamicNetId
- parentId - Variable in class alexiil.mc.lib.net.DynamicNetLink
- ParentNetId - Class in alexiil.mc.lib.net
-
A
parent node
that doesn't write any header information for it's children: the static context (given by theIMsgReadCtx
orIMsgWriteCtx
) should be enough. - ParentNetId(ParentNetId, String) - Constructor for class alexiil.mc.lib.net.ParentNetId
- ParentNetIdBase - Class in alexiil.mc.lib.net
-
The base type for all parent nodes - that is nodes used for organising the data that is sent (or for writing header information), but you can't send or receive data through this.
- ParentNetIdCast<Super,
Sub extends Super> - Class in alexiil.mc.lib.net - ParentNetIdCast(ParentNetIdSingle<Super>, String, Class<Sub>) - Constructor for class alexiil.mc.lib.net.ParentNetIdCast
- ParentNetIdDuel<Parent,
T> - Class in alexiil.mc.lib.net - ParentNetIdDuel(ParentNetIdSingle<Parent>, String, Class<T>) - Constructor for class alexiil.mc.lib.net.ParentNetIdDuel
- ParentNetIdDuel(ParentNetIdSingle<Parent>, String, Class<T>, int) - Constructor for class alexiil.mc.lib.net.ParentNetIdDuel
- ParentNetIdDuelDirect<T> - Class in alexiil.mc.lib.net
- ParentNetIdDuelDirect(ParentNetIdSingle<T>, String) - Constructor for class alexiil.mc.lib.net.ParentNetIdDuelDirect
- ParentNetIdExtractor<Parent,
T> - Class in alexiil.mc.lib.net - ParentNetIdExtractor(ParentNetIdSingle<Parent>, String, Class<T>, Function<T, Parent>, Function<Parent, T>) - Constructor for class alexiil.mc.lib.net.ParentNetIdExtractor
- ParentNetIdSingle<T> - Class in alexiil.mc.lib.net
-
A
parent node
that writes out the context for the receiver to obtain the same object. - ParentNetIdSingle(ParentNetId, Class<T>, String, int) - Constructor for class alexiil.mc.lib.net.ParentNetIdSingle
- postConstruct() - Method in class alexiil.mc.lib.net.ActiveConnection
- printWholeBuffer(ByteBuf) - Static method in class alexiil.mc.lib.net.MsgUtil
R
- read - Variable in exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- read(ActiveConnection, NetByteBuf) - Method in interface alexiil.mc.lib.net.NetObjectCache.IEntrySerialiser
- read(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.NetKeyMapper.OfEnum
- read(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.NetKeyMapper
-
Reads the value for the key from the buffer, optionally using the parent keys.
- read(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.NetKeyMapper.ToString
- read(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.NetObjectCacheSimple
- Read(ActiveConnection, NetIdBase) - Constructor for class alexiil.mc.lib.net.MessageContext.Read
- readArgs - Variable in exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- readBlockHitResult() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBlockPos() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBlockPos() - Method in class alexiil.mc.lib.net.NetByteBuf
- readBoolean() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBoolean() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Reads a single boolean from some position in this buffer.
- readByte() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBytes(byte[]) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBytes(byte[], int, int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBytes(int) - Method in class alexiil.mc.lib.net.NetByteBuf
- readBytes(ByteBuf) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readBytes(ByteBuf, int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readChar() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readContext(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.DynamicNetId
- readContext(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- readContext(NetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- readContext(NetByteBuf, IMsgReadCtx, P) - Method in class alexiil.mc.lib.net.ParentDynamicNetId
- readContext(NetByteBuf, IMsgReadCtx, Parent) - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- readContext(NetByteBuf, IMsgReadCtx, Parent) - Method in class alexiil.mc.lib.net.ParentNetIdExtractor
- readContext(NetByteBuf, IMsgReadCtx, Super) - Method in class alexiil.mc.lib.net.ParentNetIdCast
- readContext(NetByteBuf, IMsgReadCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdDuelDirect
- readDouble() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readDoubleLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readEnumConstant(Class<E>) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readEnumConstant(Class<E>) - Method in class alexiil.mc.lib.net.NetByteBuf
- readerIndex - Variable in class alexiil.mc.lib.net.NetByteBuf.SavedReaderIndex
- readFixedBits(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readFixedBits(int) - Method in class alexiil.mc.lib.net.NetByteBuf
- readFloat() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readFloatLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readIdentifier() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Deprecated.Because
PacketByteBuf.readIdentifier()
can throw anInvalidIdentifierException
, but - readIdentifierOrNull() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Like
NetByteBuf.readIdentifierSafe()
, but returns null instead of throwing an error if the read string was invalid. - readIdentifierSafe() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Reads in a string, and tries to parse it as an
Identifier
. - readInt() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readIntLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readKey(CheckingNetByteBuf, IMsgReadCtx) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- readLong() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readLongLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readMarker(String) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readMarker(String) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Reads a "marker" for debug purposes.
- readMarkerId(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readMarkerId(IMsgReadCtx, TreeNetIdBase) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readMedium() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readMediumLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readNbt() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readShort() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readShortLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readString() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readString() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Reads a string of up to
Short.MAX_VALUE
length. - readString(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedByte() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedInt() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedIntLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedMedium() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedMediumLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedShort() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUnsignedShortLE() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readUTF(NetByteBuf) - Static method in class alexiil.mc.lib.net.MsgUtil
- readVarInt() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readVarInt() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Reads out an integer using a variable number of bytes, assuming it was written by
NetByteBuf.writeVarInt(int)
- readVarLong() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readVarLong() - Method in class alexiil.mc.lib.net.NetByteBuf
- readVarUnsignedInt() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readVarUnsignedInt() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Exposes the vanilla method for reading an unsigned integer using a variable number of bytes.
- readVarUnsignedLong() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- readVarUnsignedLong() - Method in class alexiil.mc.lib.net.NetByteBuf
-
Exposes the vanilla method for reading an unsigned long integer using a variable number of bytes.
- receive(NetByteBuf, IMsgReadCtx) - Method in interface alexiil.mc.lib.net.NetIdData.IMsgDataReceiver
- receive(NetByteBuf, IMsgReadCtx, T) - Method in class alexiil.mc.lib.net.NetIdDataK
- receive(NetByteBuf, IMsgReadCtx, T) - Method in class alexiil.mc.lib.net.NetIdSignalK
- receive(NetByteBuf, IMsgReadCtx, T) - Method in class alexiil.mc.lib.net.NetIdTyped
- receive(T, NetByteBuf, IMsgReadCtx) - Method in interface alexiil.mc.lib.net.NetIdDataK.IMsgDataReceiverK
- recordReads() - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
-
Call this to make this use the typeData buffer to store the types read rather than written.
- resetReaderIndex() - Method in class alexiil.mc.lib.net.NetByteBuf
- resetReaderIndex(NetByteBuf.SavedReaderIndex) - Method in class alexiil.mc.lib.net.NetByteBuf
- ROOT - Static variable in class alexiil.mc.lib.net.impl.McNetworkStack
-
The root parent - everything must use as it's parent (somewhere up the chain) or it can never be written out to a minecraft connection.
S
- saveReaderIndex() - Method in class alexiil.mc.lib.net.NetByteBuf
- SCREEN_HANDLER - Static variable in class alexiil.mc.lib.net.impl.McNetworkStack
- send(ActiveConnection) - Method in class alexiil.mc.lib.net.NetIdData
-
Sends this signal over the specified connection
- send(ActiveConnection) - Method in class alexiil.mc.lib.net.NetIdSignal
-
Sends this signal over the specified connection
- send(ActiveConnection, NetIdBase, NetIdPath, NetByteBuf) - Static method in class alexiil.mc.lib.net.InternalMsgUtil
-
Sends a packet with it's priority set to it's default priority.
- send(ActiveConnection, NetIdBase, NetIdPath, NetByteBuf, int) - Static method in class alexiil.mc.lib.net.InternalMsgUtil
-
Sends a packet.
- send(ActiveConnection, NetIdData.IMsgDataWriter) - Method in class alexiil.mc.lib.net.NetIdData
- send(ActiveConnection, T) - Method in class alexiil.mc.lib.net.NetIdDataK
-
Sends this signal over the specified connection
- send(ActiveConnection, T) - Method in class alexiil.mc.lib.net.NetIdSignalK
-
Sends this signal over the specified connection
- send(ActiveConnection, T) - Method in class alexiil.mc.lib.net.NetIdTyped
-
Sends this net id over the specified connection
- send(ActiveConnection, T, NetIdDataK.IMsgDataWriterK<T>) - Method in class alexiil.mc.lib.net.NetIdDataK
- send(NetByteBuf) - Method in class alexiil.mc.lib.net.SingleConnection
- sendInitialData(ServerPlayerEntity) - Method in interface alexiil.mc.lib.net.impl.BlockEntityInitialData
- sendPacket(NetByteBuf, int, NetIdBase, int) - Method in class alexiil.mc.lib.net.ActiveConnection
- sendPacket(NetByteBuf, int, NetIdBase, int) - Method in class alexiil.mc.lib.net.BufferedConnection
- sendPacket(Packet<?>) - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- sendPacket(Packet<?>) - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- sendPacket(Packet<?>) - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- sendRawData0(NetByteBuf) - Method in class alexiil.mc.lib.net.BufferedConnection
-
Sends some raw data.
- sendRawData0(NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- sendTickPacket() - Method in class alexiil.mc.lib.net.BufferedConnection
-
Optional method for subclasses to send additional packet before the queue is flushed.
- sendTickPacket() - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- SERVER - Enum constant in enum class alexiil.mc.lib.net.EnumNetSide
- setBuffered(boolean) - Method in class alexiil.mc.lib.net.NetIdBase
- setLargeSize() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the size flags of this net ID to indicate that it should use three bytes for the packet's total length (including the header).
- setMaxBandwidth(int) - Method in class alexiil.mc.lib.net.BufferedConnection
- setMaximumDropDelay(int) - Method in class alexiil.mc.lib.net.NetIdBase
-
Sets the maximum time that this packet may be held before dropping it.
- setNormalSize() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the size flags of this net ID to indicate that it should use two bytes for the packet's total length (including the header).
- setReadWrite(NetIdData.IMsgDataReceiver, NetIdData.IMsgDataWriter) - Method in class alexiil.mc.lib.net.NetIdData
- setReadWrite(NetIdDataK.IMsgDataReceiverK<T>, NetIdDataK.IMsgDataWriterK<T>) - Method in class alexiil.mc.lib.net.NetIdDataK
- setReceiver(NetIdData.IMsgDataReceiver) - Method in class alexiil.mc.lib.net.NetIdData
- setReceiver(NetIdDataK.IMsgDataReceiverK<T>) - Method in class alexiil.mc.lib.net.NetIdDataK
- setReceiver(NetIdSignal.IMsgSignalReceiver) - Method in class alexiil.mc.lib.net.NetIdSignal
- setReceiver(NetIdSignalK.IMsgSignalReceiverK<T>) - Method in class alexiil.mc.lib.net.NetIdSignalK
- setTinySize() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the size flags of this net ID to indicate that it should use a single byte for the packet's total length (including the header).
- SHORT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- SHORT_LE - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- SingleConnection - Class in alexiil.mc.lib.net
- SingleConnection() - Constructor for class alexiil.mc.lib.net.SingleConnection
- STRING - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- subType(Class<U>, String) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
T
- tick() - Method in class alexiil.mc.lib.net.BufferedConnection
-
Ticks this connection, flushing all queued data that needs to be sent immediately.
- tick() - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- toClientOnly() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the flags for this packet to indicate that it should only be sent from the server to the client.
- toClientOnly() - Method in class alexiil.mc.lib.net.NetIdData
- toClientOnly() - Method in class alexiil.mc.lib.net.NetIdDataK
- toClientOnly() - Method in class alexiil.mc.lib.net.NetIdSignal
- toClientOnly() - Method in class alexiil.mc.lib.net.NetIdSignalK
- toCompactPacket(int, NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- toCompactPacket(int, NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- toCompactPacket(int, NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- toEitherSide() - Method in class alexiil.mc.lib.net.NetIdBase
-
This clears the
NetIdBase.toClientOnly()
andNetIdBase.toServerOnly()
flag states, and will make sending packets not throw exceptions. - toEitherSide() - Method in class alexiil.mc.lib.net.NetIdData
- toEitherSide() - Method in class alexiil.mc.lib.net.NetIdDataK
- toEitherSide() - Method in class alexiil.mc.lib.net.NetIdSignal
- toEitherSide() - Method in class alexiil.mc.lib.net.NetIdSignalK
- toNormalPacket(NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- toNormalPacket(NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveMinecraftConnection
- toNormalPacket(NetByteBuf) - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- toServerOnly() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the flags for this packet to indicate that it should only be sent from the client to the server.
- toServerOnly() - Method in class alexiil.mc.lib.net.NetIdData
- toServerOnly() - Method in class alexiil.mc.lib.net.NetIdDataK
- toServerOnly() - Method in class alexiil.mc.lib.net.NetIdSignal
- toServerOnly() - Method in class alexiil.mc.lib.net.NetIdSignalK
- toString() - Method in class alexiil.mc.lib.net.impl.ActiveClientConnection
- toString() - Method in class alexiil.mc.lib.net.impl.ActiveServerConnection
- toString() - Method in class alexiil.mc.lib.net.TreeNetIdBase
- ToString(Class<T>, Function<T, String>, Function<String, T>) - Constructor for class alexiil.mc.lib.net.NetKeyMapper.ToString
- totalLength - Variable in class alexiil.mc.lib.net.TreeNetIdBase
-
Full length including all parents.
- TreeNetIdBase - Class in alexiil.mc.lib.net
-
The base class for all networking ID's.
- TreeNetIdBase(ParentNetIdBase, String, int) - Constructor for class alexiil.mc.lib.net.TreeNetIdBase
V
- valueOf(String) - Static method in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class alexiil.mc.lib.net.EnumNetSide
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class alexiil.mc.lib.net.EnumNetSide
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VAR_INT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- VAR_LONG - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- VAR_UINT - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- VAR_ULONG - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
W
- withLargeSize() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the size flags of this net ID to indicate that it should use three bytes for the packet's total length (including the header).
- withLargeSize() - Method in class alexiil.mc.lib.net.NetIdData
- withLargeSize() - Method in class alexiil.mc.lib.net.NetIdDataK
- withLargeSize() - Method in class alexiil.mc.lib.net.NetIdSignal
- withLargeSize() - Method in class alexiil.mc.lib.net.NetIdSignalK
- withNormalSize() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the size flags of this net ID to indicate that it should use two bytes for the packet's total length (including the header).
- withNormalSize() - Method in class alexiil.mc.lib.net.NetIdData
- withNormalSize() - Method in class alexiil.mc.lib.net.NetIdDataK
- withNormalSize() - Method in class alexiil.mc.lib.net.NetIdSignal
- withNormalSize() - Method in class alexiil.mc.lib.net.NetIdSignalK
- withoutBuffering() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the flags for this packet to indicate that it should never be buffered by a
BufferedConnection
. - withoutBuffering() - Method in class alexiil.mc.lib.net.NetIdData
- withoutBuffering() - Method in class alexiil.mc.lib.net.NetIdDataK
- withoutBuffering() - Method in class alexiil.mc.lib.net.NetIdSignal
- withoutBuffering() - Method in class alexiil.mc.lib.net.NetIdSignalK
- withTinySize() - Method in class alexiil.mc.lib.net.NetIdBase
-
Changes the size flags of this net ID to indicate that it should use a single byte for the packet's total length (including the header).
- withTinySize() - Method in class alexiil.mc.lib.net.NetIdData
- withTinySize() - Method in class alexiil.mc.lib.net.NetIdDataK
- withTinySize() - Method in class alexiil.mc.lib.net.NetIdSignal
- withTinySize() - Method in class alexiil.mc.lib.net.NetIdSignalK
- write(NetByteBuf, IMsgWriteCtx) - Method in interface alexiil.mc.lib.net.NetIdData.IMsgDataWriter
- write(NetByteBuf, IMsgWriteCtx, E) - Method in class alexiil.mc.lib.net.NetKeyMapper.OfEnum
- write(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.NetKeyMapper.ToString
- write(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.NetKeyMapper
- write(PacketByteBuf) - Method in class alexiil.mc.lib.net.impl.CompactDataPacketToClient
- write(PacketByteBuf) - Method in class alexiil.mc.lib.net.impl.CompactDataPacketToServer
- write(T, ActiveConnection, NetByteBuf) - Method in interface alexiil.mc.lib.net.NetObjectCache.IEntrySerialiser
- write(T, NetByteBuf, IMsgWriteCtx) - Method in interface alexiil.mc.lib.net.NetIdDataK.IMsgDataWriterK
- write(T, NetByteBuf, IMsgWriteCtx) - Method in class alexiil.mc.lib.net.NetObjectCacheSimple
- Write(ActiveConnection, NetIdBase) - Constructor for class alexiil.mc.lib.net.MessageContext.Write
- writeArgs - Variable in exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
- writeBlockHitResult(BlockHitResult) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBlockPos(BlockPos) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBlockPos(BlockPos) - Method in class alexiil.mc.lib.net.NetByteBuf
- writeBoolean(boolean) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBoolean(boolean) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Writes a single boolean out to some position in this buffer.
- writeByte(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBytes(byte[]) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBytes(byte[], int, int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBytes(ByteBuf) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeBytes(ByteBuf, int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeChar(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeContext(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.DynamicNetId
- writeContext(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- writeContext(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- writeContext0(NetByteBuf, IMsgWriteCtx, C) - Method in class alexiil.mc.lib.net.ParentDynamicNetId
- writeContext0(NetByteBuf, IMsgWriteCtx, Sub) - Method in class alexiil.mc.lib.net.ParentNetIdCast
- writeContext0(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- writeContext0(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdDuelDirect
- writeContext0(NetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdExtractor
- writeDouble(double) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeDoubleLE(double) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeDynamicContext(CheckingNetByteBuf, IMsgWriteCtx, C, List<TreeNetIdBase>) - Method in class alexiil.mc.lib.net.ParentDynamicNetId
- writeDynamicContext(CheckingNetByteBuf, IMsgWriteCtx, T, List<TreeNetIdBase>) - Method in class alexiil.mc.lib.net.DynamicNetId
- writeDynamicContext(CheckingNetByteBuf, IMsgWriteCtx, T, List<TreeNetIdBase>) - Method in class alexiil.mc.lib.net.ParentNetIdDuel
- writeDynamicContext(CheckingNetByteBuf, IMsgWriteCtx, T, List<TreeNetIdBase>) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- writeEnumConstant(Enum<?>) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeEnumConstant(Enum<?>) - Method in class alexiil.mc.lib.net.NetByteBuf
- writeFixedBits(int, int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeFixedBits(int, int) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Writes a fixed number of bits out to the stream.
- writeFloat(float) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeFloatLE(float) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeIdentifier(Identifier) - Method in class alexiil.mc.lib.net.NetByteBuf
- writeInt(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeIntLE(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeKey(CheckingNetByteBuf, IMsgWriteCtx, T) - Method in class alexiil.mc.lib.net.ParentNetIdSingle
- writeLong(long) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeLongLE(long) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeMarker(String) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeMarker(String) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Writes a "marker" for debug purposes.
- writeMarkerId(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeMedium(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeMediumLE(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeNbt(NbtCompound) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeShort(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeShortLE(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeString(String) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeString(String, int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeUTF(NetByteBuf, String) - Static method in class alexiil.mc.lib.net.MsgUtil
- writeVarInt(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeVarInt(int) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Writes out an integer using a variable number of bytes.
- writeVarLong(long) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeVarLong(long) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Writes out a long integer using a variable number of bytes.
- writeVarUnsignedInt(int) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeVarUnsignedInt(int) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Exposes the vanilla method for writing out an unsigned integer using a variable number of bytes.
- writeVarUnsignedLong(long) - Method in class alexiil.mc.lib.net.CheckingNetByteBuf
- writeVarUnsignedLong(long) - Method in class alexiil.mc.lib.net.NetByteBuf
-
Exposes the vanilla method for writing out an unsigned long integer using a variable number of bytes.
- written - Variable in exception alexiil.mc.lib.net.CheckingNetByteBuf.InvalidNetTypeException
_
- __UNUSED__1 - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- __UNUSED__2 - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- __UNUSED__3 - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- __UNUSED__4 - Enum constant in enum class alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod
- _toClientOnly() - Method in class alexiil.mc.lib.net.NetIdBase
-
Impl for
NetIdBase.toClientOnly()
- _toEitherSide() - Method in class alexiil.mc.lib.net.NetIdBase
-
Impl for
NetIdBase.toEitherSide()
- _toServerOnly() - Method in class alexiil.mc.lib.net.NetIdBase
-
Impl for
NetIdBase.toServerOnly()
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
McNetworkStack.SCREEN_HANDLER
instead, due to the yarn name change.