Package | Description |
---|---|
net.minecraftforge.fml.network | |
net.minecraftforge.fml.network.simple |
Modifier and Type | Field and Description |
---|---|
(package private) static SimpleChannel |
FMLNetworkConstants.handshakeChannel |
(package private) static SimpleChannel |
FMLNetworkConstants.playChannel |
Modifier and Type | Method and Description |
---|---|
static SimpleChannel |
NetworkInitialization.getHandshakeChannel() |
static SimpleChannel |
NetworkInitialization.getPlayChannel() |
static SimpleChannel |
NetworkRegistry.newSimpleChannel(ResourceLocation name,
java.util.function.Supplier<java.lang.String> networkProtocolVersion,
java.util.function.Predicate<java.lang.String> clientAcceptedVersions,
java.util.function.Predicate<java.lang.String> serverAcceptedVersions)
Create a new
SimpleChannel . |
SimpleChannel |
NetworkRegistry.ChannelBuilder.simpleChannel()
Build a new
SimpleChannel with this builder's configuration. |
Modifier and Type | Field and Description |
---|---|
private SimpleChannel |
SimpleChannel.MessageBuilder.channel |
Modifier and Type | Method and Description |
---|---|
private static <MSG> SimpleChannel.MessageBuilder<MSG> |
SimpleChannel.MessageBuilder.forType(SimpleChannel channel,
java.lang.Class<MSG> type,
int id,
NetworkDirection networkDirection) |