Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Failender

Forge Modder
  • 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. 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
  8. public boolean isMain() { return getMain() != null ? isMain : false; } this method looks suspicious. are u ever setting the variable isMain?
  9. 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
  10. 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
  11. @Override public int getRenderType() { return 3; } add this to ur block class. thank me later.
  12. 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
  13. which part of "wrong forum" was so hard to understand. this forum is for ppl looking for assistance to create their mods
  14. if u cant reference it without that ull probably dont need it
  15. show the method fuel1. seems like u got an endless loop there.
  16. report this to the mod author of biomes o plenty. wrong forum.
  17. youll get the world the player is in. You dont need a worldObj. Just use the update method from the item.
  18. Is one of your mods causing the problem? Then you are right here. If not.. wrong forum. Show crash log
  19. 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
  20. 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.
  21. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.