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.

ExtendedHorizons

Members
  • Joined

  • Last visited

Everything posted by ExtendedHorizons

  1. Nevermind I got the 3 ToolMaterials. But I still Get This Error (ignore the code in the middle) : http://pastebin.com/qV4qkt8w
  2. public static ToolMaterial IRONCRUSHER = EnumHelper.addToolMaterial("IRONCRUSHER", harvestLevel, durability, miningSpeed, damageVsEntities, enchantability); What class.. Doesnt work in main but i got that done
  3. 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.
  4. See theres my problem whenever i command click (im on a mac) It says not found and suggests "Attatch source code" Picture: Anyway I could fix this?
  5. I want to make my own tool type like tool type GOLD, EMERALD, IRON, WOOD. For a certain type of tools. Help please?
  6. How can I make a block only drop a item if your breaking it with a certain tool?
  7. I really want to get amazing at modding. But I just dont know where to start learning. Id love someone that could help me/Find a way for me to learn. Thanks! And not the basic stuff and the stuff in the forge tutorial. And most tutorials just tell you what to do and they dont explain it so its basically copy and pasting code.
  8. Could you just tell me the code that i need to add a specific block to only caves and in only a specific biome?
  9. Lol MrAlexan your getting the saphire stuff from techgeek's Tutorial.. Just rewatch what your doing...
  10. Now can anyone help me with biome/cave gen?
  11. Still didnt tell me the class -.-
  12. Im sorry but im a nub. What class? I tried the tile entity and the main.
  13. Im working on a mod and I recently got all the renders in but when I add them to basic world gen I get this error: http://pastebin.com/KLSMU38T . I also only want them spawning in caves and not in groups. This is what I get with the code I have now: http://imgur.com/kVGX0SF. I also only want them to spawn in a specific biome. Could you guys help please?
  14. I made the custom render have oppacity. But for somereason the oppacity only loads in the creative inventory. When I take it out it looses its oppacity. Still doesnt have oppacity after I place it down aswell. Picture (top and bottom slots):
  15. @FireDrgn Client: http://pastebin.com/qMYe52Z5 Common: http://pastebin.com/1ht9miS2
  16. Ive been working on this test mod for a while but as of yesterday I added a custom biome and then everything just... Broke. I attempted to fix it but things only got worse.. The main problem is that the gradlew wont launch and also before when it did launch it wouldnt load any blocks... Please Help! Main Code: http://pastebin.com/Hi6YgYUE Crash Report: http://pastebin.com/ncd9MwkC
  17. I implemented wood pillars and im attempting to add the crafting recipes right know but according to the code there are only 2 types of wood... Help please! Need all 6 types. GameRegistry.addShapedRecipe(new ItemStack(OakPillar, 3),"O" ,"O", 'O', Blocks.log); GameRegistry.addShapedRecipe(new ItemStack(DarkOakPillar, 3),"O" ,"O", 'O', Blocks.log); GameRegistry.addShapedRecipe(new ItemStack(SprucePillar, 3),"O" ,"O", 'O', Blocks.log); GameRegistry.addShapedRecipe(new ItemStack(BirchPillar, 3),"O" ,"O", 'O', Blocks.log); GameRegistry.addShapedRecipe(new ItemStack(JunglePillar, 3),"O" ,"O", 'O', Blocks.log); GameRegistry.addShapedRecipe(new ItemStack(AcaciaPillar, 3),"O" ,"O", 'O', Blocks.log);
  18. Im using the right constructor and I dont even know why I have an integer there I guess I wasnt paying attention.
  19. Theres no hitbox... I cant break it and I can run right through it
  20. Ive been working on a mod of mine and I know its silly but ive been trying to get this damn lantern working for the past 3 hours. If you guys could help with the code a bit it would mean a lot. MAIN PROBLEM: No hitbox, I can run right through it and I cant break it. CODE: package com.example.DerpTesting.blocks; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.Entity; import net.minecraft.util.AxisAlignedBB; import net.minecraft.world.World; public class BlockLantern extends Block { public BlockLantern(int i, Material material) { super (material); this.setStepSound(soundTypeGlass); this.setHardness(1.0f); this.setResistance(6f); this.setBlockName("Lantern"); this.setBlockTextureName("derptesting:Block_Lantern"); this.setLightLevel(0.7f); this.setLightOpacity(16); this.setBlockBounds(0.2f, 1f, 0.8f, 0.8f, 0f, 0.2f); //double x = this.getBlockBoundsMaxX(); //double y = this.getBlockBoundsMaxY(); //double z = this.getBlockBoundsMaxZ(); } public boolean isOpaqueCube(){ return false; } public boolean renderAsNormalBlock() { return true; } //public int getRenderType(){ //return 1; //} }

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.