Git Product home page Git Product logo

at's People

Contributors

denwav avatar jamierocks avatar stephan-gh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

denwav

at's Issues

FmlWriter produces incorrect output for bare ModifierChange.REMOVE

When you have AccessTransform.of(ModifierChange.REMOVE) in an access transform set and write that set using FmlWriter, the resulting AT file contains a broken line starting with -f.

This is not supported by the AT parser and lexer used by FML, which always expects an explicit access modifier as well.

I'm not sure if there's any good way to fix this, though, since it should probably be using the existing visibility of code in question, but that info isn't available here. In Architectury Loom, we just made it default to public-f, but that might also be unwanted.

Constructor signature not remapped

Or more generally, when there is no explicit MethodMapping for a method, any AT for that method will not have its descriptor remapped, even though the descriptor may contain types which do have mappings.
E.g. remapping from srg to official names:

# Input
public net.minecraft.client.resources.ResourcePackRepository$Entry <init>(Lnet/minecraft/client/resources/ResourcePackRepository;Ljava/io/File;)V # constructor
# Expected
public bnm$a <init>(Lbnm;Ljava/io/File;)V
# Actual
public bnm$a <init>(Lnet/minecraft/client/resources/ResourcePackRepository;Ljava/io/File;)V

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.