public class MessageWrapperFabric
extends mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<net.minecraft.world.entity.player.Player,net.fabricmc.fabric.api.networking.v1.PacketSender>
mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI.Client<PLAYER,CTX>, mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI.ClientLogin<PLAYER,CTX>, mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI.Server<PLAYER,CTX>, mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI.ServerLogin<PLAYER,CTX>| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.resources.ResourceLocation |
ID |
protected static net.minecraft.resources.ResourceLocation |
ID_CLIENT_LOGIN |
protected static net.minecraft.resources.ResourceLocation |
ID_CLIENT_PLAY |
protected static java.lang.String |
ID_PATH |
protected static net.minecraft.resources.ResourceLocation |
ID_SERVER_LOGIN |
protected static net.minecraft.resources.ResourceLocation |
ID_SERVER_PLAY |
protected net.minecraft.resources.ResourceLocation |
registryName |
infoBOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER| Modifier | Constructor and Description |
|---|---|
protected |
MessageWrapperFabric(net.minecraft.resources.ResourceLocation registryName) |
protected |
MessageWrapperFabric(net.minecraft.resources.ResourceLocation registryName,
io.netty.buffer.ByteBuf buf) |
| Modifier and Type | Method and Description |
|---|---|
static MessageWrapperFabric |
getInstance() |
static MessageWrapperFabric |
getInstance(io.netty.buffer.ByteBuf buf) |
static MessageWrapperFabric |
getInstance(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network,
java.lang.Object dir) |
static MessageWrapperFabric |
getInstance(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network,
java.lang.Object dir,
io.netty.buffer.ByteBuf buf) |
static net.minecraft.resources.ResourceLocation |
getRegistryName(boolean client,
boolean login) |
protected static boolean |
isClient(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network,
java.lang.Object dir) |
protected static boolean |
isLogin(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network,
java.lang.Object dir) |
classToDir, decode, decodeMessage, decodeMessage, decoder, decoder, dirName, disableDebug, enableDebug, encode, encoder, getClass, getClass, getDir, getInstance, getInstance, getMissingDecoders, getOppositeDir, getOrInitMissingDecoders, handle, handler, handler, initMissingDecoderCollection, innerDecoder, markFoundMissingDecoder, markMissingDecoder, send, setMessage, setMessages, setMessages, setPlayer, setPlayers, setPlayersprotected static final java.lang.String ID_PATH
public static final net.minecraft.resources.ResourceLocation ID
protected static final net.minecraft.resources.ResourceLocation ID_CLIENT_LOGIN
protected static final net.minecraft.resources.ResourceLocation ID_CLIENT_PLAY
protected static final net.minecraft.resources.ResourceLocation ID_SERVER_LOGIN
protected static final net.minecraft.resources.ResourceLocation ID_SERVER_PLAY
protected final net.minecraft.resources.ResourceLocation registryName
protected MessageWrapperFabric(net.minecraft.resources.ResourceLocation registryName)
protected MessageWrapperFabric(net.minecraft.resources.ResourceLocation registryName,
io.netty.buffer.ByteBuf buf)
public static MessageWrapperFabric getInstance()
public static MessageWrapperFabric getInstance(io.netty.buffer.ByteBuf buf)
public static MessageWrapperFabric getInstance(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network, java.lang.Object dir)
public static MessageWrapperFabric getInstance(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network, java.lang.Object dir, io.netty.buffer.ByteBuf buf)
protected static boolean isClient(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network,
java.lang.Object dir)
protected static boolean isLogin(mods.thecomputerizer.theimpossiblelibrary.api.network.NetworkAPI<?,?> network,
java.lang.Object dir)
public static net.minecraft.resources.ResourceLocation getRegistryName(boolean client,
boolean login)