Jump to content

Ugdhar

Moderators
  • Posts

    2719
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Ugdhar

  1. /bin/assets/dgm/loot_tables/cheese_cow.json com.google.gson.JsonParseException: Loot Table "dgm:cheese_cow" Missing `name` entry for pool #0 That's the error, but I honestly don't know where you went wrong. My loot table is in assets\newmod\loot_tables\entities, called "DeathJaw.json". I never extended the LootTable class, I just have this line in a basic class that I planned to use for storing all my loot table registrations: public static final ResourceLocation ENTITIES_DEATHJAW = LootTableList.register(new ResourceLocation("newmod","entities/DeathJaw")); The only thing I can think to give a try based on what I see is try changing dgm:cheese to dgm:cheese_cow in your loot table json. *edit: but that doesn't even make sense, since name as far as I can tell is what you want to drop. What is the name of your loot table json, and where is it located?
  2. Same error? Post changed loot table/errors
  3. It looks to me like you have an extra set of curly braces around everything. Try removing 1 set from the top/bottom and see if that helps. This is the loot json for a mob I made when I was tinkering around with stuff, and it worked: { "pools": [ { "rolls": { "min": 1, "max": 2 }, "entries": [ { "type": "item", "name": "minecraft:feather", "weight": 1, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 2 } } ] } ] } ] }
  4. I think you may be running into the same issue I was having when I was tinkering with a machine like thingy. Basically the changes you're making to the items/inventory are only happening client side, and the client needs to send a networking packet to the server, which the server then needs to actually handle the modification of the inventory. http://www.minecraftforge.net/forum/index.php/topic,39598.msg208543.html#msg208543 is the link to the post I made http://www.minecraftforge.net/forum/index.php/topic,20135.0.html a good tutorial on the networking packets. This should hopefully get you going in the right direction, hope it helps!
  5. That's the one I'm looking at now, thanks! I'm sure once I break it down I'll figure it out, I had a time with the whole tileentity/container/gui thing until I made myself a little flowchart of how everything related to each other, then it worked fine, until I got to this point lol.
  6. Thanks for your reply, I guess it's off to figure out packets and networking!
  7. Hi, I'm tinkering around with modding, and I've run into an issue that I can't figure out, despite quite a lot of searching. I have a block (gem grinder), that has a tile entity, and a container and gui, and this all seems to work fine. I added a button, and can read when it's clicked. The problem is, I want it to remove a diamond from the top slot (0), and then put a new item (diamond dust) into the bottom slot. This *looks* like it works, but as soon as i touch any of the items, it all reverts back to the original configuration. I'm sure this is some sort of client/server sync issue, but I thought because I had a container, I didn't have to worry so much about that. Any pointers in the right direction would help. Also, first post, so I apologize if I am missing any important information, or breaching any etiquette. Thank you for your time! Gem Grinder Block: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/blocks/BlockGemGrinder.java Tile Entity: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/tileentity/TileEntityGemGrinder.java Container: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/inventory/ContainerGemGrinder.java Gui: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/client/gui/GuiGemGrinder.java GuiHandler: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/client/gui/ModGuiHandler.java
  8. I've never seen that error before, but google has a ton of hits: https://www.google.com/search?q=Job+%27Version+%26+Libraries%27+finished+with+1+failure%28s%29!&ie=utf-8&oe=utf-8 The first link seemed like it had a good discussion about it, and although it's for an older version of Minecraft, it might point you in the right direction. Good luck!
  9. I would follow LexManos on twitter, it will pretty much keep you up to speed on what's going on. https://twitter.com/lexmanos
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.