Giter VIP home page Giter VIP logo

Comments (8)

Th3Shadowbroker avatar Th3Shadowbroker commented on August 16, 2024

Hi @DisPie,
sounds like a great idea!
I'll have a look at its documentation to find the best way to support it.
As this will require some major changes to the way Ouroboros recognizes mining blocks, I'll add this to the 2.0.0 milestone for the moment, eventually moving it to 2.1.0 depending on the complexity and time it take to implement.

from ouroborosmines.

Th3Shadowbroker avatar Th3Shadowbroker commented on August 16, 2024

@DisPie Short status update: The preparations for 1.10.0 are nearly finished. Once everything's done, NBT-Support will be one of the next features. I hope to be able to start the development shortly 👍🏼

from ouroborosmines.

DisPie avatar DisPie commented on August 16, 2024

cant wait. thats amazing <3

from ouroborosmines.

Th3Shadowbroker avatar Th3Shadowbroker commented on August 16, 2024

@DisPie I'm currenctly implementing this feature, however ItemsAdder is a closed source project, so I can't find out anything about the way it saves the NBT data. Would you mind providing me with the data structure of one of these custom blocks? I could also implement direct support for ItemsAdder as an alternative, which I wouldn't be able to test locally, as I haven't purchased the plugin, which means there would be a lot of user testing involved.

from ouroborosmines.

Th3Shadowbroker avatar Th3Shadowbroker commented on August 16, 2024

Good news! I had a conversation with LoneDev and I got a version of ItemsAdder I can use for testing 😃

from ouroborosmines.

Th3Shadowbroker avatar Th3Shadowbroker commented on August 16, 2024

I'm currently trying to figure out some weird behaviour caused by custom blocks. Fsr. the drop group isn't working correctly, altough the block is detected, as being a custom block 🤔

from ouroborosmines.

Th3Shadowbroker avatar Th3Shadowbroker commented on August 16, 2024

Hey @DisPie,
I were able to implement experimental ItemsAdder support.
However, this system still needs some improvements, but I got a test-build ready in case you already want to test it.

Note on the required configuration cahnges:
At the moment, the material name is parsed and used as the primary key to identify and differenciate between materials. However, this doesn't work with custom blocks, as they're quite hacky. This is where properties come into play. Materials with properties will be passed to thirdparty plugins for validation. In case of ItemsAdder you have to add the ItemsAdder property (case sensitive) with the custom block's namespaced id in the format shown below. It's important, that the material name is unique within the config, so I recommend using a block you don't plan to use, as properties are checked before the material, but the material name still has to be valid atm.

stone:
    replacements:
    - cobblestone
    cooldown: 20
    properties:
        ItemsAdder: 'itemsadder:amethyst_block'

from ouroborosmines.

DisPie avatar DisPie commented on August 16, 2024

from ouroborosmines.

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.