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.

Anon10W1z

Forge Modder
  • Joined

  • Last visited

Everything posted by Anon10W1z

  1. The problem with this is that you won't be able to reel the fish hook back in.
  2. Try using event.entity rather than event.entityLiving
  3. Yeah, no problem. That's a common error; can't blame you The init method works too BTW.
  4. Switch to LivingHurtEvent.
  5. "I am new" Thanks, Sherlock. You can't just go around asking people to make stuff for you. That's the point of learning Java...
  6. You can't do this without a class transformer.
  7. Did you register the entity and the renderer?
  8. You shouldn't need to replace it. FishingHooks.java provides many helper functions to add and remove fish, junk, and treasure.
  9. setupDecompWorkspace not setupDevWorkspace, the README is a lying bitch. Then quit and relaunch your IDE But how Do i add it to the original ToolMaterial class it wont allow me. And sorry for asking so many questions. You don't need to. Initialize a variable to EnumHelper.addToolMaterial.
  10. Where are you trying to do this?
  11. TheGreyGhost, lord of coding...how could you? Just kidding; it's not too hard to learn how to code an entity. This tutorial should help you.
  12. There is something null in the preInit method.
  13. What exactly are you doing?
  14. Item itemBlockSimple = GameRegistry.findItem("minecraftbyexample", "mbe01_block_simple"); ModelResourceLocation itemModelResourceLocation = new ModelResourceLocation("minecraftbyexample:mbe01_block_simple", "inventory"); Make sure you changed those lines to match your texture name and mod ID.
  15. No! Do not do that! There is ServerTickEvent, ClientTickEvent, etc...do some research on tick events. They get run 20 times/second.
  16. Show the mod code and build.gradle
  17. To add on to the previous reply, if every tick you add one to the time, it'll make time go twice the speed. 2 is 3 times, 3 is 4, and so on.
  18. If you don't want to tinker too much with the item registry, I suggest you remove the recipe for the vanilla bow, set its creative tab to null, and add the recipe for the new bow. Also, add a recipe so vanilla bows can be converted into the new bows. Look up how to remove crafting recipes.
  19. As a workaround, you can create a new instance of CrafterBlockTileEntity3, then do setSupportedRecipes(2)
  20. That's a blunt request... player.addChatComponentMessage(new ChatComponentText("message goes here"));
  21. He said this is singleplayer.
  22. http://www.minecraftforge.net/forum/index.php/topic,11560.msg59626.html#msg59626 EDIT: Minecraft.getMinecraft().playerController.getCurrentGameType();
  23. Learn it. It will come handy.
  24. It doesn't matter, and it depends on willingness to learn and effort.

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.