Giter Site home page Giter Site logo

Comments (3)

timovv avatar timovv commented on August 15, 2024

Apologies for such a large delay in getting back to you about this. I have been pretty busy the last month or so and haven't had much time.

I think the easiest way to have this done would be to have a button allowing the user to open the vanilla enchanting inventory from the UI. I was thinking it could be placed in the middle of the black area when no item is in the slot, and would disappear when an item was introduced to the Enchantism UI.

I'll try to get this done within this week.

from enchantism.

timovv avatar timovv commented on August 15, 2024

I've commited necessary changes at db22020 onto a testing branch. I'll merge to master once I've completed testing.

Unfortunately the easiest way to get it to work was to hook into PlayerInteractEvent to see when they click the enchantment table instead of using InventoryOpenEvent (to see when a player clicks a block), which isn't ideal.

from enchantism.

timovv avatar timovv commented on August 15, 2024

I've merged the changes to the master branch. It seems to be functional.

from enchantism.

Related Issues (6)

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.