Giter Club home page Giter Club logo

Comments (7)

BlackJar72 avatar BlackJar72 commented on August 15, 2024

modularmachinery:itemblueprint, 1, 1, BLUEPRINT
...would be correct for the item (not couting category and level missing at the beginning).

Now where to put the NBT string for that mod I don't know -- they can be complicated. Take the vanilla example:

EEGG5   String   Name "Fortuna Major"
EEGG6   Compound display EEGG5

...where Name has to be put inside display for it to work. If the tag is attached right at the bottom / root / whatever-its-called of the item's NBT (and is correct) it should work if the mod put it somewhere else (or Forge puts all the tags in some place I don't know of) it might not find it.

from doomlikedungeons.

Saereth avatar Saereth commented on August 15, 2024

This is how minecraft stores the NBT for the item
root
->dynamicmachine => modularmachinery:mana_concentrator

Screenshot of NBT edit with a potion for reference
https://imgur.com/a/JO7cHut

the item spawns, as defined in chests.cfg as defined:
heal, 1 modularmachinery:itemblueprint, 1, 1, CONCENTRATOR

the NBT in nbt.cfg is defined as:
CONCENTRATOR String dynamicmachine modularmachinery:mana_concentrator

which coincides with how the potion nbt data works, unfortunately the item still spawns in with no nbt
data, a blank blueprint instead of the machine specific one. I similarly tried this with a botania flask potion that has the entries

heal, 1, botania:brewvial, 1, 1, BOTANIANIGHTVISION
and nbt.cfg:
BOTANIANIGHTVISION String brewKey nightVision

it also spawns in with no nbt at all

I also tried encapsulating the nbt entries in quotes like
CONCENTRATOR String dynamicmachine "modularmachinery:mana_concentrator"

also tried setting it as a Compound tag instead of a string, same thing

and it made no difference. The log file throws the errror:
[08:34:58] [Server thread/INFO] [STDERR]: [jaredbgreat.dldungeons.nbt.NBTHelper:setNbtTag:44]: ERROR! null tag on item item.modularmachinery.itemblueprint

I'm at a loss at this point one what I need to do differently

from doomlikedungeons.

BlackJar72 avatar BlackJar72 commented on August 15, 2024

There may be a version with an alternate system coming out this even, once I have a chance to clear my head of some personal life, test the new version, compile and upload it. You can thank Hubry for the fix / extension.

from doomlikedungeons.

BlackJar72 avatar BlackJar72 commented on August 15, 2024

Want to be a beta tester? Try out this new system and see if you can make it work this way:
http://www.mediafire.com/file/8vsisfk31u18dns/DoomlikeDungeons-1.12.1-MC1.12.2.jar/file

Info / new example here: http://www.mediafire.com/file/7lbikcnzrz127db/nbt.cfg/file

from doomlikedungeons.

BlackJar72 avatar BlackJar72 commented on August 15, 2024

Or just get it where I just uploaded it.

from doomlikedungeons.

Saereth avatar Saereth commented on August 15, 2024

on it! thanks

from doomlikedungeons.

Saereth avatar Saereth commented on August 15, 2024

it's working great now
https://imgur.com/a/aHOgb6n

from doomlikedungeons.

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.