Jump to content

Failender

Forge Modder
  • Posts

    1091
  • Joined

  • Last visited

Everything posted by Failender

  1. I am seriously not a json pro. but could be this "builtin/generated"
  2. u cant make the parent of ur item ur item. { "parent": "ms:builtin/sword_of_chaos", "textures": { "layer0": "ms:items/sword_of_chaos"
  3. Just realized F12 was wrong anyway. F12 was for Microsoft Visual Studio, eclipse is F3. But I guess diesieben is also a smart man
  4. why would u open another topic for that?!
  5. fastest way of finding the exact source file u want is to just write it randomly anywhere, e.g. ContainerFurnace, then press F12 on it and eclipse will bring u to the file.
  6. https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe31_inventory_furnace
  7. u need to synchronize the tileentities
  8. assets folder
  9. ur welcome. glad i could help
  10. Well. I wont be reading that line for line to find the error. Try using some sysos to find the error. I can tell you that u are getting an endless loop, because there is something messed up in the fuel1() method, and I think it is the part where u determine if the block is the main block
  11. public boolean isMain() { return getMain() != null ? isMain : false; } this method looks suspicious. are u ever setting the variable isMain?
  12. dont know tbh. read the eaq there before u post. but might be the right place. im not sure tbh http://www.minecraftforge.net/forum/index.php/board,15.0.html
  13. so. in ur method fuel1() u are calling ure method fuel1() where u are calling fuel1() where u are calling fuel1().. i guess u can see where this is going
  14. @Override public int getRenderType() { return 3; } add this to ur block class. thank me later.
  15. Since it seems to not be biomes o plenty it must be another mod. Keep removing and adding mods till u find the mod causing problems. After that contact the author or remove the mod
  16. which part of "wrong forum" was so hard to understand. this forum is for ppl looking for assistance to create their mods
  17. if u cant reference it without that ull probably dont need it
  18. show the method fuel1. seems like u got an endless loop there.
  19. report this to the mod author of biomes o plenty. wrong forum.
  20. youll get the world the player is in. You dont need a worldObj. Just use the update method from the item.
  21. Is one of your mods causing the problem? Then you are right here. If not.. wrong forum. Show crash log
  22. Perfect sir! That was exactly what I needed! Now I just need to find a solution for problem number two, rest of the things should take some time to figure out but be managable
  23. well..... in ur getCoolDown u are calling isOffCooldown, where u are calling getCoolDown, where u are calling isOffCooldown where.... I think u know where this is going. If u want items to have cooldowns use onUpdate method, save the cooldown inside the NBT and decrement that each tick. if u want to know if its off cooldown read the value from the nbt. no need for world objects.
  24. found out that the problem with the hotbar is that the inventory is not synced. opening and closing the gui syncs it, thats why its fixxed after that. I could sync it using packets in combination with PlayerEvent.ItemPickupEvent. First problem.. how can I prevent an item from beeing picked up? If I can prevent it I can simply do checks in the ItemPickupEvent event and if my inventory is full prevent pickup
×
×
  • Create New...

Important Information

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