Uses of Class
com.comphenix.protocol.reflect.StructureModifier
Packages that use StructureModifier
Package
Description
-
Uses of StructureModifier in com.comphenix.protocol.events
Fields in com.comphenix.protocol.events declared as StructureModifierModifier and TypeFieldDescriptionprotected StructureModifier<Object>AbstractStructure.structureModifierMethods in com.comphenix.protocol.events that return StructureModifierModifier and TypeMethodDescriptionAbstractStructure.getAttributeCollectionModifier()Retrieves a read/write structure for collections of attribute snapshots.AbstractStructure.getBlockData()Retrieves a read/write structure for BlockData in Minecraft 1.8.AbstractStructure.getBlockDataArrays()Retrieves a read/write structure for IBlockData arrays in Minecraft 1.16.2+AbstractStructure.getBlockPositionCollectionModifier()Retrieves a read/write structure for collections of chunk positions.AbstractStructure.getBlockPositionModifier()Retrieves a read/write structure for block positions.StructureModifier<org.bukkit.Material>AbstractStructure.getBlocks()Retrieves a read/write structure for block fields.AbstractStructure.getBooleans()Retrieves a read/write structure for every boolean field.StructureModifier<byte[]>AbstractStructure.getByteArrays()Retrieves a read/write structure for every byte array field.AbstractStructure.getBytes()Retrieves a read/write structure for every byte field.AbstractStructure.getChatComponentArrays()Retrieves a read/write structure for arrays of chat components.AbstractStructure.getChatComponents()Retrieves a read/write structure for chat components in Minecraft 1.7.2.AbstractStructure.getChatTypes()Retrieve a read/write structure for the ChatType enum in 1.12.AbstractStructure.getChatVisibilities()Retrieve a read/write structure for the ChatVisibility enum in 1.7.2.AbstractStructure.getChunkCoordIntPairs()Retrieves a read/write structure for wrapped ChunkCoordIntPairs.AbstractStructure.getClientCommands()Retrieve a read/write structure for the ClientCommand enum in 1.7.2.AbstractStructure.getCombatEvents()Retrieve a read/write structure for the CombatEventType enum in 1.8.AbstractStructure.getDataWatcherModifier()Retrieves a read/write structure for data watchers.AbstractStructure.getDifficulties()Retrieve a read/write structure for the Difficulty enum in 1.7.2.AbstractStructure.getDimensions()Deprecated.StructureModifier<org.bukkit.World>AbstractStructure.getDimensionTypes()AbstractStructure.getDirections()Retrieve a read/write structure for the Direction enum in 1.10.AbstractStructure.getDoubles()Retrieves a read/write structure for every double field.StructureModifier<org.bukkit.potion.PotionEffectType>AbstractStructure.getEffectTypes()Retrieve a read/write structure for the MobEffectList class in 1.9.StructureModifier<org.bukkit.entity.Entity>AbstractStructure.getEntityModifier(PacketEvent event)Retrieves a read/write structure for entity objects.StructureModifier<org.bukkit.entity.Entity>AbstractStructure.getEntityModifier(org.bukkit.World world)Retrieves a read/write structure for entity objects.StructureModifier<org.bukkit.entity.EntityType>AbstractStructure.getEntityTypeModifier()Retrieves a read/write structure for entity typesAbstractStructure.getEntityUseActions()Retrieve a read/write structure for the EntityUse enum in 1.7.2.AbstractStructure.getEnumEntityUseActions()Retrieves a read/write structure for the EntityUseAction class in the UseEntity packet sent by the client for 1.17 and above.<T extends Enum<T>>
StructureModifier<T>AbstractStructure.getEnumModifier(Class<T> enumClass, int index)Retrieve a read/write structure for an enum.<T extends Enum<T>>
StructureModifier<T>AbstractStructure.getEnumModifier(Class<T> enumClass, Class<?> nmsClass)Retrieve a read/write structure for an enum.AbstractStructure.getFloat()Retrieves a read/write structure for every float field.AbstractStructure.getGameModes()Retrieve a read/write structure for the NativeGameMode enum in 1.7.2.AbstractStructure.getGameProfiles()Retrieves a read/write structure for game profiles in Minecraft 1.7.2.AbstractStructure.getGameStateIDs()Retrieve a read/write structure for Game State IDs in 1.16+AbstractStructure.getHands()Retrieve a read/write structure for the Hand enum in 1.9.StructureModifier<int[]>AbstractStructure.getIntegerArrays()Retrieves a read/write structure for every int array field.AbstractStructure.getIntegers()Retrieves a read/write structure for every integer field.AbstractStructure.getIntLists()StructureModifier<org.bukkit.inventory.ItemStack[]>AbstractStructure.getItemArrayModifier()Retrieves a read/write structure for arrays of ItemStacks.StructureModifier<List<org.bukkit.inventory.ItemStack>>AbstractStructure.getItemListModifier()Retrieves a read/write structure for lists of ItemStacks.StructureModifier<org.bukkit.inventory.ItemStack>AbstractStructure.getItemModifier()Retrieves a read/write structure for ItemStack.AbstractStructure.getItemSlots()Retrieve a read/write structure for the ItemSlot enum in 1.9.StructureModifier<List<NbtBase<?>>>AbstractStructure.getListNbtModifier()Retrieves a read/write structure for lists of NBT classes.<E> StructureModifier<List<E>>AbstractStructure.getLists(EquivalentConverter<E> converter)Retrieve a read/write structure for the List class.AbstractStructure.getLongs()Retrieves a read/write structure for every long field.<K, V> StructureModifier<Map<K,V>>AbstractStructure.getMaps(EquivalentConverter<K> keyConverter, EquivalentConverter<V> valConverter)Retrieve a read/write structure for the Map class.StructureModifier<List<org.bukkit.inventory.MerchantRecipe>>AbstractStructure.getMerchantRecipeLists()Retrieve a read/write structure for the MerchantRecipeList class.AbstractStructure.getMinecraftKeys()Retrieve a read/write structure for the MinecraftKey class.AbstractStructure.getModifier()PacketContainer.getModifier()Retrieves the generic structure modifier for this packet.AbstractStructure.getMovingBlockPositions()Retrieve a read/write structure for MovingObjectPositionBlock in 1.16+AbstractStructure.getMultiBlockChangeInfoArrays()Retrieves a read/write structure for MultiBlockChangeInfo arrays in Minecraft 1.8.AbstractStructure.getNbtModifier()Retrieves a read/write structure for NBT classes.AbstractStructure.getNewParticles()Retrieve a read/write structure for ParticleParams in 1.13InternalStructure.getOptionalStructures()PacketContainer.getOptionalStructures()AbstractStructure.getParticles()Retrieve a read/write structure for the Particle enum in 1.8-1.12.AbstractStructure.getPlayerActions()Retrieve a read/write structure for the PlayerAction enum in 1.8.AbstractStructure.getPlayerDigTypes()Retrieve a read/write structure for the PlayerDigType enum in 1.8.AbstractStructure.getPlayerInfoAction()Retrieve a read/write structure for the PlayerInfo enum in 1.8.AbstractStructure.getPlayerInfoDataLists()Retrieve a read/write structure for the PlayerInfoData list fields in the following packet:
PacketType.Play.Server.PLAYER_INFOAbstractStructure.getPositionCollectionModifier()Retrieves a read/write structure for collections of chunk positions.AbstractStructure.getPositionModifier()Retrieves a read/write structure for chunk positions.AbstractStructure.getProtocols()Retrieve a read/write structure for the Protocol enum in 1.7.2.AbstractStructure.getResourcePackStatus()Retrieve a read/write structure for the ResourcePackStatus enum in 1.8.AbstractStructure.getScoreboardActions()Retrieve a read/write structure for the ScoreboardAction enum in 1.8.AbstractStructure.getSectionPositions()Retrieve a read/write structure for SectionPositions in 1.16.2+AbstractStructure.getServerPings()Retrieve a read/write structure for the ServerPing fields in the following packet:
PacketType.Status.Server.SERVER_INFO<E> StructureModifier<Set<E>>AbstractStructure.getSets(EquivalentConverter<E> converter)Retrieve a read/write structure for the Set class.StructureModifier<short[]>AbstractStructure.getShortArrays()Retrieves a read/write structure for every short array field.AbstractStructure.getShorts()Retrieves a read/write structure for every short field.StructureModifier<List<Pair<EnumWrappers.ItemSlot,org.bukkit.inventory.ItemStack>>>AbstractStructure.getSlotStackPairLists()Retrieve a read/write structure for ItemSlot/ItemStack pair lists in 1.16+AbstractStructure.getSoundCategories()Retrieve a read/write structure for the SoundCategory enum in 1.9.StructureModifier<org.bukkit.Sound>AbstractStructure.getSoundEffects()Retrieve a read/write structure for the SoundEffect enum in 1.9.<T> StructureModifier<T>AbstractStructure.getSpecificModifier(Class<T> primitiveType)Retrieves a read/write structure for every field with the given type.AbstractStructure.getStatisticMaps()Retrieve a read/write structure for maps of statistics.AbstractStructure.getStringArrays()Retrieves a read/write structure for every String array field.AbstractStructure.getStrings()Retrieves a read/write structure for every String field.InternalStructure.getStructures()PacketContainer.getStructures()AbstractStructure.getTitleActions()Retrieve a read/write structure for the TitleAction enum in 1.8.AbstractStructure.getUUIDs()Retrieves a read/write structure for every UUID field.StructureModifier<org.bukkit.util.Vector>AbstractStructure.getVectors()Retrieves a read/write structure for Vectors.AbstractStructure.getWatchableCollectionModifier()Retrieves a read/write structure for collections of watchable objects.AbstractStructure.getWorldBorderActions()Retrieve a read/write structure for the WorldBorderAction enum in 1.8.StructureModifier<org.bukkit.World>AbstractStructure.getWorldKeys()Retrieve a read/write structure for World ResourceKeys in 1.16+StructureModifier<org.bukkit.WorldType>AbstractStructure.getWorldTypeModifier()Retrieves a read/write structure for the world type enum.Constructors in com.comphenix.protocol.events with parameters of type StructureModifierModifierConstructorDescriptionprotectedAbstractStructure(Object handle, StructureModifier<Object> modifier)protectedInternalStructure(Object handle, StructureModifier<Object> structureModifier)PacketContainer(PacketType type, Object handle, StructureModifier<Object> structure)Creates a packet container for an existing packet. -
Uses of StructureModifier in com.comphenix.protocol.injector
Methods in com.comphenix.protocol.injector that return StructureModifierModifier and TypeMethodDescriptionstatic StructureModifier<Object>StructureCache.getStructure(PacketType type)Retrieve a cached structure modifier for the given packet type.static StructureModifier<Object>StructureCache.getStructure(PacketType type, boolean compile)Retrieve a cached structure modifier for the given packet type.static StructureModifier<Object>StructureCache.getStructure(Class<?> packetType)Retrieve a cached structure modifier given a packet type.static StructureModifier<Object>StructureCache.getStructure(Class<?> packetType, boolean compile)Retrieve a cached structure modifier given a packet type. -
Uses of StructureModifier in com.comphenix.protocol.reflect
Fields in com.comphenix.protocol.reflect with type parameters of type StructureModifierModifier and TypeFieldDescriptionprotected Map<Class,StructureModifier>StructureModifier.subtypeCacheMethods in com.comphenix.protocol.reflect that return StructureModifierModifier and TypeMethodDescriptionCorrectly modifies the value of a field.protected <T> StructureModifier<T>StructureModifier.withFieldType(Class fieldType, List<Field> filtered, Map<Field,Integer> defaults)Create a new structure modifier for the new field type.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.StructureModifier.withTarget(Object target)Retrieves a structure modifier of the same type for a different object target.<T> StructureModifier<T>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.Writes the value of a field given its index.StructureModifier.writeDefaults()Sets all non-primitive fields to a more fitting default value.StructureModifier.writeSafely(int fieldIndex, TField value)Writes the value of a given field IF and ONLY if it exists.Methods in com.comphenix.protocol.reflect with parameters of type StructureModifierModifier and TypeMethodDescriptionprotected voidStructureModifier.initialize(StructureModifier<TField> other)Initialize using the same field types.protected voidObjectWriter.transformField(StructureModifier<Object> modifierSource, StructureModifier<Object> modifierDest, int fieldIndex)Called for every non-static field that will be copied. -
Uses of StructureModifier in com.comphenix.protocol.reflect.cloning
Methods in com.comphenix.protocol.reflect.cloning with parameters of type StructureModifierModifier and TypeMethodDescriptionprotected voidFieldCloner.defaultTransform(StructureModifier<Object> modifierSource, StructureModifier<Object> modifierDest, Cloner defaultCloner, int fieldIndex)Default implementation of the field transform. -
Uses of StructureModifier in com.comphenix.protocol.reflect.compiler
Subclasses of StructureModifier in com.comphenix.protocol.reflect.compilerModifier and TypeClassDescriptionclassRepresents a compiled structure modifier.Methods in com.comphenix.protocol.reflect.compiler that return StructureModifierModifier and TypeMethodDescription<TField> StructureModifier<TField>StructureCompiler.compile(StructureModifier<TField> source)Compiles the given structure modifier.CompiledStructureModifier.withTarget(Object target)CompiledStructureModifier.writeDefaults()protected abstract StructureModifier<Object>CompiledStructureModifier.writeGenerated(int index, Object value)Methods in com.comphenix.protocol.reflect.compiler with parameters of type StructureModifierModifier and TypeMethodDescription<TKey> voidBackgroundCompiler.addListener(StructureModifier<TKey> uncompiled, CompileListener<TKey> listener)Add a compile listener if we are still waiting for the structure modifier to be compiled.<TField> StructureModifier<TField>StructureCompiler.compile(StructureModifier<TField> source)Compiles the given structure modifier.<TField> booleanStructureCompiler.lookupClassLoader(StructureModifier<TField> source)Lookup the current class loader for any previously generated classes before we attempt to generate something.voidCompileListener.onCompiled(StructureModifier<TKey> compiledModifier)Invoked when a structure modifier has been successfully compiled.<TKey> voidBackgroundCompiler.scheduleCompilation(StructureModifier<TKey> uncompiled, CompileListener<TKey> listener)Ensure that the given structure modifier is eventually compiled.Method parameters in com.comphenix.protocol.reflect.compiler with type arguments of type StructureModifierModifier and TypeMethodDescriptionvoidBackgroundCompiler.scheduleCompilation(Map<Class,StructureModifier> cache, Class key)Ensure that the indirectly given structure modifier is eventually compiled. -
Uses of StructureModifier in com.comphenix.protocol.wrappers
Fields in com.comphenix.protocol.wrappers declared as StructureModifierModifier and TypeFieldDescriptionprotected StructureModifier<Object>WrappedAttribute.modifierprotected StructureModifier<Object>WrappedAttributeModifier.modifier