Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      Server Move   09/13/18

      I (Dries007) have recently taken over as main developer and server admin. This involved moving servers to reduce cost. It's likely there will be some more downtime in the future but most  things should be sorted by now. This forum is in dire need of replacement as the software is quite old and can't be easily updated. If you wish to discuss or stay updated, join our discord: https://invite.gg/terrafirmacraft. The forum will remain available to read, but will be locked in the future, when a new system is setup. The forum and wiki are now ad free. If you'd like to contribute to keeping it that way, you can do so via paypal or patreon.
Krom

Tfc Food Item Id#'s

33 posts in this topic

For NEI, I don't think there is a way to have it display unlocalized names, only numerical ID. Pretty sure it will only provide the unlocalized name in the Data dump. Using numerical IDs is unwise now as if you decide to add in another mod then it can completely destroy your configs as the IDs can shift. It also makes it so you can't really share your scripts as others will not have the same numerical IDs unless they have the exact same mods as you and even then it is possible to go weird.

 

For gems. I'm going to guess that you have decorations mod present. Go into the config and turn off the gem module. Basically it replaces TFC gems to give the placeable and light emitting them and many other mods seem to not support this.

 

As for the other tags you get with food. If you look at the link I gave in my second post on this thread you'll see that were trying the extra tags and are unable to get it to work properly.

 

As for texture, not sure what you could have done to cause that, but unless you can reproduce in a fresh install of TFC and the devs can replicate than it will be something you did.

1

Share this post


Link to post
Share on other sites

Ah, yes, I do have decorations mod. I'll try the reinstall now for the texture issue, thanks.Yes, I've had a look at the food post you made, but converting that to a format that mob properties understands is not something I can find a template for, though I think it may be possible. The ID for enchanted books looks similar in MT to the food IDs, so maybe the mod maker has allowed for that format of info to be enter in some way.

Edited by Krom
0

Share this post


Link to post
Share on other sites

Reinstalled the mods. The texture error is still there, but it seems to be confined to near the world spawn. There was another weird glitch  on that same island that stopped ice from melting in some areas. Nevermind though, its a small area and they are not serious problems. The fix with Decorations Mod seems to have worked, thanks. 

Edited by Krom
0

Share this post


Link to post
Share on other sites

The issue seems to be the timer. Hopefully it works when it is a dropped item. If you grab the NBTedit mod you can see the structure of the NBT data. Just take your item and place it in chest, look at chest and run /nbtedit. Expand out the data and you'll see the structure.

Edit: moving this to modpack discussion. This is the sort of troubleshooting that section was made for.

1

Share this post


Link to post
Share on other sites

The issue seems to be the timer. Hopefully it works when it is a dropped item. If you grab the NBTedit mod you can see the structure of the NBT data. Just take your item and place it in chest, look at chest and run /nbtedit. Expand out the data and you'll see the structure.Edit: moving this to modpack discussion. This is the sort of troubleshooting that section was made for.

Ah ok, I was unsure where to put it, I thought that section was only for existing modpacks. Cheers

0

Share this post


Link to post
Share on other sites

Well, now that we are in the right section, does anyone have a working template for Mob Properties that makes the mob drop TFC food? I just can't figure it out.Edit - Or how to give them an enchanted book, because that also uses that withTag function, which is the problem I am having with Mob Properties.A second issue I am having is how to give passive creatures thorns ability or item (or even better - change the AI they use) and how to increase the damage done by mobs that do not do a standard damage ie. poison. Either by adding another effect or by increasing the default.

Edited by Krom
0

Share this post


Link to post
Share on other sites

Update - Here's an improved template if anyone needs one (I'm using Ogre as it has the remove function which some people may need) 

{
  "_name": "MoCreatures.Ogre",
 
 
 
"drops": [{   "function": "default",
      "value": "true"
  },
  {
      "function": "remove",
      "id": "obsidian"
     
  },
  {
    "function": "add",
            "id": "terrafirmacraft:item.Diamond",
              "count": "0.5",
"damage": "0~2"
 
       },
          {
              "function": "add",
              "id": "terrafirmacraft:item.Small Ore",
              "count": "0.8",
"damage": "0~4"
            },
          {
              "function": "add",
              "id": "terrafirmacraft:item.Wrought Iron Mace",
"count": "0.05",
"damage": "0~2400"
            },
          {
              "function": "add",
              "id": "terrafirmacraft:StoneIgIn",
              "count": "0~8"
            }
         
           
         ],
 
 
"pre_stats": [],
 
 
"stats": [{
              "function": "modifier",
              "attribute": "generic.maxHealth",
              "value": 120~140,
              "operator": 1
            },
            {
              "function": "modifier",
              "attribute": "generic.attackDamage",
              "value": 160~180,
              "operator": 1
            }
      ]
}
0

Share this post


Link to post
Share on other sites

I had the same problem as the author, but i founded this

https://github.com/LatvianModder/FTBUtilities/issues/62   There is a description of the NBT.

So this is an example for cheese

terrafirmacraft:item.Cheese 1 0 {foodWeight:160.0f,foodDecay:-30000f,decayTimer:579}

/give @s terrafirmacraft:item.Cheese 1 0 {foodWeight:160.0f,foodDecay:-30000f,decayTimer:579}

(For some reason, unfortunately, the command works with @p, but not with @s)
Few minutes ago i tried, and it was working, without getting rot.

Edited by koenigstag
Edit: works with another food as well
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now