Package codechicken.lib.packet
Class PacketCustomChannel
java.lang.Object
codechicken.lib.packet.PacketCustomChannel
Deprecated, for removal: This API element is subject to removal in a future version.
Created by covers1624 on 3/7/24.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.resources.IdentifierDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionPacketCustomChannel(net.minecraft.resources.Identifier channel) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.clientConfiguration(Supplier<Supplier<ICustomPacketHandler.IClientConfigurationPacketHandler>> supplier) Deprecated, for removal: This API element is subject to removal in a future version.voidinit(net.neoforged.bus.api.IEventBus modBus) Deprecated, for removal: This API element is subject to removal in a future version.optional()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
channel
public final net.minecraft.resources.Identifier channelDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
PacketCustomChannel
public PacketCustomChannel(net.minecraft.resources.Identifier channel) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
versioned
Deprecated, for removal: This API element is subject to removal in a future version. -
optional
Deprecated, for removal: This API element is subject to removal in a future version. -
clientConfiguration
public PacketCustomChannel clientConfiguration(Supplier<Supplier<ICustomPacketHandler.IClientConfigurationPacketHandler>> supplier) Deprecated, for removal: This API element is subject to removal in a future version. -
client
public PacketCustomChannel client(Supplier<Supplier<ICustomPacketHandler.IClientPacketHandler>> supplier) Deprecated, for removal: This API element is subject to removal in a future version. -
server
public PacketCustomChannel server(Supplier<Supplier<ICustomPacketHandler.IServerPacketHandler>> supplier) Deprecated, for removal: This API element is subject to removal in a future version. -
init
public void init(net.neoforged.bus.api.IEventBus modBus) Deprecated, for removal: This API element is subject to removal in a future version.
-