Code Monkey home page Code Monkey logo

Comments (4)

KnightMiner avatar KnightMiner commented on June 30, 2024

Honestly, no idea why it would not work, but that is 100% the wrong way to rename an item. Like, sure, CraftTweaker can do it, but a mod such as resource loader with changing the .lang files will be so much more reliable. If I had to guess, the reason is because of the custom logic to make the names work, but it shouldn't be any different than the Forge bucket or most other dynamically named items do.

from ceramics.

Shadowclaimer avatar Shadowclaimer commented on June 30, 2024

That's good to know, just figured I'd check in here and see if I was breaking things somewhere or if this was maybe a known issue. I'm normally a mod dev, not a modpack dev, so kinda learning the ins and outs of all of this, and someone had mentioned it might be on your lang side that it wasn't working.

Regardless, thank you!

from ceramics.

KnightMiner avatar KnightMiner commented on June 30, 2024

Yeah, I just looked into the code and the way CraftTweaker does renames is attempting to find the lang key from the itemstack and replacing that key, which does not work for the bucket as it uses a formatted lang key. I am skipping overriding one method which overriding might make CraftTweaker's method work, but it still will never beat the designed method.

from ceramics.

Shadowclaimer avatar Shadowclaimer commented on June 30, 2024

Makes sense, thank you so much for your time and advice.

from ceramics.

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.