Index
All Classes and Interfaces|All Packages
A
- aClass(Class) - Static method in class com.saicone.rtag.util.reflect.Lookup
- AClass(Lookup.Runtime, String, Class) - Constructor for class com.saicone.rtag.util.reflect.Lookup.AClass
- AConstructor(Lookup.AClass) - Constructor for class com.saicone.rtag.util.reflect.Lookup.AConstructor
- add(Remapper.Mapping) - Method in class com.saicone.rtag.util.reflect.Remapper
- add(Object, Object) - Static method in class com.saicone.rtag.tag.TagList
-
Add tag object.
- add(Object, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Add value to an ListTag on specified path inside current object tag.
SeeRtag.add(Object, Object, Object...)for more information. - add(Object, Object...) - Static method in class com.saicone.rtag.tag.TagList
-
Add multiple tag objects.
- add(Object, Object, Object...) - Method in class com.saicone.rtag.Rtag
-
Add value to an ListTag on specified path inside tag.
Note that empty path returns false because this method is only made for lists inside compounds or lists.
SeeRtag.get(Object, Object...)for path information. - addClass(String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
Class.forName(String)but save the class into memory. - addClass(String, String...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
Class.forName(String)but save the class into memory. - addClassId(String, Class) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save class into memory with provided ID to get from
EasyLookup.classById(String). - addClassId(String, String, String...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
Class.forName(String)but save the class into memory with provided ID to get fromEasyLookup.classById(String). - addEnum(int[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Add Enum ordinals into bit field on specified path.
- addEnum(int, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Add Enum ordinal into bit field on specified path.
- addEnum(E[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Add Enum elements into bit field on specified path.
- addEnum(E, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Add Enum element into bit field on specified path.
- addNMSClass(String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save the typically net.minecraft.server class into memory.
For +1.17 servers compatibility the name must be the full class path after "net.minecraft." - addNMSClass(String, String...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save the typically net.minecraft.server class into memory.
For +1.17 servers compatibility the name must be the full class path after "net.minecraft." - addNMSClassId(String, String, String...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save the typically net.minecraft.server class into memory with specified ID.
For +1.17 servers compatibility the name must be the full class path after "net.minecraft." - addOBCClass(String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save the typically org.bukkit.craftbukkit class into memory.
Name must be the full path after craftbukkit package. - addOBCClass(String, String...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save the typically org.bukkit.craftbukkit class into memory.
Name must be the full path after craftbukkit package. - addOBCClassId(String, String, String...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Save the typically org.bukkit.craftbukkit class into memory with specified ID.
Name must be the full path after craftbukkit package. - AField(Lookup.AClass) - Constructor for class com.saicone.rtag.util.reflect.Lookup.AField
- all() - Static method in class com.saicone.rtag.data.ComponentType
-
Get all DataComponentType objects associated with its ID.
- AMethod(Lookup.AClass) - Constructor for class com.saicone.rtag.util.reflect.Lookup.AMethod
- apply(Reference) - Method in class com.saicone.rtag.util.reflect.Remapper
- apply(T) - Method in interface com.saicone.rtag.util.ThrowableFunction
-
Applies this function to the given argument.
- as(Class) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value as required class type using Gson deserializer.
- as(Type) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value as specific type using Gson deserializer.
- asArray(T[], Function) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value as array using function.
- asBoolean() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Boolean or null if the conversion fails.
- asBoolean(Boolean) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Boolean or default value instead if the conversion fails.
- asByte() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Byte or null if the conversion fails.
- asByte(Byte) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Byte or default value instead if the conversion fails.
- asChar() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Character or null if the conversion fails.
- asChar(Character) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Character or default value instead if the conversion fails.
- asCollection(C, Function) - Method in class com.saicone.rtag.util.OptionalType
-
Apply actual value to collection using function.
- asDouble() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Double or null if the conversion fails.
- asDouble(Double) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Double or default value instead if the conversion fails.
- asElementSet(Function, int) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as element type Set.
This method only works if the actual value is a bitField. - asEnum(Class) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Enum type.
This method only works if the actual value is a String or Number. - asEnum(Class, E) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Enum type.
This method only works if the actual value is a String or Number. - asEnumSet(Class) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Enum type Set.
This method only works if the actual value is a bitField. - asFloat() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Float or null if the conversion fails.
- asFloat(Float) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Float or default value instead if the conversion fails.
- asInt() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Integer or null if the conversion fails.
- asInt(Integer) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Integer or default value instead if the conversion fails.
- asList(Function) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value as list using function.
- asLong() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Long or null if the conversion fails.
- asLong(Long) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Long or default value instead if the conversion fails.
- asObject() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Object or null.
- asObject(Object) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Object or default value instead.
- asOrdinalSet(int) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as ordinal-value Set.
This method only works if the actual value is a bitField. - asShort() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Short or null if the conversion fails.
- asShort(Short) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as Short or default value instead if the conversion fails.
- asString() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as String or null.
This method only convert the actual value to String if it isn't null. - asString(String) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as String if it isn't null or default value instead.
- asUuid() - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as UUID or null if the conversion fails.
- asUuid(UUID) - Method in class com.saicone.rtag.util.OptionalType
-
Get the actual value as UUID or default value instead if the conversion fails.
B
- build() - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Build the required instance of data component.
By default, this method throws an exception, so should be overridden. - build(Reference) - Method in class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- build(Object) - Method in class com.saicone.rtag.stream.TStream
-
Build object type using an CompoundTag.
- builder() - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Create a DataComponentMap builder to set values and then wrap into component map.
- builder() - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Create a DataComponentPatch builder to set values and then wrap into component patch.
- Builder(Object, Reference2ObjectMap) - Constructor for class com.saicone.rtag.data.DataComponent.Builder
-
Constructs a builder with provided real builder, and it's map inside.
- bukkitPackage() - Method in class com.saicone.rtag.util.MC
-
Get version as defined in craftbukkit package
- by(ThrowableFunction) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value by function.
- by(ThrowableFunction, T) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value by function with defined default value.
- by(Class, ThrowableFunction, T) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value as type or by function with defined default value.
C
- caller() - Static method in class com.saicone.rtag.util.reflect.Lookup
- caller(boolean) - Static method in class com.saicone.rtag.util.reflect.Lookup
- cast(Object) - Static method in class com.saicone.rtag.util.OptionalType
-
Cast any object to required type.
Take in count this method may produceClassCastExceptionif you want to cast inconvertible types. - ChatComponent - Class in com.saicone.rtag.util
-
Class to invoke CraftChatMessage methods across versions.
- classById(String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Get previously saved class by it ID.
- classesOf(Object...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
EasyLookup.classOf(Object)but for multiple objects. - classOf(Object) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Get class represented by Object.
If object is instance of Class will return itself, otherwise returnEasyLookup.classById(String). - clazz(Object) - Static method in class com.saicone.rtag.util.reflect.Reference
- clear() - Method in class com.saicone.rtag.util.OptionalType
-
Clear the current object, only affect
CollectionandMaptypes. - clear(boolean) - Method in class com.saicone.rtag.util.OptionalType
-
Clear the current object, only affect
CollectionandMaptypes. - clear(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Clear the provided CompoundTag or ListTag.
- clear(Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Clear the provided CompoundTag tag.
- clear(Object) - Static method in class com.saicone.rtag.tag.TagList
-
Clear a ListTag and reset list type.
- clone(Object) - Method in class com.saicone.rtag.RtagMirror
-
Copy any Tag object into new one.
- clone(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Copy provided Tag object into new one.
- clone(Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Copy provided CompoundTag into new one.
- clone(Object) - Static method in class com.saicone.rtag.tag.TagList
-
Copy provided ListTag into new one.
- clone(Object, BiPredicate) - Static method in class com.saicone.rtag.tag.TagList
-
Copy provided ListTag into new one using a list filter.
- clone(T) - Method in class com.saicone.rtag.stream.TStream
-
Clone provided object by extract CompoundTag and use it to build new object.
- codec(Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Get declared codec from DataComponentType instance or ID.
Take in count that not all the component types provide a codec instance. - codec(String) - Static method in class com.saicone.rtag.data.ComponentType
-
Get declared codec from DataComponentType ID.
Take in count that not all the component types provide a codec instance. - CODEC - Static variable in class com.saicone.rtag.util.ChatComponent
-
Component codec.
- com.saicone.rtag - package com.saicone.rtag
- com.saicone.rtag.data - package com.saicone.rtag.data
- com.saicone.rtag.registry - package com.saicone.rtag.registry
- com.saicone.rtag.stream - package com.saicone.rtag.stream
- com.saicone.rtag.tag - package com.saicone.rtag.tag
- com.saicone.rtag.util - package com.saicone.rtag.util
- com.saicone.rtag.util.reflect - package com.saicone.rtag.util.reflect
- compare(MC, MC) - Static method in class com.saicone.rtag.util.MC
-
Compare two MC versions.
- compareTo(MC) - Method in class com.saicone.rtag.util.MC
- COMPONENT - Static variable in class com.saicone.rtag.util.ServerInstance.Release
-
Deprecated.
- ComponentType - Class in com.saicone.rtag.data
-
Class to invoke methods inside DataComponentType and handle types in a flexible way.
- COMPOUND - Static variable in class com.saicone.rtag.stream.TStream
-
Tag stream instance to save and get compounds.
- constructor() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- constructor(Object...) - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- constructor(Object...) - Method in class com.saicone.rtag.util.reflect.Remapper.Mapping
- constructor(Object, Object...) - Static method in class com.saicone.rtag.util.reflect.Reference
- constructor(Object, Object...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findConstructor(Class, MethodType)without creating a MethodType, it also provide void class at first argument has default.
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectConstructor(Object, Object...)for private constructors. - contains(Object, Object) - Static method in class com.saicone.rtag.tag.TagList
-
Check if current ListTag value contains Tag object.
- CRAFTBUKKIT_RELOCATED - Static variable in class com.saicone.rtag.util.ServerInstance.Type
-
Return true if server instance has craftbukkit package relocated.
- createGlobalContext(Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Create a serialization context using a globalized registry.
- createInput(Object) - Static method in class com.saicone.rtag.registry.IOValue
-
Create a tag value input using provided objects.
This object is used to keep tract of Minecraft serialization process. - createInput(Object, Object, Object) - Static method in class com.saicone.rtag.registry.IOValue
-
Create a tag value input using provided objects.
This object is used to keep track of Minecraft serialization process. - createOutput() - Static method in class com.saicone.rtag.registry.IOValue
-
Create a tag value output-
This object is used to keep track of Minecraft serialization process. - createOutput(Object, Object) - Static method in class com.saicone.rtag.registry.IOValue
-
Create a tag value output using provided objects.
This object is used to keep track of Minecraft serialization process. - createOutputWrapping(Object, Object, Object) - Static method in class com.saicone.rtag.registry.IOValue
-
Create a tag value output using provided objects.
This object is used to keep track of Minecraft serialization process. - createSerializationContext(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Create a serialization context using HolderLookup.Provider.
D
- DATA - Static variable in class com.saicone.rtag.tag.TagCompound
-
Deprecated.Use
TStream.COMPOUNDinstead. - DATA_VERSION - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - DataComponent - Class in com.saicone.rtag.data
-
Class to invoke methods from multiple DataComponent classes.
- DataComponent.Builder<V> - Class in com.saicone.rtag.data
-
Class wrapper to invoke methods from map and patch data component types builder.
This is not the real class, it's just a bridge between to set and get values before build. - DataComponent.Holder - Class in com.saicone.rtag.data
-
Class to invoke methods from DataComponentHolder.
This type of data component object (as the name said) is just a holder for DataComponentMap to delegate methods. - DataComponent.Map - Class in com.saicone.rtag.data
-
Class to invoke methods from DataComponentMap.
A component map acts like an immutable map in java with the regular conception of components by Mojang. - DataComponent.MapPatch - Class in com.saicone.rtag.data
-
Class to invoke methods from PatchedDataComponentMap.
A patched map is a subclass of DataComponentMap but mutable, that means all the methods from component map are applicable in a patched map. - DataComponent.Patch - Class in com.saicone.rtag.data
-
Class to invoke methods from DataComponentPatch.
Instead of patched map, a component patch acts like a cloneable object that can be introduced into maps and also hold empty values to future deletion. - dataPackFormat() - Method in class com.saicone.rtag.util.MC
-
Get data pack format number as optional value.
On versions before 1.12.1 this value will be empty. - dataVersion - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - dataVersion() - Method in class com.saicone.rtag.util.MC
-
Get data version number as optional value.
On versions before 1.9 this value will be empty. - dataVersion(int) - Static method in class com.saicone.rtag.util.ServerInstance
-
Convert server version into data version number.
- deepMerge(Object, boolean) - Method in class com.saicone.rtag.RtagEditor
-
Merge the provided value into current tag using deep method.
- deepMerge(Object, boolean, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Merge the provided value at provided path using deep method.
- deepMerge(Object, Object, boolean, Object...) - Method in class com.saicone.rtag.Rtag
-
Merge the provided value with CompoundTag at provided path using deep method.
- deserialize(Map) - Method in interface com.saicone.rtag.RtagDeserializer
-
Method who be invoked to convert any
Mapto current object type. - DISCARDING - Static variable in interface com.saicone.rtag.util.ProblemReporter
-
A ProblemReporter that ignores any error and doesn't generate anything.
E
- EasyLookup - Class in com.saicone.rtag.util
-
Deprecated.
- EasyLookup.MethodPredicate - Interface in com.saicone.rtag.util
-
Deprecated.Boolean valued function to compare a method with return and parameter types.
- edit(Consumer) - Method in class com.saicone.rtag.RtagEditor
-
Edit the current RtagEditor instance and return itself.
- EMPTY - Static variable in class com.saicone.rtag.data.DataComponent.Map
-
An empty DataComponentMap instance.
- EMPTY - Static variable in class com.saicone.rtag.data.DataComponent.Patch
-
An empty DataComponentPatch instance.
- EMPTY - Static variable in class com.saicone.rtag.util.OptionalType
-
Static object representation of empty OptionalType.
- encode(Object, DynamicOps, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Encode declared component object type into declared object from object provider type.
- encodeJava(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Encode declared component object type into regular Java object.
- encodeJson(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Encode declared component object type into json object.
- encodeNbt(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Encode declared component object type into tag object.
- entrySet(Object) - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Get a DataComponentType key set from component patch.
- equals(Object) - Method in class com.saicone.rtag.util.OptionalType
- equals(Object) - Method in class com.saicone.rtag.util.reflect.Reference
- exists(String) - Static method in class com.saicone.rtag.data.ComponentType
-
Check if the provided DataComponentType ID exists.
- extract(T) - Method in class com.saicone.rtag.stream.TStream
-
Extract object information into CompoundTag.
F
- featRevision() - Method in class com.saicone.rtag.util.MC
-
Get craftbukkit package version as float value, for example:
v1_9_R2 -> 9.02
v1_13_R1 -> 13.01
v1_16_R3 -> 16.03 - feature() - Method in class com.saicone.rtag.util.MC
-
Get feature version number.
- field() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- field(int, Object, String) - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- field(Object, Object, String) - Static method in class com.saicone.rtag.util.reflect.Reference
- field(Object, String) - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- field(Object, String) - Method in class com.saicone.rtag.util.reflect.Remapper.Mapping
- field(Object, String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Get accessible field from provided class.
Required classes can be Strings to get byEasyLookup.classById(String). - find(Function, T) - Static method in class com.saicone.rtag.util.MC
-
Get version from a specific getter function and target value.
- findConstructor(Class, Class...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Find constructor inside class using recursive searching and invoke
MethodHandles.Lookup.unreflectConstructor(Constructor).
Required classes can be Strings to get byEasyLookup.classById(String). - findField(Class, boolean, String, Class) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Find field inside class using recursive searching and return it
- findMethod(Class, boolean, String, Class, Class...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Find method inside class using recursirve searching and invoke
MethodHandles.Lookup.unreflect(Method).
Required classes can be Strings to get byEasyLookup.classById(String). - findReverse(Function, T) - Static method in class com.saicone.rtag.util.MC
-
Get version from a specific getter function and target value using a reverse lookup.
- first() - Static method in class com.saicone.rtag.util.MC
-
Get first supported version.
- first() - Method in class com.saicone.rtag.util.OptionalType
-
Get the first value.
This method extract the first value if the current object is a collection or array. - FLAT - Static variable in class com.saicone.rtag.util.ServerInstance.Release
-
Deprecated.Use
MC.version()methods instead. - FOLIA - Static variable in class com.saicone.rtag.util.ServerInstance.Platform
-
Return true if server instance is a Folia server.
PaperMC.io - fromAny(Object) - Static method in class com.saicone.rtag.util.MC
-
Get version from any object representation.
- fromBase(Object, Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new objects if it can be created from Tag object.
Only compatible with ByteArrayTag, ListTag and CompoundTag. - fromBase64(String) - Method in class com.saicone.rtag.stream.TStream
-
Get array of objects by read Base64 string.
- fromBase64(String, Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new objects if it can be created from Base64 string.
- fromBukkitObject(byte[], Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new objects if it can be created from byte array read by BukkitObjectInputStream.
- fromBytes(byte[]) - Method in class com.saicone.rtag.stream.TStream
-
Get object from bytes.
This method first read the bytes with ByteArrayInputStream to get an CompoundTag and convert it into object.
Bytes -> CompoundTag -> Object - fromBytes(byte[], Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new objects if it can be created from byte array.
This method detect any CompoundTag inside provided bytes and convert into current instance object using the detected compression format, it is also compatible with any saved object inside ByteArrayTag, ListTag and BukkitObjectInputStream. - fromCompound(Object) - Method in class com.saicone.rtag.stream.TStream
-
Create new object from CompoundTag.
- fromCompound(Object, Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new object if it can be created from CompoundTag.
- fromFile(File) - Method in class com.saicone.rtag.stream.TStream
-
Get object by read provided file.
- fromFile(File, Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new objects if it can be created from file.
- fromJson(String) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert json component string to chat component.
Supports any old representation of text component. - fromList(Object, Consumer) - Method in class com.saicone.rtag.stream.TStream
-
Consume new objects if it can be created from ListTag object.
Only compatible with list types of ByteArrayTag, ListTag and CompoundTag. - fromMap(Map) - Method in class com.saicone.rtag.stream.TStream
-
Get object by read provided Map of objects.
- fromString(String) - Static method in class com.saicone.rtag.util.MC
-
Get version from string representation.
- fromString(String) - Method in class com.saicone.rtag.stream.TStream
-
Get object by read provided NBT String.
- fromString(String) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert string to chat component.
- fromTag(Object) - Method in class com.saicone.rtag.Rtag
-
Deprecated.
- fromTag(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert nbt to chat component.
Supports newer representation of text component on older server versions. - fromTagExact(Object) - Method in class com.saicone.rtag.Rtag
-
Deprecated.To get tag value without conversion use
Rtag.getTagValue(Object)instead. - FULL_VERSION - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - fullRevision() - Method in class com.saicone.rtag.util.MC
-
Get craftbukkit package version as int value, for example:
v1_9_R2 -> 10902
v1_13_R1 -> 11301
v1_19_R2 -> 11902 - fullVersion - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - fullVersion(int) - Static method in class com.saicone.rtag.util.ServerInstance
-
Convert data version into formatted server version number.
G
- get() - Method in class com.saicone.rtag.RtagEditor
-
Get a converted version of current tag.
- get() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- get() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- get() - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- get() - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- get(Object) - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Get a declared component type from builder.
- get(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Get value from the specified path inside current tag.
SeeRtag.get(Object, Object...)for more information. - get(Object, int) - Static method in class com.saicone.rtag.tag.TagList
-
Get tag object from index.
- get(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent
-
Get a declared component type from data component object.
- get(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.Holder
-
Get a declared component type from provided holder.
- get(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Get a declared component type from provided component map.
- get(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Get a declared component type from provided component patch.
- get(Object, Object...) - Method in class com.saicone.rtag.Rtag
-
Get value from the specified path inside tag.
The value will be cast to the type are you looking for after conversion.
Path format - get(Object, String) - Static method in class com.saicone.rtag.tag.TagCompound
-
Get Tag value associated with key.
- getAClass(String) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- getArray() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- getBitField(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Get Integer bit field from specified path.
- getBuilder() - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Return the real data component builder that is wrapped inside this class.
- getClass(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- getClasses(Object[]) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- getClassLoader() - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- getComponents(Object) - Static method in class com.saicone.rtag.data.DataComponent.Holder
-
Get DataComponentMap from provided holder.
- getDataInput(InputStream) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Get the required data input stream to read.
This method will use the new enhanced FastBufferedInputStream if the server version is 1.18 or higher, so this method checks if the provided InputStream is GZIP formatted to parse it correctly. - getDataInput(InputStream, boolean) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Get the required data input stream to read.
This method will use the new enhanced FastBufferedInputStream if the server version is 1.18 or higher. - getEditor() - Method in class com.saicone.rtag.RtagEditor
-
Get current
RtagEditorobject. - getEntries() - Method in class com.saicone.rtag.util.reflect.Remapper.Mapping
- getEnumValues() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- getExact(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Get exact Tag value without any conversion, from the specified path inside current tag.
SeeRtag.getExact(Object, Object...)for more information. - getExact(Object, Object...) - Method in class com.saicone.rtag.Rtag
-
Get exact Tag value without any conversion, from the specified path inside tag.
SeeRtag.get(Object, Object...)for path information. - getExactOrCreate(Object, Object[], BiPredicate) - Method in class com.saicone.rtag.Rtag
-
Get exact Tag value without any conversion, from the specified path inside tag.
SeeRtag.get(Object, Object...)for path information. - getExactOrCreate(Object, Object[], BiPredicate, Predicate) - Method in class com.saicone.rtag.Rtag
-
Get and test exact Tag value without any conversion, from the specified path inside tag.
SeeRtag.get(Object, Object...)for path information. - getFrom() - Method in class com.saicone.rtag.util.reflect.Remapper.Mapping
- getInID() - Method in interface com.saicone.rtag.RtagSerializer
-
The unique ID to save with CompoundTag on
Rtag.newTag(Object)operations.
"In" means the value inside will be put into tag.
This ID must be the same has "Out" ID onRtagDeserializerif you want to obtain the saved object as current type in a future. - getIterable() - Method in class com.saicone.rtag.util.IterableType
-
Get the object that can be iterated.
- getIterable() - Method in class com.saicone.rtag.util.OptionalType
- getJson(Gson, Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Get the provided CompoundTag as Json string.
- getJson(Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Get the provided CompoundTag as Json string.
- getLiteralObject() - Method in class com.saicone.rtag.RtagEditor
-
Get current literal object.
In most cases this is a Minecraft server object. - getLiteralObject(T) - Method in class com.saicone.rtag.RtagEditor
-
Get type object as literal one.
- getLookup() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- getMap() - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Return the map inside real component builder.
- getMinecraftRegistry() - Static method in class com.saicone.rtag.Rtag
-
Get a globalized registry from Bukkit registry.
- getMirror() - Method in class com.saicone.rtag.Rtag
-
Deprecated.
RtagextendsRtagMirror. - getName() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- getName() - Method in class com.saicone.rtag.util.reflect.Reference
- getObject() - Method in class com.saicone.rtag.RtagEditor
-
Deprecated.To get current object use
RtagEditor.getLiteralObject()instead. - getOptional(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Same has
RtagEditor.get(Object...)but save the value intoOptionalType. - getOptional(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent
-
Get a declared component type from data component object wrapped as optional object.
- getOptional(Object, Object...) - Method in class com.saicone.rtag.Rtag
-
Same has
Rtag.get(Object, Object...)but save the value intoOptionalType. - getOutID() - Method in interface com.saicone.rtag.RtagDeserializer
-
The unique ID to detect any CompoundTag who can be converted to object type on
Rtag.getTagValue(Object)(Object)} operations.
"Out" means the value inside will be obtained from tag.
This ID must be the same has "In" ID onRtagSerializerif you want to read the saved object with same type. - getPackage() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- getParameters() - Method in class com.saicone.rtag.util.reflect.Reference
- getParent() - Method in class com.saicone.rtag.util.reflect.Reference
- getReadLimiter() - Static method in class com.saicone.rtag.stream.TStreamTools
-
Get a NbtAccounter instance with no limit to read NBT data.
- getRtag() - Method in class com.saicone.rtag.RtagEditor
-
Get current
Rtagparent. - getRtag() - Method in class com.saicone.rtag.RtagMirror
-
Deprecated.
RtagextendsRtagMirror. - getTag() - Method in class com.saicone.rtag.RtagEditor
-
Get current tag.
- getTag(Object) - Method in class com.saicone.rtag.RtagEditor
-
Get current tag inside type or literal object.
- getTagValue(Object) - Method in class com.saicone.rtag.Rtag
-
Convert any tag object to exact regular Java object or custom by deserializer without any cast.
- getTagValue(Object) - Method in class com.saicone.rtag.RtagMirror
-
Convert any tag object to regular Java object.
- getter() - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- getter(Object, String, Object) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findGetter(Class, String, Class)without creating a MethodType, this method require to specify the return type class ofFieldand its only compatible with public instance fields, seeEasyLookup.staticGetter(Object, String, Object)for static getter.
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectGetter(Object, String)for private getters. - getTo() - Method in class com.saicone.rtag.util.reflect.Remapper.Mapping
- getType() - Method in class com.saicone.rtag.util.reflect.Reference
- getType(Object) - Static method in class com.saicone.rtag.tag.TagList
-
Deprecated.
- getTypeId(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Get current tag type ID.
Byte = 1 | Short = 2 | Int = 3 | Long = 4 | Float = 5 | Double = 6 | ByteArray = 7 | String = 8 | List = 9 | Compound = 10 | IntArray = 11 | LongArray = 12 - getTypeObject() - Method in class com.saicone.rtag.RtagEditor
-
Get current type object defined on editor.
- getValue() - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- getValue(RtagMirror, Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Get Java value recursively of any Tag tag.
For example CompoundTag -> Map. - getValue(RtagMirror, Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Get current tag map with converted values.
- getValue(RtagMirror, Object) - Static method in class com.saicone.rtag.tag.TagList
-
Get current tag list with values converted.
- getValue(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- getValue(Object) - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Get the map value from component map.
- getValue(Object) - Static method in class com.saicone.rtag.data.DataComponent.MapPatch
-
Get the map value from patched map.
- getValue(Object) - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Get the map value from component patch.
- getValue(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Get Java value of Tag tag.
For example StringTag -> String. - getValue(Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Get current tag map.
- getValue(Object) - Static method in class com.saicone.rtag.tag.TagList
-
Get current tag list.
- GSON - Static variable in class com.saicone.rtag.util.OptionalType
-
Gsonpublic instance with default configuration.
H
- handle() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- handle() - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- handle0() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- handleIf(boolean) - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- handleIfExist() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- has(Object) - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Check if the current builder contains a DataComponentType.
On a component patch builder this method may not work to check the availability of provided type due the map can contain empty values. - has(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.Holder
-
Check if the provided holder has any type of DataComponentType inside.
- has(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Check if the provided component map has any type of DataComponentType inside.
- hasEnum(int[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Check if current tag has Enum ordinals in defined path.
- hasEnum(int, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Check if current tag has Enum ordinal in defined path.
- hasEnum(E[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Check if current tag has Enum elements array in defined path.
- hasEnum(E, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Check if current tag has Enum element in defined path.
- hashCode() - Method in class com.saicone.rtag.util.OptionalType
- hashCode() - Method in class com.saicone.rtag.util.reflect.Reference
- hasKey(Object, String) - Static method in class com.saicone.rtag.tag.TagCompound
-
Check if CompoundTag contains certain key in Map.
- hasTag() - Method in class com.saicone.rtag.RtagEditor
-
Check if current object has tag.
- hasTag(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Check if current tag contains a object in defined path.
I
- importClass(Class) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- importClass(String) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- INSTANCE - Static variable in class com.saicone.rtag.Rtag
-
Rtagpublic instance only compatible with regular Java objects. - INSTANCE - Static variable in class com.saicone.rtag.RtagMirror
-
RtagMirrorpublic instance only compatible with regular Java objects. - invoke() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- invoke() - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- invoke(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- invoke(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- invoke(MethodHandle) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- invoke(MethodHandle, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.saicone.rtag.util.reflect.Lookup
- IOValue - Class in com.saicone.rtag.registry
-
Class to create I/O objects that require a certain level of registry.
- IOValue() - Constructor for class com.saicone.rtag.registry.IOValue
- isAssignableFrom(Class[], Class[]) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
Class.isAssignableFrom(Class)but using class arrays. - isBetween(MC, MC) - Method in class com.saicone.rtag.util.MC
-
Check if this version is between the given versions (inclusive).
- isChatComponent(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Check if the provided object is instance of chat component
or is a String that follow the ChatComponent format. - isClass() - Method in class com.saicone.rtag.util.reflect.Reference
- isComponent() - Method in class com.saicone.rtag.util.MC
-
Check if version includes data component-based architecture (1.20.5 and above).
- isConstructor() - Method in class com.saicone.rtag.util.reflect.Reference
- isEmpty() - Method in class com.saicone.rtag.util.OptionalType
-
Check if the existence of current value.
- isEmpty(Object) - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Check if the provided component map is empty.
- isEmpty(Object) - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Check if the provided component patch is empty.
- isField() - Method in class com.saicone.rtag.util.reflect.Reference
- isFlat() - Method in class com.saicone.rtag.util.MC
-
Check if version is considered flat (1.13 and above).
- isFolia - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
ServerInstance.Platform.FOLIAinstead. - isGzipFormat(File) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Check if the provided file is a GZIP file.
- isGzipFormat(InputStream) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Check if the provided InputStream is a GZIP formatted input.
- isGzipHeader(byte[]) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Check if the provided byte array has GZIP header.
- isGzipHeader(int, int) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Check if the provided ID1 and ID2 are the same has GZIP magic.
- isInstance(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- isInstance(Class) - Method in class com.saicone.rtag.util.OptionalType
-
Check if the current value is instance of defined class.
- isIterable() - Method in class com.saicone.rtag.util.IterableType
-
Check if the current object can be iterated using for statement.
This condition can be applied to anyIterabletype or array. - isLegacy - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - isLegacy() - Method in class com.saicone.rtag.util.MC
-
Check if version is considered legacy (1.12.2 and below).
- isLocked() - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- isMethod() - Method in class com.saicone.rtag.util.reflect.Reference
- isMojangMapped - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
ServerInstance.Type.MOJANG_MAPPEDinstead. - isNbtHeader(byte[]) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Check if the provided byte array has NBT header.
- isNewerThan(MC) - Method in class com.saicone.rtag.util.MC
-
Check if this version is newer than the given version.
- isNewerThanOrEquals(MC) - Method in class com.saicone.rtag.util.MC
-
Check if this version is newer than or equals to the given version.
- isNotEmpty() - Method in class com.saicone.rtag.util.OptionalType
-
Same has
OptionalType.isEmpty()but with inverted result. - isNotInstance(Class) - Method in class com.saicone.rtag.util.OptionalType
-
Same has
OptionalType.isInstance(Class)but with inverted result. - isNotIterable() - Method in class com.saicone.rtag.util.IterableType
-
Same has
IterableType.isIterable()but with inverted result. - isOlderThan(MC) - Method in class com.saicone.rtag.util.MC
-
Check if this version is older than the given version.
- isOlderThanOrEquals(MC) - Method in class com.saicone.rtag.util.MC
-
Check if this version is older than or equals to the given version.
- isPaper - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
ServerInstance.Platform.PAPERinstead. - isSpigot - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
ServerInstance.Platform.SPIGOTinstead. - isTag(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Check if the provided object is instance of Tag class.
- isTagCompound(Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Check if the provided object is instance of CompoundTag class.
- isTagList(Object) - Static method in class com.saicone.rtag.tag.TagList
-
Check if the provided object is instance of ListTag class.
- isType(Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Check if the provided object is instance of DataComponentType.
- isTypeOf(Object, byte) - Static method in class com.saicone.rtag.tag.TagBase
-
Check if Tag object type is equals to provided type id.
- isTypeOf(Object, Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Check if two Tag objects has the same type.
- isUniversal - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - isUniversal() - Method in class com.saicone.rtag.util.MC
-
Check if version is considered universal (1.17 and above).
- isUnlocked() - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- IterableType<T> - Class in com.saicone.rtag.util
-
Abstract class to allow any object to be targeted on the enhanced for statement.
- IterableType() - Constructor for class com.saicone.rtag.util.IterableType
- iterator() - Method in class com.saicone.rtag.util.IterableType
J
- JAVA_OPS - Static variable in class com.saicone.rtag.data.ComponentType
-
JavaOps public instance from DataFixerUpper library.
K
- key(String) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse provided component key into namespaced format.
- keySet(Object) - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Get a DataComponentType key set from component map.
L
- last() - Static method in class com.saicone.rtag.util.MC
-
Get last supported version.
- LEGACY - Static variable in class com.saicone.rtag.util.ServerInstance.Release
-
Deprecated.Use
MC.version()methods instead. - listFromBase64(String) - Method in class com.saicone.rtag.stream.TStream
-
Get list of objects by read Base64 string.
- listFromBytes(byte[]) - Method in class com.saicone.rtag.stream.TStream
-
Get list of objects by read byte array.
- listToBase64(List) - Method in class com.saicone.rtag.stream.TStream
-
Convert list of objects into Base64.
- literalObject - Variable in class com.saicone.rtag.RtagEditor
- load() - Method in class com.saicone.rtag.RtagEditor
-
Load changes into object instance.
- Lookup - Class in com.saicone.rtag.util.reflect
- Lookup.AClass<T> - Class in com.saicone.rtag.util.reflect
- Lookup.AConstructor<T> - Class in com.saicone.rtag.util.reflect
- Lookup.AField - Class in com.saicone.rtag.util.reflect
- Lookup.AMethod - Class in com.saicone.rtag.util.reflect
- Lookup.Runtime - Class in com.saicone.rtag.util.reflect
M
- major() - Method in class com.saicone.rtag.util.MC
-
Get major version number.
- MAJOR_VERSION - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - map(Reference) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- Mapping(Object) - Constructor for class com.saicone.rtag.util.reflect.Remapper.Mapping
- Mapping(Object, Object) - Constructor for class com.saicone.rtag.util.reflect.Remapper.Mapping
- max(MC, MC) - Static method in class com.saicone.rtag.util.MC
-
Get the maximum of two MC versions.
- MC - Class in com.saicone.rtag.util
-
Utility class that provides general information of every supported Minecraft version.
- merge(Object, boolean) - Method in class com.saicone.rtag.RtagEditor
-
Merge the provided value into current tag.
- merge(Object, boolean, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Merge the provided value at provided path.
- merge(Object, Object, boolean) - Static method in class com.saicone.rtag.tag.TagCompound
-
Merge the provided value into CompoundTag.
- merge(Object, Object, boolean, boolean) - Static method in class com.saicone.rtag.tag.TagCompound
-
Merge the provided value into CompoundTag.
- merge(Object, Object, boolean, Object...) - Method in class com.saicone.rtag.Rtag
-
Merge the provided value with CompoundTag at provided path.
- method() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- method(int, Object, String, Object...) - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- method(Object, Object, String, Object...) - Static method in class com.saicone.rtag.util.reflect.Reference
- method(Object, String, Object...) - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- method(Object, String, Object...) - Method in class com.saicone.rtag.util.reflect.Remapper.Mapping
- method(Object, String, Object, Object...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findVirtual(Class, String, MethodType)without creating a MethodType, this method require to specify the return type class of reflectedMethodand its only compatible with instance public methods, seeEasyLookup.staticMethod(Object, String, Object, Object...)for static public methods.
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectMethod(Object, String, Object...)for private methods. - methodType(Class, Class...) - Static method in class com.saicone.rtag.util.reflect.Lookup
- min(MC, MC) - Static method in class com.saicone.rtag.util.MC
-
Get the minimum of two MC versions.
- minor() - Method in class com.saicone.rtag.util.MC
-
Get minor version number.
- mods(int) - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- mods(int) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- mods(int) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- mods(int...) - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- mods(int...) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- mods(int...) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- MOJANG_MAPPED - Static variable in class com.saicone.rtag.util.ServerInstance.Type
-
Return true if server instance is mojang mapped.
- mojangToSpigot(MC) - Static method in class com.saicone.rtag.util.reflect.Remapper
- move(Object[], Object[]) - Method in class com.saicone.rtag.RtagEditor
-
Move tag from specified path to any path.
- move(Object[], Object[], boolean) - Method in class com.saicone.rtag.RtagEditor
-
Move tag from specified path to any path.
- move(Object, Object[], Object[]) - Method in class com.saicone.rtag.Rtag
-
Move tag from specified path to any path.
- move(Object, Object[], Object[], boolean) - Method in class com.saicone.rtag.Rtag
-
Move tag from specified path to any path.
N
- name() - Method in class com.saicone.rtag.util.MC
- name(String) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- name(String) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- NBT_OPS - Static variable in class com.saicone.rtag.data.ComponentType
-
NbtOps public instance from Minecraft code.
- NBT_PALETTE - Static variable in class com.saicone.rtag.util.ChatComponent
-
Default color palette for pretty nbt.
- NBT_PALETTE_BUNGEE - Static variable in class com.saicone.rtag.util.ChatComponent
-
Color palette with hex colors introduced on MC 1.16 using Bungeecord chat format.
- NBT_PALETTE_HEX - Static variable in class com.saicone.rtag.util.ChatComponent
-
Color palette with hex colors introduced on MC 1.16.
- NBT_PALETTE_MINIMESSAGE - Static variable in class com.saicone.rtag.util.ChatComponent
-
Color palette using Adventure MiniMessage format.
- newTag() - Static method in class com.saicone.rtag.tag.TagCompound
-
Constructs an empty CompoundTag.
- newTag() - Static method in class com.saicone.rtag.tag.TagList
-
Constructs an empty ListTag.
- newTag(RtagMirror, Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Constructs a Tag recursively with provided object.
For example List -> ListTag - newTag(RtagMirror, Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Constructs an CompoundTag with provided object and required
RtagMirrorto convert Objects.
This method can convert any supported object to Map of objects using Gson deserializer. - newTag(RtagMirror, List) - Static method in class com.saicone.rtag.tag.TagList
-
Constructs an ListTag with provided List of any type and required
RtagMirrorto convert Objects. - newTag(RtagMirror, Map) - Static method in class com.saicone.rtag.tag.TagCompound
-
Constructs an CompoundTag with provided Map of Objects and required
RtagMirrorto convert Objects. - newTag(Object) - Method in class com.saicone.rtag.Rtag
-
Convert any object to tag object.
This method first check for any serializer and then use the currentRtagMirror. - newTag(Object) - Method in class com.saicone.rtag.RtagMirror
-
Convert any object to tag object.
- newTag(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Constructs a Tag directly associated with Java object.
For example Float -> FloatTag - newTag(String) - Static method in class com.saicone.rtag.tag.TagCompound
-
Constructs an CompoundTag with provided NBT string.
- newTag(List) - Static method in class com.saicone.rtag.tag.TagList
-
Constructs an ListTag with provided List of tags.
- newTag(Map) - Static method in class com.saicone.rtag.tag.TagCompound
-
Constructs an CompoundTag with provided Map of tag values.
- newUncheckedTag(List) - Static method in class com.saicone.rtag.tag.TagList
-
Constructs an ListTag with provided List of tags.
This method doesn't provide any safe check and assumes that the provided list is completely usable to create a new ListTag. - newUncheckedTag(Map) - Static method in class com.saicone.rtag.tag.TagCompound
-
Constructs an CompoundTag with provided Map of tag values.
This method doesn't provide any safe check and assumes that the provided map is completely usable to create a new CompoundTag. - notHasKey(Object, String) - Static method in class com.saicone.rtag.tag.TagCompound
-
The inverse result of
TagCompound.hasKey(Object, String). - notHasTag() - Method in class com.saicone.rtag.RtagEditor
-
Same has
RtagEditor.hasTag()but with inverted result. - notHasTag(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Same has
RtagEditor.hasTag(Object...)but with inverted result.
O
- Object conversion - Section in class com.saicone.rtag.Rtag
- of(Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Get provided DataComponentType or parse from ID.
This method may return a null object if the provided ID doesn't exist. - of(Object) - Static method in class com.saicone.rtag.util.OptionalType
-
Get current OptionalType from object value.
- of(String) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse DataComponentType from ID.
- OptionalType - Class in com.saicone.rtag.util
-
Object container with automatic conversion to required type when value is called.
- OptionalType(Object) - Constructor for class com.saicone.rtag.util.OptionalType
-
Constructs an OptionalType with specified value.
- or(Class, T) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value converted to required type class or default defined value.
- or(T) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value converted to required type or default defined value.
- ordinal() - Method in class com.saicone.rtag.util.MC
-
Get version ordinal number (internal value).
P
- PACKAGE_VERSION - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - PAPER - Static variable in class com.saicone.rtag.util.ServerInstance.Platform
-
Return true if server instance is a PaperMC server.
PaperMC.io - params(Object...) - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- params(Object...) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- parse(Object, DynamicOps, T) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse provided object by object provider into new component declared type.
- parse(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse provided object into new component declared type.
This method allows any NBT, JsonElement and regular Java object to parse. - parseJava(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse provided regular Java object into new component declared type.
- parseJson(Object, JsonElement) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse provided json into new component declared type.
- parseNbt(Object, Object) - Static method in class com.saicone.rtag.data.ComponentType
-
Parse provided tag into new component declared type.
- Platform() - Constructor for class com.saicone.rtag.util.ServerInstance.Platform
- privateLookup(Class) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
MethodHandles.privateLookupIn(Class, MethodHandles.Lookup)but save the result into memory. - ProblemReporter - Interface in com.saicone.rtag.util
-
Class to invoke ProblemReporter related methods.
- ProblemReporter.Static - Class in com.saicone.rtag.util
- protocol() - Method in class com.saicone.rtag.util.MC
-
Get protocol version number.
- putDeserializer(RtagDeserializer) - Method in class com.saicone.rtag.Rtag
-
Register an
RtagDeserializerforRtag.getTagValue(Object)operations. - putSerializer(Class, RtagSerializer) - Method in class com.saicone.rtag.Rtag
-
Register an
RtagSerializerforRtag.newTag(Object)operations.
R
- read(byte[]) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Read Tag from byte array.
- read(DataInput) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Read Tag from DataInput.
- read(DataInputStream) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Read Tag from DataInputStream.
- read(File) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Read Tag from file.
- read(InputStream) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Read Tag from InputStream.
- Read - Section in class com.saicone.rtag.stream.TStream
- Reference - Class in com.saicone.rtag.util.reflect
- Reference(Object, Object, String, Object[]) - Constructor for class com.saicone.rtag.util.reflect.Reference
- ReferenceBuilder(Object, Object, String, Object[]) - Constructor for class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- release - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - release(int) - Static method in class com.saicone.rtag.util.ServerInstance
-
Convert data version into release version number.
- Release() - Constructor for class com.saicone.rtag.util.ServerInstance.Release
-
Deprecated.
- RELEASE_VERSION - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - Remapper - Class in com.saicone.rtag.util.reflect
- Remapper() - Constructor for class com.saicone.rtag.util.reflect.Remapper
- Remapper.Mapping - Class in com.saicone.rtag.util.reflect
- Remapper.ReferenceBuilder - Class in com.saicone.rtag.util.reflect
- remove(Object) - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Remove the provided DataComponentType mapping from builder and return this instance.
- remove(Object...) - Method in class com.saicone.rtag.RtagEditor
-
Remove value to specified path inside current tag.
SeeRtag.set(Object, Object, Object...)for more information. - remove(Object, int) - Static method in class com.saicone.rtag.tag.TagList
-
Remove tag object.
- remove(Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.MapPatch
-
Remove the provided DataComponentType mapping from patched map.
- remove(Object, String) - Static method in class com.saicone.rtag.tag.TagCompound
-
Remove certain key from CompoundTag.
- removeEnum(int[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Remove Enum ordinals from bit field on specified path.
- removeEnum(int, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Remove Enum ordinal from bit field on specified path.
- removeEnum(E[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Remove Enum elements from bit field on specified path.
- removeEnum(E, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Remove Enum element from bit field on specified path.
- removeExact(Object, Object) - Method in class com.saicone.rtag.Rtag
-
Remove value from exact NBTTag list or compound.
- require(boolean) - Method in class com.saicone.rtag.util.reflect.Lookup.Runtime
- resourcePackFormat() - Method in class com.saicone.rtag.util.MC
-
Get resource pack format number.
- result(Object) - Static method in class com.saicone.rtag.registry.IOValue
-
Get the result of a tag value output.
- revision() - Method in class com.saicone.rtag.util.MC
-
Get version revision number.
Generally represents the "R" number in the craftbukkit package. - rtag - Variable in class com.saicone.rtag.RtagEditor
- Rtag - Class in com.saicone.rtag
-
Rtag class to edit CompoundTag & ListTag objects.
Uses a tree-like path format to find the required tag instead of creating multiple classes for deep-tags. - Rtag() - Constructor for class com.saicone.rtag.Rtag
-
Create new
Rtaginstance. - Rtag(RtagMirror) - Constructor for class com.saicone.rtag.Rtag
-
Deprecated.
RtagextendsRtagMirror. - RtagDeserializer<T> - Interface in com.saicone.rtag
-
An deserializer that converts any
Mapof objects to assigned object type. - RtagEditor<T,
EditorT> - Class in com.saicone.rtag -
RtagEditor abstract class who edit any object with CompoundTag inside.
Also provide methods to easy-edit object tags using aRtaginstance. - RtagEditor(Rtag, T) - Constructor for class com.saicone.rtag.RtagEditor
-
Constructs an NBTEditor.
- RtagEditor(Rtag, T, Object) - Constructor for class com.saicone.rtag.RtagEditor
-
Constructs an NBTEditor.
- RtagEditor(Rtag, T, Object, Object) - Constructor for class com.saicone.rtag.RtagEditor
-
Constructs an NBTEditor.
- RtagMirror - Class in com.saicone.rtag
-
RtagMirror class to convert objects.
By default, it's only compatible with regular Java objects like String, Short, Integer, Double, Float, Long, Byte, Map and List.
It also converts Byte, Integer and Long arrays as well. - RtagMirror() - Constructor for class com.saicone.rtag.RtagMirror
-
Constructs an
RtagMirroronly compatible with regular Java objects. - RtagMirror(Rtag) - Constructor for class com.saicone.rtag.RtagMirror
-
Deprecated.
RtagextendsRtagMirror. - RtagSerializer<T> - Interface in com.saicone.rtag
-
An Serializer that converts any Object to
Map. - Runtime(ClassLoader) - Constructor for class com.saicone.rtag.util.reflect.Lookup.Runtime
- Runtime(ClassLoader, UnaryOperator) - Constructor for class com.saicone.rtag.util.reflect.Lookup.Runtime
- RUNTIME - Static variable in class com.saicone.rtag.util.reflect.Lookup
S
- safeClone(Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Copy provided CompoundTag into new one without exceptions.
- score(int[], int) - Static method in class com.saicone.rtag.util.reflect.Lookup
- score(Class[], Class[]) - Static method in class com.saicone.rtag.util.reflect.Lookup
- score(Class, Class) - Static method in class com.saicone.rtag.util.reflect.Lookup
- score(Constructor, Class[]) - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- score(Field, Class, String) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- score(Method, Class, String, Class[]) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- serialize(T) - Method in interface com.saicone.rtag.RtagSerializer
-
Method who be invoked to convert any Object to
Map. - SERVER - Static variable in class com.saicone.rtag.util.reflect.Lookup
- ServerInstance - Class in com.saicone.rtag.util
-
Server instance class to get information about current server.
- ServerInstance() - Constructor for class com.saicone.rtag.util.ServerInstance
- ServerInstance.Platform - Class in com.saicone.rtag.util
-
Server platform subclass with different supported platforms.
- ServerInstance.Release - Class in com.saicone.rtag.util
-
Deprecated.Use
MC.version()methods instead. - ServerInstance.Type - Class in com.saicone.rtag.util
-
Server type subclass with major changes in compiled instance.
- set(Object) - Method in class com.saicone.rtag.RtagEditor
-
Change object tag into new one.
Value must be Map<String, Object> or CompoundTag. - set(Object, int, Object) - Static method in class com.saicone.rtag.tag.TagList
-
Set tag object at index.
- set(Object, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Set value to specified path inside current tag.
SeeRtag.set(Object, Object, Object...)for more information. - set(Object, Object, Object) - Static method in class com.saicone.rtag.data.DataComponent.MapPatch
-
Set provided object type by a DataComponentType declaration of object itself into patched map.
- set(Object, Object, Object...) - Method in class com.saicone.rtag.Rtag
-
Set value to specified path inside tag.
Note that empty path returns false because this method is only made for tags inside compounds or lists.
If you want something like "remove", just put a null value.
SeeRtag.get(Object, Object...)for path information. - set(Object, String, Object) - Static method in class com.saicone.rtag.tag.TagCompound
-
Put certain Tag value to CompoundTag.
- set(Object, V) - Method in class com.saicone.rtag.data.DataComponent.Builder
-
Set provided object type by a DataComponentType declaration of object itself as value type into builder and return this instance.
- setEnum(int[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Set Enum ordinals has bit field on specified path.
- setEnum(int, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Set Enum ordinal has bit field on specified path.
- setEnum(E[], Object...) - Method in class com.saicone.rtag.RtagEditor
-
Set Enum elements has bit field on specified path.
- setEnum(E, Object...) - Method in class com.saicone.rtag.RtagEditor
-
Set Enum element has bit field on specified path.
- setExact(Object, Object, Object) - Method in class com.saicone.rtag.Rtag
-
Set value to exact NBTTag list or compound.
- setIterable(Object) - Method in class com.saicone.rtag.util.OptionalType
- setIterable(T) - Method in class com.saicone.rtag.util.IterableType
-
Set the object that can be iterated.
- setRtag(Rtag) - Method in class com.saicone.rtag.RtagMirror
-
Deprecated.
RtagextendsRtagMirror. - setter() - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- setter(Object, String, Object) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findSetter(Class, String, Class)without creating a MethodType, this method require to specify the return type class ofFieldand its only compatible with public instance fields, seeEasyLookup.staticSetter(Object, String, Object)for static setter.
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectSetter(Object, String)for private setters. - setType(Object, byte) - Static method in class com.saicone.rtag.tag.TagList
-
Deprecated.
- setValue(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- setValue(Object, Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- setValue(Object, Reference2ObjectMap) - Static method in class com.saicone.rtag.data.DataComponent.MapPatch
-
Replace the map value into patched map.
- setValue(Object, Reference2ObjectMap) - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Replace the map value into component patch.
- setValue(Object, List) - Static method in class com.saicone.rtag.tag.TagList
-
Override the current Tag list inside ListTag.
- setValue(Object, Map) - Static method in class com.saicone.rtag.tag.TagCompound
-
Override the current map of tag values inside CompoundTag.
- single() - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value as single object
This method make a recursively extract from the first value if the current object is a collection or array. - size(Object) - Static method in class com.saicone.rtag.data.DataComponent.Map
-
Get the size of provided component map.
- size(Object) - Static method in class com.saicone.rtag.data.DataComponent.Patch
-
Get the size of provided component patch.
- size(Object) - Static method in class com.saicone.rtag.tag.TagBase
-
Get the size of elements inside CompoundTag or ListTag.
- size(Object) - Static method in class com.saicone.rtag.tag.TagList
-
Get the size of elements inside list.
- SPIGOT - Static variable in class com.saicone.rtag.util.ServerInstance.Platform
-
Return true if server instance is a SpigotMC server.
SpigotMC.org - Static() - Constructor for class com.saicone.rtag.util.ProblemReporter.Static
- staticGetter(Object, String, Object) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findStaticGetter(Class, String, Class)without creating a MethodType, this method require to specify the return type class ofFieldand its only compatible with instance fields
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectGetter(Object, String)for private getters. - staticMethod(Object, String, Object, Object...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findStatic(Class, String, MethodType)without creating a MethodType, this method require to specify the return type class of reflectedMethodand only compatible with static methods.
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectMethod(Object, String, Object...)for private methods. - staticSetter(Object, String, Object) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.findStaticSetter(Class, String, Class)without creating a MethodType, this method require to specify the return type class ofFieldand its only compatible with instance fields
Required classes can be Strings to get byEasyLookup.classById(String).
See alsoEasyLookup.unreflectSetter(Object, String)for private setters.
T
- tag - Variable in class com.saicone.rtag.RtagEditor
- TAG_BASE - Static variable in class com.saicone.rtag.RtagMirror
-
Tag class object.
- TAG_COMPOUND - Static variable in class com.saicone.rtag.RtagMirror
-
CompoundTag class object.
- TAG_LIST - Static variable in class com.saicone.rtag.RtagMirror
-
ListTag class object.
- TagBase - Class in com.saicone.rtag.tag
-
Class to invoke methods inside classes that extends Tag.
- TagCompound - Class in com.saicone.rtag.tag
-
Class to invoke CompoundTag methods across versions.
- TagList - Class in com.saicone.rtag.tag
-
Class to invoke ListTag methods across versions.
- test(Method, Class, Class[]) - Method in interface com.saicone.rtag.util.EasyLookup.MethodPredicate
-
Deprecated.Eval this predicate with current arguments.
- testClass(String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Test the availability of provided class name using
Class.forName(String). - ThrowableFunction<T,
R> - Interface in com.saicone.rtag.util -
Represents a function that accepts one argument and produces a result.
Function will throw a Throwable. - to(Object, String) - Method in class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- to(Object, String, Object...) - Method in class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- to(String) - Method in class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- toBase64(T...) - Method in class com.saicone.rtag.stream.TStream
-
Convert objects into Base64.
- toBytes(T) - Method in class com.saicone.rtag.stream.TStream
-
Convert object into bytes.
This method first convert provided object into CompoundTag, then write compound into ByteArrayOutputStream.
Object -> CompoundTag -> Bytes - toCompound(T) - Method in class com.saicone.rtag.stream.TStream
-
Convert object into CompoundTag.
- toConstructor(Object...) - Method in class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- toFile(T, File) - Method in class com.saicone.rtag.stream.TStream
-
Write provided object into file.
Provided file must be exist.
This method first convert provided object into CompoundTag, then write compound into FileOutputStream. - toJson(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert String or chat component to json component.
- toJsonOrNull(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert String or chat component to json component.
- toMap(T) - Method in class com.saicone.rtag.stream.TStream
-
Convert object into Map of objects.
- toPrettyComponent(Object, String) - Static method in class com.saicone.rtag.util.ChatComponent
-
Format the provided tag into pretty string as chat component.
- toPrettyComponent(Object, String, String[]) - Static method in class com.saicone.rtag.util.ChatComponent
-
Format the provided tag into pretty string as chat component.
- toPrettyJson(Object, String) - Static method in class com.saicone.rtag.util.ChatComponent
-
Format the provided tag into pretty string as json component.
- toPrettyJson(Object, String, String[]) - Static method in class com.saicone.rtag.util.ChatComponent
-
Format the provided tag into pretty string as json component.
- toPrettyString(Object, String) - Static method in class com.saicone.rtag.util.ChatComponent
-
Format the provided tag into pretty string.
- toPrettyString(Object, String, String[]) - Static method in class com.saicone.rtag.util.ChatComponent
-
Format the provided tag into pretty string.
- toReference() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- toReference() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- toReference() - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- toReference() - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- toString() - Method in class com.saicone.rtag.util.MC
-
Get the string representation of this version (
#.##). - toString() - Method in class com.saicone.rtag.util.reflect.Lookup.AClass
- toString() - Method in class com.saicone.rtag.util.reflect.Lookup.AConstructor
- toString() - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- toString() - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- toString() - Method in class com.saicone.rtag.util.reflect.Reference
- toString(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert json String or chat component to string.
- toString(T) - Method in class com.saicone.rtag.stream.TStream
-
Convert object into NBT String.
- toStringOrNull(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert json String or chat component to string.
- toTag(Object) - Method in class com.saicone.rtag.Rtag
-
Deprecated.To create tag object use
Rtag.newTag(Object)instead. - toTag(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert chat component to nbt.
- toTagOrNull(Object) - Static method in class com.saicone.rtag.util.ChatComponent
-
Convert chat component to nbt.
- toType(Object) - Method in class com.saicone.rtag.util.reflect.Remapper.ReferenceBuilder
- TStream<T> - Class in com.saicone.rtag.stream
-
Tag stream class to handle CompoundTag with writeable and readable objects.
The TStream instance provide easy methods handle objects has bytes. - TStream() - Constructor for class com.saicone.rtag.stream.TStream
- TStreamTools - Class in com.saicone.rtag.stream
-
Class to invoke NbtIo methods across versions.
- type(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AField
- type(Object) - Method in class com.saicone.rtag.util.reflect.Lookup.AMethod
- Type() - Constructor for class com.saicone.rtag.util.ServerInstance.Type
- typeObject - Variable in class com.saicone.rtag.RtagEditor
U
- UNIT - Static variable in class com.saicone.rtag.Rtag
-
Single object that represents a Java unit defined by Mojang.
On versions before 1.14 this object just act like a dummy object. - UNIVERSAL - Static variable in class com.saicone.rtag.util.ServerInstance.Release
-
Deprecated.Use
MC.version()methods instead. - unreflectConstructor(Object, Object...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.unreflectConstructor(Constructor), this method creates an accessibleConstructorand unreflect it, useful for private constructors.
Required classes can be Strings to get byEasyLookup.classById(String). - unreflectConstructor(Constructor) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
MethodHandles.Lookup.unreflectConstructor(Constructor), but this method makes the constructor accessible if unreflection fails. - unreflectGetter(Object, String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.unreflectGetter(Field), this method creates an accessibleFieldand unreflect it, can be static or instance field.
Required classes can be Strings to get byEasyLookup.classById(String). - unreflectGetter(Field) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
MethodHandles.Lookup.unreflectGetter(Field), but this method makes the field accessible if unreflection fails.
Required classes can be Strings to get byEasyLookup.classById(String). - unreflectMethod(Object, String, Object...) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.unreflect(Method), this method creates and accessibleMethodand unreflect it, can be static or instance method.
Required classes can be Strings to get byEasyLookup.classById(String). - unreflectMethod(Method) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.unreflect(Method), but this method makes the method accessible if unreflection fails. - unreflectSetter(Object, String) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Easy way to invoke
MethodHandles.Lookup.unreflectSetter(Field), this method creates a accessibleFieldand unreflect it, can be static or instance field.
Required classes can be Strings to get byEasyLookup.classById(String). - unreflectSetter(Field) - Static method in class com.saicone.rtag.util.EasyLookup
-
Deprecated.Same has
MethodHandles.Lookup.unreflectSetter(Field), but this method makes the field accessible if unreflection fails.
Required classes can be Strings to get byEasyLookup.classById(String). - update() - Method in class com.saicone.rtag.RtagEditor
-
Update the current tag using the original object type.
- update(Object) - Method in class com.saicone.rtag.RtagEditor
-
Update the current tag using the provided object type.
V
- V_1_10 - Static variable in class com.saicone.rtag.util.MC
- V_1_10_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_10_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_11 - Static variable in class com.saicone.rtag.util.MC
- V_1_11_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_11_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_12 - Static variable in class com.saicone.rtag.util.MC
- V_1_12_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_12_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_13 - Static variable in class com.saicone.rtag.util.MC
- V_1_13_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_13_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_14 - Static variable in class com.saicone.rtag.util.MC
- V_1_14_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_14_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_14_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_14_4 - Static variable in class com.saicone.rtag.util.MC
- V_1_15 - Static variable in class com.saicone.rtag.util.MC
- V_1_15_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_15_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_16 - Static variable in class com.saicone.rtag.util.MC
- V_1_16_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_16_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_16_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_16_4 - Static variable in class com.saicone.rtag.util.MC
- V_1_16_5 - Static variable in class com.saicone.rtag.util.MC
- V_1_17 - Static variable in class com.saicone.rtag.util.MC
- V_1_17_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_18 - Static variable in class com.saicone.rtag.util.MC
- V_1_18_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_18_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_19 - Static variable in class com.saicone.rtag.util.MC
- V_1_19_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_19_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_19_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_19_4 - Static variable in class com.saicone.rtag.util.MC
- V_1_20 - Static variable in class com.saicone.rtag.util.MC
- V_1_20_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_20_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_20_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_20_4 - Static variable in class com.saicone.rtag.util.MC
- V_1_20_5 - Static variable in class com.saicone.rtag.util.MC
- V_1_20_6 - Static variable in class com.saicone.rtag.util.MC
- V_1_21 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_10 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_11 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_4 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_5 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_6 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_7 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_8 - Static variable in class com.saicone.rtag.util.MC
- V_1_21_9 - Static variable in class com.saicone.rtag.util.MC
- V_1_8 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_4 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_5 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_6 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_7 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_8 - Static variable in class com.saicone.rtag.util.MC
- V_1_8_9 - Static variable in class com.saicone.rtag.util.MC
- V_1_9 - Static variable in class com.saicone.rtag.util.MC
- V_1_9_1 - Static variable in class com.saicone.rtag.util.MC
- V_1_9_2 - Static variable in class com.saicone.rtag.util.MC
- V_1_9_3 - Static variable in class com.saicone.rtag.util.MC
- V_1_9_4 - Static variable in class com.saicone.rtag.util.MC
- V_26_1 - Static variable in class com.saicone.rtag.util.MC
- V_26_1_1 - Static variable in class com.saicone.rtag.util.MC
- V_26_1_2 - Static variable in class com.saicone.rtag.util.MC
- value() - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value converted to required type.
- value(Class) - Method in class com.saicone.rtag.util.OptionalType
-
Get actual value converted to required type class.
- valueOf(Class) - Static method in class com.saicone.rtag.util.reflect.Reference
- valueOf(String) - Static method in class com.saicone.rtag.util.reflect.Reference
- valueOf(Constructor) - Static method in class com.saicone.rtag.util.reflect.Reference
- valueOf(Field) - Static method in class com.saicone.rtag.util.reflect.Reference
- valueOf(Method) - Static method in class com.saicone.rtag.util.reflect.Reference
- verNumber - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - verNumber(int) - Static method in class com.saicone.rtag.util.ServerInstance
-
Convert data version into simplified server version number.
- version - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead. - version() - Static method in class com.saicone.rtag.util.MC
-
Get current server version.
- version(int) - Static method in class com.saicone.rtag.util.ServerInstance
-
Convert data version into defined craftbukkit package.
- VERSION - Static variable in class com.saicone.rtag.util.ServerInstance
-
Deprecated.Use
MC.version()methods instead.
W
- write(Object, DataOutput) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Write Tag to DataOutput.
- write(Object, DataOutputStream) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Write Tag to DataOutputStream.
- write(Object, File) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Write Tag to File.
- write(Object, OutputStream) - Static method in class com.saicone.rtag.stream.TStreamTools
-
Write Tag to OutputStream.
- Write - Section in class com.saicone.rtag.stream.TStream
All Classes and Interfaces|All Packages
MC.version()methods instead.