Code Monkey home page Code Monkey logo

Comments (3)

Himmelt avatar Himmelt commented on August 25, 2024

测试一下静态初始化的时间和顺序,能否在其他插件上直接使用 Vioet 里 SpongePlugin.class 来加载依赖的类?插件加载时的类加载还需研究一下,整不明白。。。

from violet.

Himmelt avatar Himmelt commented on August 25, 2024

多次测试之后:

  1. forge 下 ,在同一文件夹下(mods 或 plugins) 如果不在 mcmod.info 里写明依赖关系,会报错,写了可以加载。
  2. forge 下,violet 放 mods , 其他插件放 plugins 可以加载。
  3. vanilla 下,不在 mcmod.info 里写明依赖关系,会报错,写了依赖关系就不报错。

估计是之前生成 mcmod.info 时 依赖没正确生成吧,只能再测试了。

from violet.

Himmelt avatar Himmelt commented on August 25, 2024

确认 是在 build 的时候,生成的 mcmod.info 没有包含 依赖关系导致。

from violet.

Related Issues (20)

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.