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. First thing I saw, the packet needs the empy constructor. Show the whole error log please.
  2. 1. dont compare strings with == , it will never turn true. Use String1.equals(String2) 2. dont save the players names , those can change. Save the UUID
  3. because dirt isnt something to get harvested by pickaxes..? Also dont its not Item#canHarvestBlock , its ItemStack#canHarvestBlock, are you sure u checked that with a ItemStack and not an item?
  4. correct me if im wrong. but world.getWorldTime() % 50 != 0 should be faster right?
  5. one easy solution might be to just check the world time, if the world time%50 ==0 add potion effect.
  6. open gl and TileEntitySpecialRenderer would be my first guess
  7. depends on what you want..? if u want to happen sth when it gets destroyed by explosion use ByExplosion, if u want it by player use ByPlayer, if u want both write a method and let it get called by both methods
  8. write urself a script writing the jsons for you
  9. Yeah I was hoping there was a package I was missing The advantage of it is that anyone can connect without the need of adding mods when joining new server EDIT: Also it is a lot easier to code if u dont need to do all the sync stuff and find a server only solution
  10. Hey guys, I am working on a server sided mod. I want to manipulate the break speed there, but noticed that it seems that changing the BreakSpeed on ServerSide only wont work, because the Client doensnt know. So my question: Is it possible to manipulate the breakspeed (BreakSpeed event) on server side only? If yes how to inform the client? I was unable to find a correct package for that
  11. Commands can come from two ways. 1. Console 2. Player And you should be able to cast the command sender directly. So all you need to do is check if the sender is instance of EntityPlayer and after that cast to it
  12. Gameregistry has a method for that. I think it was Gameregistry#findItem. Check ur ide
  13. that is wrong. If you would read the crash log you would see that the array causing that exception is a minecraft one, not one of his.
  14. The error is occuring because he is only opening the gui client side.
  15. As far as I know, and i might be wrong, setting blocks in an unloaded chunk loads the chunk and unloads the chunk after its done
  16. exactly. just add the recipes to ur custom CraftingManager instance, after that check in ur container if the recipe is valid (using the crafting manager) , and consume the items if the result is taken out
  17. http://en.lmgtfy.com/?q=unable+to+install+breakpoint+due+to+missing+line+number+attributes Two hints for you. 1. Learn to google. 2. U wont find the error in debug mode.
  18. eeeeehm. that was a test to see if u are paying attention. you passed?
  19. ExtendedPlayer epNew = ExtendedPlayer.get(event.entityPlayer); ExtendedPlayer epOld = ExtendedPlayer.get(event.original); NBTTagCompound comp = new NBTTagCompound(); epNew.writeToNBT(comp); epOld.readFromNBT(comp); This will copy every variable u are reading in ur nbt stuff
  20. you are still not checking for the tag compouind beeing null
  21. if u are only coping methods from the crafting manager u wont need ur own class.
  22. not sure why u need ur own class. just save the instance in ur main mod class and access it in ur crafting gui. For the problem with removing items, look at SlotCrafting#onPickupFromSlot

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.