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.

loordgek

Members
  • Joined

  • Last visited

Everything posted by loordgek

  1. you are most likely not going to get help here this is outside the scope of this forum. and you are making a auto clicker witch is in my book a cheat
  2. why, we have sponge
  3. do you have optifine ??
  4. https://stackoverflow.com/questions/7520432/what-is-the-difference-between-and-equals-in-java
  5. is the item your own ??
  6. DavidM IS the author edit - oops i was thinking cadiboo was talking about davidM code my bad
  7. world.setblockstate(Blockpos)
  8. got it working. the problem was you set the recipe to early and your grass_ball was null move https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/ExaResources.java#L38 to init. the way you register your items and blocks is wrong https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/features/ModItems.java#L81 dont do that let forge do that for you, that is why @ObjectHolder exist https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/base/ItemMiniShovel.java#L70 dont compare strings like that, read this https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java
  9. can you put your mod on github so i can look
  10. do use idea ?? https://www.jetbrains.com/help/idea/using-breakpoints.html or eclipse https://www.eclipse.org/community/eclipse_newsletter/2017/june/article1.php
  11. for(DiggingRecipe r : RECIPES) { if(e.getEntityPlayer() != null) { if(!(e.getWorld().isRemote)) { if(b == r.getMainBlock() && i.getItem() instanceof ItemMiniShovel) { if(e.getEntityPlayer().isSneaking()) { e.getEntityPlayer().dropItem(new ItemStack(r.getBallOutput(), 1), false); e.getEntityLiving().getHeldItemMainhand().damageItem(1, e.getEntityPlayer()); e.getWorld().playSound(null, e.getPos(), b.getSoundType().getBreakSound(), SoundCategory.BLOCKS,b.getSoundType().getVolume() * 0.4F, b.getSoundType().getPitch() + (float) (Math.random() * 0.2 - 0.1)); } } } } } nooooo dont do it like this first check if the player is null and if the world if remote and then loop over your recipes and now on topic: have you placed a breakpoint on it ??
  12. https://minecraft.curseforge.com/projects/worldedit
  13. 1.13.2 will never be done, lex needs to rework a tool that they use
  14. when your class has @Mod.EventBusSubscriber your event methods must be static
  15. https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/
  16. https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/

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.