Uses of Interface
com.comphenix.protocol.reflect.EquivalentConverter
Packages that use EquivalentConverter
Package
Description
-
Uses of EquivalentConverter in com.comphenix.protocol.events
Fields in com.comphenix.protocol.events declared as EquivalentConverterModifier and TypeFieldDescriptionprotected static EquivalentConverter<InternalStructure>InternalStructure.CONVERTERMethods in com.comphenix.protocol.events with parameters of type EquivalentConverterModifier and TypeMethodDescription<E> StructureModifier<List<E>>AbstractStructure.getLists(EquivalentConverter<E> converter)Retrieve a read/write structure for the List class.<K, V> StructureModifier<Map<K,V>>AbstractStructure.getMaps(EquivalentConverter<K> keyConverter, EquivalentConverter<V> valConverter)Retrieve a read/write structure for the Map class.<E> StructureModifier<Set<E>>AbstractStructure.getSets(EquivalentConverter<E> converter)Retrieve a read/write structure for the Set class. -
Uses of EquivalentConverter in com.comphenix.protocol.reflect
Fields in com.comphenix.protocol.reflect declared as EquivalentConverterModifier and TypeFieldDescriptionprotected EquivalentConverter<TField>StructureModifier.converterMethods in com.comphenix.protocol.reflect with parameters of type EquivalentConverterModifier and TypeMethodDescriptionprotected voidStructureModifier.initialize(Class targetType, Class fieldType, List<Field> data, Map<Field,Integer> defaultFields, EquivalentConverter<TField> converter, Map<Class,StructureModifier> subTypeCache)Initialize every field of this class.protected voidStructureModifier.initialize(Class targetType, Class fieldType, List<Field> data, Map<Field,Integer> defaultFields, EquivalentConverter<TField> converter, Map<Class,StructureModifier> subTypeCache, boolean useStructureCompiler)Initialize every field of this class.protected voidStructureModifier.setConverter(EquivalentConverter<TField> converter)Set the current object converter.protected <T> StructureModifier<T>StructureModifier.withFieldType(Class fieldType, List<Field> filtered, Map<Field,Integer> defaults, EquivalentConverter<T> converter)Create a new structure modifier for the new field type.<T> StructureModifier<T>StructureModifier.withParamType(Class fieldType, EquivalentConverter<T> converter, Class... paramTypes)Retrieves a structure modifier that only reads and writes fields of a given type.<T> StructureModifier<T>StructureModifier.withType(Class fieldType, EquivalentConverter<T> converter)Retrieves a structure modifier that only reads and writes fields of a given type. -
Uses of EquivalentConverter in com.comphenix.protocol.utility
Methods in com.comphenix.protocol.utility that return EquivalentConverterModifier and TypeMethodDescriptionstatic EquivalentConverter<Object>HexDumper.findConverter(Class<?> clazz)Retrieve the closest equivalent converter to a specific class. -
Uses of EquivalentConverter in com.comphenix.protocol.wrappers
Classes in com.comphenix.protocol.wrappers that implement EquivalentConverterModifier and TypeClassDescriptionclassAutoWrapper<T>Automatically wraps an internal NMS class to a non-versioned, deofbuscated class.static classDeprecated.static classEnumWrappers.AliasedEnumConverter<T extends Enum<T> & EnumWrappers.AliasedEnum>Enums whose name has changed across NMS versions.static classEnumWrappers.EnumConverter<T extends Enum<T>>The common Enum converterstatic classEnumWrappers.FauxEnumConverter<T extends Enum<T>>Used for classes where it's an enum in everything but namestatic classEnumWrappers.IndexedEnumConverter<T extends Enum<T>>Fields in com.comphenix.protocol.wrappers declared as EquivalentConverterMethods in com.comphenix.protocol.wrappers that return EquivalentConverterModifier and TypeMethodDescriptionstatic <T> EquivalentConverter<T[]>Converters.array(Class<?> nmsClass, EquivalentConverter<T> converter)Creates a generic array converter.static EquivalentConverter<org.bukkit.advancement.Advancement>BukkitConverters.getAdvancementConverter()static <T> EquivalentConverter<Iterable<? extends T>>BukkitConverters.getArrayConverter(Class<?> genericItemType, EquivalentConverter<T> itemConverter)Retrieve an equivalent converter for an array of generic items.static EquivalentConverter<org.bukkit.Material>BukkitConverters.getBlockConverter()Retrieve a converter for block instances.EnumWrappers.getChatTypeConverter()EnumWrappers.getChatVisibilityConverter()EnumWrappers.getClientCommandConverter()EnumWrappers.getCombatEventTypeConverter()static EquivalentConverter<BlockPosition>BlockPosition.getConverter()Used to convert between NMS ChunkPosition and the wrapper instance.static EquivalentConverter<ChunkCoordIntPair>ChunkCoordIntPair.getConverter()Used to convert between NMS ChunkPosition and the wrapper instance.static EquivalentConverter<ChunkPosition>ChunkPosition.getConverter()Used to convert between NMS ChunkPosition and the wrapper instance.static EquivalentConverter<MinecraftKey>MinecraftKey.getConverter()MovingObjectPositionBlock.getConverter()MultiBlockChangeInfo.getConverter(ChunkCoordIntPair chunk)static EquivalentConverter<PlayerInfoData>PlayerInfoData.getConverter()Used to convert between NMS PlayerInfoData and the wrapper instance.static EquivalentConverter<Vector3F>Vector3F.getConverter()BukkitConverters.getDataWatcherConverter()Retrieve a converter for the NMS DataWatcher class and our wrapper.EnumWrappers.getDifficultyConverter()static EquivalentConverter<org.bukkit.World>BukkitConverters.getDimensionConverter()static EquivalentConverter<Integer>BukkitConverters.getDimensionIDConverter()EnumWrappers.getDirectionConverter()static EquivalentConverter<org.bukkit.potion.PotionEffectType>BukkitConverters.getEffectTypeConverter()EnumWrappers.getEntityActionConverter()static EquivalentConverter<org.bukkit.entity.Entity>BukkitConverters.getEntityConverter(org.bukkit.World world)Retrieve a converter for NMS entities and Bukkit entities.EnumWrappers.getEntityPoseConverter()static EquivalentConverter<org.bukkit.entity.EntityType>BukkitConverters.getEntityTypeConverter()EnumWrappers.getEntityUseActionConverter()EnumWrappers.getGameModeConverter()static EquivalentConverter<Integer>BukkitConverters.getGameStateConverter()static <T extends Enum<T>>
EquivalentConverter<T>EnumWrappers.getGenericConverter(Class<?> genericClass, Class<T> specificType)Retrieve a generic enum converter for use with StructureModifiers.static EquivalentConverter<EnumWrappers.Hand>EnumWrappers.getHandConverter()EnumWrappers.getItemSlotConverter()static EquivalentConverter<org.bukkit.inventory.ItemStack>BukkitConverters.getItemStackConverter()Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.static <T> EquivalentConverter<List<T>>BukkitConverters.getListConverter(EquivalentConverter<T> itemConverter)Retrieve an equivalent converter for a list of generic items.static <T> EquivalentConverter<List<T>>BukkitConverters.getListConverter(Class<?> listClass, EquivalentConverter<T> itemConverter)static <K, V> EquivalentConverter<Map<K,V>>BukkitConverters.getMapConverter(EquivalentConverter<K> keyConverter, EquivalentConverter<V> valConverter)static EquivalentConverter<List<org.bukkit.inventory.MerchantRecipe>>BukkitConverters.getMerchantRecipeListConverter()Creates a converter from a MerchantRecipeList (which is just an ArrayList of MerchantRecipe wrapper) to aListofMerchantRecipe.static EquivalentConverter<NbtBase<?>>BukkitConverters.getNbtConverter()Retrieve an equivalent converter for net.minecraft.server NBT classes and their wrappers.static <A, B> EquivalentConverter<Pair<A,B>>BukkitConverters.getPairConverter(EquivalentConverter<A> firstConverter, EquivalentConverter<B> secondConverter)static EquivalentConverter<WrappedParticle>BukkitConverters.getParticleConverter()EnumWrappers.getParticleConverter()EnumWrappers.getPlayerDiggingActionConverter()EnumWrappers.getPlayerInfoActionConverter()static EquivalentConverter<org.bukkit.potion.PotionEffect>BukkitConverters.getPotionEffectConverter()Retrieve the converter used to convert between a PotionEffect and the equivalent NMS Mobeffect.EnumWrappers.getProtocolConverter()EnumWrappers.getResourcePackStatusConverter()static EquivalentConverter<BlockPosition>BukkitConverters.getSectionPositionConverter()static <T> EquivalentConverter<Set<T>>BukkitConverters.getSetConverter(EquivalentConverter<T> itemConverter)Retrieve an equivalent converter for a set of generic items.EnumWrappers.getSoundCategoryConverter()static EquivalentConverter<org.bukkit.Sound>BukkitConverters.getSoundConverter()EnumWrappers.getTitleActionConverter()EnumWrappers.getUpdateScoreActionConverter()static EquivalentConverter<org.bukkit.util.Vector>BukkitConverters.getVectorConverter()Retrieve the converter used to convert between a Vector and the equivalent NMS Vec3d.BukkitConverters.getWatchableObjectConverter()Retrieve a converter for watchable objects and the respective wrapper.EnumWrappers.getWorldBorderActionConverter()static EquivalentConverter<org.bukkit.World>BukkitConverters.getWorldConverter()Retrieve the converter used to convert between a NMS World and a Bukkit world.static EquivalentConverter<org.bukkit.World>BukkitConverters.getWorldKeyConverter()static EquivalentConverter<org.bukkit.WorldType>BukkitConverters.getWorldTypeConverter()Retrieve a converter for Bukkit's world type enum and the NMS equivalent.static EquivalentConverter<WrappedAttribute>BukkitConverters.getWrappedAttributeConverter()Retrieve a converter for wrapped attribute snapshots.static EquivalentConverter<WrappedBlockData>BukkitConverters.getWrappedBlockDataConverter()Retrieve a converter for wrapped block data.BukkitConverters.getWrappedChatComponentConverter()Retrieve a converter for wrapped chat components.BukkitConverters.getWrappedGameProfileConverter()Retrieve a converter for wrapped game profiles.static EquivalentConverter<WrappedServerPing>BukkitConverters.getWrappedServerPingConverter()Retrieve the converter for the ServerPing packet inPacketType.Status.Server.SERVER_INFO.static EquivalentConverter<WrappedStatistic>BukkitConverters.getWrappedStatisticConverter()Retrieve the converter for a statistic.static <T> EquivalentConverter<T>Converters.handle(Function<T,Object> toHandle, Function<Object,T> fromHandle, Class<T> specificType)Creates a simple converter for wrappers withgetHandle()andfromHandle(...)methods.static <T> EquivalentConverter<T>Converters.ignoreNull(EquivalentConverter<T> converter)Returns a converter that ignores null elements, so that the underlying converter doesn't have to worry about them.static <T> EquivalentConverter<Optional<T>>Converters.optional(EquivalentConverter<T> converter)static <T> EquivalentConverter<T>Converters.passthrough(Class<T> clazz)Returns a converter that passes generic and specific values through without converting.Methods in com.comphenix.protocol.wrappers that return types with arguments of type EquivalentConverterModifier and TypeMethodDescriptionstatic Map<Class<?>,EquivalentConverter<Object>>BukkitConverters.getConvertersForGeneric()Retrieve every converter that is associated with a generic class.static Map<Class<?>,EquivalentConverter<?>>EnumWrappers.getFromNativeMap()static Map<Class<?>,EquivalentConverter<?>>EnumWrappers.getFromWrapperMap()Methods in com.comphenix.protocol.wrappers with parameters of type EquivalentConverterModifier and TypeMethodDescriptionstatic <T> EquivalentConverter<T[]>Converters.array(Class<?> nmsClass, EquivalentConverter<T> converter)Creates a generic array converter.static PacketConstructor.UnwrapperBukkitConverters.asUnwrapper(Class<?> nativeType, EquivalentConverter<Object> converter)Retrieve an equivalent unwrapper for the converter.AutoWrapper.field(int index, EquivalentConverter converter)static <T> EquivalentConverter<Iterable<? extends T>>BukkitConverters.getArrayConverter(Class<?> genericItemType, EquivalentConverter<T> itemConverter)Retrieve an equivalent converter for an array of generic items.static <T> EquivalentConverter<List<T>>BukkitConverters.getListConverter(EquivalentConverter<T> itemConverter)Retrieve an equivalent converter for a list of generic items.static <T> EquivalentConverter<List<T>>BukkitConverters.getListConverter(Class<?> listClass, EquivalentConverter<T> itemConverter)static <K, V> EquivalentConverter<Map<K,V>>BukkitConverters.getMapConverter(EquivalentConverter<K> keyConverter, EquivalentConverter<V> valConverter)static <A, B> EquivalentConverter<Pair<A,B>>BukkitConverters.getPairConverter(EquivalentConverter<A> firstConverter, EquivalentConverter<B> secondConverter)static <T> EquivalentConverter<Set<T>>BukkitConverters.getSetConverter(EquivalentConverter<T> itemConverter)Retrieve an equivalent converter for a set of generic items.static <T> EquivalentConverter<T>Converters.ignoreNull(EquivalentConverter<T> converter)Returns a converter that ignores null elements, so that the underlying converter doesn't have to worry about them.static <T> EquivalentConverter<Optional<T>>Converters.optional(EquivalentConverter<T> converter)
Converters.ignoreNull(EquivalentConverter)