Interface MappingLayer

All Known Implementing Classes:
IntermediaryMappingLayer, MojangMappingLayer, ParchmentMappingLayer, SignatureFixesLayerImpl

@Experimental public interface MappingLayer
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<Class<? extends MappingLayer>>
    Provides a list of layer classes that this mapping layer depends on.
     
    void
    visit​(net.fabricmc.mappingio.MappingVisitor mappingVisitor)
     
  • Method Details

    • visit

      void visit(net.fabricmc.mappingio.MappingVisitor mappingVisitor) throws IOException
      Throws:
      IOException
    • getSourceNamespace

      default MappingsNamespace getSourceNamespace()
    • dependsOn

      default List<Class<? extends MappingLayer>> dependsOn()
      Provides a list of layer classes that this mapping layer depends on. If such a layer is not present an Exception will be thrown when trying to resolve the layer.
      Returns:
      A list of MappingLayer classes to depend on.