Uses of Interface
com.comphenix.protocol.reflect.accessors.FieldAccessor
Packages that use FieldAccessor
Package
Description
-
Uses of FieldAccessor in com.comphenix.protocol.injector.netty
Methods in com.comphenix.protocol.injector.netty with parameters of type FieldAccessorModifier and TypeMethodDescriptionprotected abstract RunnableChannelProxy.onMessageScheduled(Runnable runnable, FieldAccessor packetAccessor)Invoked when a packet is scheduled for transmission in the event loop.protected abstract <T> Callable<T>ChannelProxy.onMessageScheduled(Callable<T> callable, FieldAccessor packetAccessor)Invoked when a packet is scheduled for transmission in the event loop. -
Uses of FieldAccessor in com.comphenix.protocol.reflect
Constructors in com.comphenix.protocol.reflect with parameters of type FieldAccessorModifierConstructorDescriptionVolatileField(FieldAccessor accessor, Object container)Initializes a volatile field with the given accessor and associated object. -
Uses of FieldAccessor in com.comphenix.protocol.reflect.accessors
Classes in com.comphenix.protocol.reflect.accessors that implement FieldAccessorModifier and TypeClassDescriptionstatic classRepresents a field accessor that synchronizes access to the underlying field.classMethods in com.comphenix.protocol.reflect.accessors that return FieldAccessorModifier and TypeMethodDescriptionstatic FieldAccessorAccessors.getCached(FieldAccessor inner)Retrieve a field accessor that will cache the content of the field.static FieldAccessorAccessors.getFieldAcccessorOrNull(Class<?> clazz, String fieldName, Class<?> fieldType)Retrieve a field accessor for a field with the given name and equivalent type, or NULL.static FieldAccessorAccessors.getFieldAccessor(Class<?> instanceClass, Class<?> fieldClass, boolean forceAccess)Retrieve an accessor for the first field of the given type.static FieldAccessorAccessors.getFieldAccessor(Class<?> instanceClass, String fieldName, boolean forceAccess)Retrieve an accessor for the first field of the given type.static FieldAccessorAccessors.getFieldAccessor(Field field)Retrieve a field accessor from a given field that uses unchecked exceptions.static FieldAccessorAccessors.getFieldAccessor(Field field, boolean forceAccess)Retrieve a field accessor from a given field that uses unchecked exceptions.static FieldAccessor[]Accessors.getFieldAccessorArray(Class<?> instanceClass, Class<?> fieldClass, boolean forceAccess)Retrieve an accessor (in declared order) for every field of the givne type.static FieldAccessorAccessors.getSynchronized(FieldAccessor accessor)Retrieve a field accessor where the write operation is synchronized on the current field value.Methods in com.comphenix.protocol.reflect.accessors with parameters of type FieldAccessorModifier and TypeMethodDescriptionstatic FieldAccessorAccessors.getCached(FieldAccessor inner)Retrieve a field accessor that will cache the content of the field.static FieldAccessorAccessors.getSynchronized(FieldAccessor accessor)Retrieve a field accessor where the write operation is synchronized on the current field value. -
Uses of FieldAccessor in com.comphenix.protocol.utility
Methods in com.comphenix.protocol.utility that return FieldAccessorModifier and TypeMethodDescriptionstatic FieldAccessorMinecraftReflection.getHandEntityUseActionEnumFieldAccessor(Object enumEntityUseAction)Get a field accessor for the hand in the wrapping EnumEntityUseAction in 1.17.static FieldAccessorMinecraftReflection.getVec3EntityUseActionEnumFieldAccessor(Object enumEntityUseAction)Get a field accessor for the vec3d in the wrapping EnumEntityUseAction in 1.17. -
Uses of FieldAccessor in com.comphenix.protocol.wrappers
Methods in com.comphenix.protocol.wrappers that return FieldAccessorModifier and TypeMethodDescriptionWrappedEnumEntityUseAction.getPositionAccessor()Get a field accessor for the position in the interact_at type.Methods in com.comphenix.protocol.wrappers with parameters of type FieldAccessorModifier and TypeMethodDescriptionstatic ReadOnlyFieldAccessorTroveWrapper.wrapListField(FieldAccessor accessor)Retrieve a read-only field accessor that automatically wraps the underlying Trove instance.static ReadOnlyFieldAccessorTroveWrapper.wrapMapField(FieldAccessor accessor)Retrieve a read-only field accessor that automatically wraps the underlying Trove instance.static ReadOnlyFieldAccessorTroveWrapper.wrapMapField(FieldAccessor accessor, com.google.common.base.Function<Integer,Integer> noEntryTransform)Retrieve a read-only field accessor that automatically wraps the underlying Trove instance.static ReadOnlyFieldAccessorTroveWrapper.wrapSetField(FieldAccessor accessor)Retrieve a read-only field accessor that automatically wraps the underlying Trove instance.