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.

GotoLink

Members
  • Joined

  • Last visited

Everything posted by GotoLink

  1. Try deleting the offending line (line 5) in your obj. It might be just Forge being picky.
  2. Are you talking about java files to compile and obfuscate, or some setting files with "readable" text ?
  3. LivingHurtEvent/LivingAttackEvent ? You can get the ItemStack held at the hit time, read the NBT and deal different damage.
  4. I would override doBlockCollisions(). Warning : Recommended to have a flying entity !
  5. Jar editing ? You are doing it wrong. Mod goes in mods folder.
  6. Let's see...you have a field called proxy which should be populated by @SidedProxy with your CommonProxy on server side and ClientProxy on client side. The answer is: proxy.registerRenderers();
  7. Within onBlockActivated method, you want to perform checks for the item in player hand, and whether the blocks are in the correct shape. Then use world.setBlock(x,y,z, blockportalid) for all good coordinates.
  8. You have got it all wrong. You put nothing into the minecraft jar file. Everything goes into the mods folder. Nothing has changed in this regard. The only new thing is the pack.mcmeta file, which you can put alongside the mcmod.info file. Templates are easy to find on the wiki, but here they are: { "pack":{ "pack_format":1, "description":"Resource pack sample" } } [ { "modid": "", "name": "", "description": "", "version": "", "credits": "", "logoFile": "", "mcversion": "", "url": "", "updateUrl": "", "authors": [""], "parent":"", "screenshots": [], "dependencies": [] } ]
  9. Github help is here: https://help.github.com/articles/using-pull-requests
  10. Should I repeat what Mazetar said ? Nothing has changed.
  11. It is so easy, it is basic Java and does not depend on Forge. Make new instance of the item classes you want.
  12. You don't. Only use registerModEntity. If you need a (vanilla-) spawn egg you have to use the Global id, otherwise not. You don't have to use global id for that either. Make your spawn eggs by extending ItemMonsterSpawner and use your local ids/names/whatever.
  13. The file path don't match, it should be ResourceLocation("more_apples","textures/gui/container/inventory.png")
  14. You are supposed to setItemInUse(args) at some point.
  15. You have to change the texture path.
  16. That is why you should make a jar and put it into mods folder.
  17. Use your own texture. new ResourceLocation("mymodname","mytexture.png");
  18. You can override: protected void dropFewItems(boolean par1, int par2) and drop the ItemStack yourself, as well.
  19. EntityPigMissile is not a subclass of EntityLiving, you can't use RenderPig.
  20. Coremods are supposed to be contained in jar files.
  21. It is now a field instead of a method. mcMetaDir
  22. Just to make sure, do you want any player to see the second texture if one player is close enough to the block with the helmet ? If you do, then TESR would be easier. If you don't, then ISBRH, with Minecraft.thePlayer.getCurrentArmor(... , and the tile entity is unneeded.
  23. With a LivingSetAttackTargetEvent: living.setAttackTarget(null);
  24. GotoLink replied to ashtonr12's topic in Modder Support
    You are not doing anything with that line. It is a simple boolean. I would think that x is not correct. (probably null)

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.