Klasse MapperBase

java.lang.Object
de.florianmichael.asmfabricloader.api.MapperBase

@Deprecated public class MapperBase extends Object
Veraltet.
Wrapper for the TinyTree mappings. This class is used to convert between named and intermediary mappings.
  • Konstruktordetails

    • MapperBase

      public MapperBase(net.fabricmc.mapping.tree.TinyTree mappings, String from, String to)
      Veraltet.
  • Methodendetails

    • getClassName

      public String getClassName(String from)
      Veraltet.
      Parameter:
      from - The name of the class in the "from" mapping
      Gibt zurück:
      The name of the class in the "to" mapping
    • getClassDef

      public net.fabricmc.mapping.tree.ClassDef getClassDef(String name)
      Veraltet.
      Parameter:
      name - The name of the class in the "from" mapping
      Gibt zurück:
      The class definition of the class
    • getMethodName

      public String getMethodName(Class<?> owner, String from)
      Veraltet.
      Parameter:
      owner - The owner of the method
      from - The name of the method in the "from" mapping
      Gibt zurück:
      The name of the method in the "to" mapping
    • getMethodDef

      public net.fabricmc.mapping.tree.MethodDef getMethodDef(Class<?> owner, String name, boolean superclasses)
      Veraltet.
      Parameter:
      owner - The owner of the method
      name - The name of the method in the "from" mapping
      superclasses - Whether to search in superclasses of the owner
      Gibt zurück:
      The method definition of the method
    • getFieldName

      public String getFieldName(Class<?> owner, String from)
      Veraltet.
      Parameter:
      owner - The owner of the field
      from - The name of the field in the "from" mapping
      Gibt zurück:
      The name of the field in the "to" mapping
    • getFieldDef

      public net.fabricmc.mapping.tree.FieldDef getFieldDef(Class<?> owner, String name, boolean superclasses)
      Veraltet.
      Parameter:
      owner - The owner of the field
      name - The name of the field in the "from" mapping
      superclasses - Whether to search in superclasses of the owner
      Gibt zurück:
      The field definition of the field