Uses of Enum Class
net.minecraftforge.network.NetworkDirection
Packages that use NetworkDirection
-
Uses of NetworkDirection in net.minecraftforge.event.network
Fields in net.minecraftforge.event.network declared as NetworkDirectionModifier and TypeFieldDescriptionprivate final NetworkDirectionCustomPayloadEvent.Context.networkDirectionTheNetworkDirectionthis message has been received on.Methods in net.minecraftforge.event.network that return NetworkDirectionConstructors in net.minecraftforge.event.network with parameters of type NetworkDirection -
Uses of NetworkDirection in net.minecraftforge.network
Fields in net.minecraftforge.network declared as NetworkDirectionModifier and TypeFieldDescriptionprivate final NetworkDirectionPacketDistributor.directionThe field for thedirectionrecord component.private final NetworkDirectionPacketDistributor.PacketTarget.directionThe field for thedirectionrecord component.private static final NetworkDirection[]NetworkDirection.valuesFields in net.minecraftforge.network with type parameters of type NetworkDirectionModifier and TypeFieldDescriptionprivate final Optional<NetworkDirection>SimpleChannel.Message.directionThe field for thedirectionrecord component.private final Optional<NetworkDirection>SimpleChannel.MessageBuilder.directionprivate static final it.unimi.dsi.fastutil.objects.Reference2ReferenceArrayMap<Class<? extends Packet>,NetworkDirection> NetworkDirection.packetLookupMethods in net.minecraftforge.network that return NetworkDirectionModifier and TypeMethodDescriptionPacketDistributor.direction()Returns the value of thedirectionrecord component.PacketDistributor.PacketTarget.direction()Returns the value of thedirectionrecord component.static <T extends ICustomPacket<?>>
NetworkDirectionNetworkDirection.directionFor(Class<T> customPacket) default NetworkDirectionICustomPacket.getDirection()NetworkDirection.reply()static NetworkDirectionReturns the enum constant of this class with the specified name.static NetworkDirection[]NetworkDirection.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraftforge.network that return types with arguments of type NetworkDirectionModifier and TypeMethodDescriptionSimpleChannel.Message.direction()Returns the value of thedirectionrecord component.Methods in net.minecraftforge.network with parameters of type NetworkDirectionModifier and TypeMethodDescription<M> SimpleChannel.MessageBuilder<M>SimpleChannel.messageBuilder(Class<M> type, int discriminator, NetworkDirection direction) Build a new MessageBuilder.<M> SimpleChannel.MessageBuilder<M>SimpleChannel.messageBuilder(Class<M> type, NetworkDirection direction) Build a new MessageBuilder, using the next available discriminator.Constructors in net.minecraftforge.network with parameters of type NetworkDirectionModifierConstructorDescriptionprivateMessageBuilder(SimpleChannel channel, Class<MSG> type, int id, @Nullable NetworkDirection networkDirection) PacketDistributor(BiFunction<PacketDistributor<T>, T, Consumer<Packet<?>>> functor, NetworkDirection direction) Creates an instance of aPacketDistributorrecord class.PacketTarget(Consumer<Packet<?>> packetConsumer, NetworkDirection direction) Creates an instance of aPacketTargetrecord class.Constructor parameters in net.minecraftforge.network with type arguments of type NetworkDirectionModifierConstructorDescriptionprivateMessage(int index, Class<MSG> type, Optional<NetworkDirection> direction, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, CustomPayloadEvent.Context> consumer) Creates an instance of aMessagerecord class.