Index
All Classes and Interfaces|All Packages
C
- channelRead(ChannelHandlerContext, Object) - Method in class net.mcbrawls.inject.api.Injector
E
- equals(Object) - Method in record class net.mcbrawls.inject.api.InjectorContext
-
Indicates whether some other object is "equal to" this one.
H
- hashCode() - Method in record class net.mcbrawls.inject.api.InjectorContext
-
Returns a hash code value for this object.
I
- INBOUND - Enum constant in enum class net.mcbrawls.inject.api.PacketDirection
- Injector - Class in net.mcbrawls.inject.api
-
A Netty injector.
- Injector() - Constructor for class net.mcbrawls.inject.api.Injector
- InjectorContext - Record Class in net.mcbrawls.inject.api
-
Context of an injector.
- InjectorContext(ChannelPipeline, ByteBuf) - Constructor for record class net.mcbrawls.inject.api.InjectorContext
-
Creates an instance of a
InjectorContextrecord class. - InjectPlatform - Interface in net.mcbrawls.inject.api
-
A platform for Inject, like Fabric or Paper.
- isRelevant(InjectorContext, PacketDirection) - Method in class net.mcbrawls.inject.api.Injector
-
Predicate for matching if this injector is relevant to the given context.
M
- message() - Method in record class net.mcbrawls.inject.api.InjectorContext
-
Returns the value of the
messagerecord component.
N
- net.mcbrawls.inject.api - package net.mcbrawls.inject.api
O
- onRead(ChannelHandlerContext, ByteBuf) - Method in class net.mcbrawls.inject.api.Injector
-
Gets executed on every channel read.
- onWrite(ChannelHandlerContext, ByteBuf, ChannelPromise) - Method in class net.mcbrawls.inject.api.Injector
-
Gets executed on every channel write.
- OUTBOUND - Enum constant in enum class net.mcbrawls.inject.api.PacketDirection
P
- PacketDirection - Enum Class in net.mcbrawls.inject.api
-
The direction in which packets can flow.
- pipeline() - Method in record class net.mcbrawls.inject.api.InjectorContext
-
Returns the value of the
pipelinerecord component.
R
- registerInjector(Injector) - Method in interface net.mcbrawls.inject.api.InjectPlatform
-
Registers the injector.
T
- toString() - Method in record class net.mcbrawls.inject.api.InjectorContext
-
Returns a string representation of this record class.
V
- valueOf(String) - Static method in enum class net.mcbrawls.inject.api.PacketDirection
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.mcbrawls.inject.api.PacketDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class net.mcbrawls.inject.api.Injector
All Classes and Interfaces|All Packages