Everything posted by Ugdhar
-
[1.10.2] Loot table not working
I honestly have no idea; my advice would be to trim down your loot table so that it only drops 1 simple item, then slowly build up from there. Also, where you have set_count, I have "minecraft:set_count", not sure if that makes a difference or not, but might be worth a try if it keeps giving you trouble.
-
[Solved!][1.10.2] Make a block instantly kill you
Maybe Block#onEntityCollidedWithBlock? I've never tried anything like what you're doing, but it might be worth looking into!
-
[1.10.2] Loot table not working
/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?
-
[1.10.2] Loot table not working
Same error? Post changed loot table/errors
-
[1.10.2] Loot table not working
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 } } ] } ] } ] }
-
Item Disappears When Clicked In Inventory[solved]
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!
-
[SOLVED] [1.9.4] Items reset in GUI after clicking button
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.
-
[SOLVED] [1.9.4] Items reset in GUI after clicking button
Thanks for your reply, I guess it's off to figure out packets and networking!
-
[SOLVED] [1.9.4] Items reset in GUI after clicking button
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
-
Error when Loading?
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!
-
Released the 1.9.4 version ....
I would follow LexManos on twitter, it will pretty much keep you up to speed on what's going on. https://twitter.com/lexmanos
IPS spam blocked by CleanTalk.