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.

AndyLun

Members
  • Joined

  • Last visited

  1. Alright, so after digging through the minecraft source code, I found out you can modify the tool's mining speed by overriding the function func_150893_a and returning a float value. That does work if I hard-code a value into the return line. Seems like minecraft only checks the function once so even if I'm doing some logic checking and returning a different value during runtime doesn't affect the mining speed.... Anyone have any idea on how to change the mining speed during runtime ? Thanks in advance.
  2. Thanks for the reply. However, I can't seem to find any methods that sets the 'material' of an item. I figured out the setHarvestLevel, but that only sets if the block broken will drop an item... How do I set the actual mining speed of the pickaxe ?
  3. Hi, Sorry for asking such a silly question, but how can I dynamically set the "mining speed" and "mining level" for my custom pickaxe ? What are the methods for setting them ? Thanks.
  4. AndyLun replied to AndyLun's topic in Modder Support
    Yep, that is EXACTLY where I put my texture. That's why I am so confused
  5. AndyLun replied to AndyLun's topic in Modder Support
    https://gist.github.com/anonymous/05f20fae2af843b60a50 edit : + this line : GameRegistry.registerBlock(blockBlock, modid + blockBlock.func_149739_a().substring(5));
  6. AndyLun replied to AndyLun's topic in Modder Support
    I'm sorry. Nope.
  7. AndyLun replied to AndyLun's topic in Modder Support
    NOT working. Anyone so kind to get me a screenshot pleeease ?? I know this is a stupid question but.... no one's answer seems to solve the problem... yet.
  8. AndyLun replied to AndyLun's topic in Modder Support
    I am sick of this. All assets & mcmod.info is completely not working.
  9. Just in case you didn't know, here's the Java Random class : http://docs.oracle.com/javase/6/docs/api/java/util/Random.html
  10. AndyLun replied to AndyLun's topic in Modder Support
    Can anyone please provide a screenshot ? **Note : I am using the advanced workspace setup, or the so-called "Pahimar Setup" for 1.7.2. This, I can be sure it's not working. Draco18s' isn't working, too. mardiff, I don't understand.
  11. AndyLun replied to AndyLun's topic in Modder Support
    It isn't working too. And what about the mcmod.info ?
  12. AndyLun posted a topic in Modder Support
    Alright, i'm using this workspace setup : http://www.wuppy29.com/minecraft/modding-tutorials/wuppys-minecraft-forge-modding-tutorials-for-1-7-set-up-part-2b-advanced-forge-setup/ So, I am unable to get the assets to work (including lang files [tile.block.name !] and textures [magenta-black squares !]). Currently I have this folder structure in my mod project : [MyModName] -src (buildpath) --packages and codes -assets --[mymodid(yes, in all small case)] ---lang ----en_US.lang ---textures ----blocks -----my textures -mcmod.info [This isn't working, too. Maybe different location ?] Any help is appreciated.
  13. Oh great, that worked nicely. Thank you so much !!
  14. Anyone knows how to get the "Pahimar Setup" work with 1.7.2 ? If so, could you please be so kind and tell me how ? If not, nevermind. Thank you for reading this.
  15. Alright, I will research the vanilla code and see what can i get.

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.