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.

larsgerrits

Members
  • Joined

  • Last visited

Everything posted by larsgerrits

  1. Post the console log and related code. Without it we can't do anything.
  2. Disabled the loading screen as described in the EAQ. This should fix the not being able to run Minecraft. To build your mod, run gradlew build from the command line, the sam way you setup you workspace.
  3. 1.7.10 is no longer supported by Forge.
  4. For your own blocks: override getDrops . For other mods/Minecraft's blocks: use the HarvestDrops event.
  5. This is the EAQ, which is not modding related.
  6. Disable the loading screen as described in the EAQ.
  7. This topic has been moved to Off-topic. [iurl]http://www.minecraftforge.net/forum/index.php?topic=43935.0[/iurl]
  8. This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=43933.0[/iurl]
  9. 1.7.10 is no longer supported by Forge.
  10. 1.7.10 is no longer supported by Forge.
  11. Post the log inside [nobbc] [/nobbc], or make pastebin and post the link here.
  12. You use an Iterable in a for/foreach loop. It will loop through every BlockPos in the cuboid you specified.
  13. You should add the ".png" extension to the String passed in setBackgroundImageName method, as it doesn't get added automatically.
  14. Best thing is to store the UUID of the player. You can get the UUID from a player using Entity#getUniqueID() . To save it to NBT, save the getLeastSignificantBits() and getMostSignificantBits result ( longs ). To recreate the UUID , use the constructor that accepts 2 longs (the most and least significant bits) which you saved to NBT.
  15. The Minecraft By Example from TheGreyGhost has a Block that has the camouflage parts you want: https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe04_block_dynamic_block_model1
  16. 1.7.10 is no longer supported by Forge.
  17. I don't know what you copied in your list, but it looks like HTML to me. Please post a proper gist or Pastebin link, with the proper content.
  18. Instead of checking for duplicates when reading the values, check for duplicated when adding them to the List . There's List<T>#contains(T) which returns true if T is already in the List<T> .
  19. It's used in GuiContainerCreative : this.mc.getTextureManager().bindTexture(new ResourceLocation("textures/gui/container/creative_inventory/tab_" + creativetabs.getBackgroundImageName())); There's no domain specified, meaning it's looking in the minecraft domain.
  20. Well, every TileEntity has a getPos() method which you can use.
  21. Use the BlockEvent.PlaceEvent to check if the Blocks below are melon blocks, then remove those and spawn a golem. Look at BlockPumpkin#trySpawnGolem for how vanilla is doing it.
  22. Instead of Slot , use SlotItemHandler .

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.