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.

Bedrock_Miner

Forge Modder
  • Joined

  • Last visited

Everything posted by Bedrock_Miner

  1. OK, but how do I use these hooks?
  2. Hey Guys! I created some rare Items which should be added to dungeon chests.. How can I do this?
  3. Thanks for this fast reply!
  4. Hey Guys! I want to create Armor wich gives you some potion effects when you wear it. For this purpose I want to create a TickHandler which controls every Tick whether the Player wears the specific armor. In 1.6.2 it worked fine with ITickHandler but now this interface doesn't exist any more. If I use the TickEvent I can't figure out where to get the Player if it is a TickEvent of type Player. How can I create this Tick Handler? Or is there an easier way for applying potion effects when wearing armor?
  5. Oh, yes I have forgotten to add this Sry
  6. Hey Guys! I created some Items which use the damage value for different sub items. (0 for Iron type, 1 for Gold type etc.) The problem is now: If I want to collect an Item with type 0 which is laying on the floor and I have one Item of type 1 in my Inventory, the collected Item is added to this stack and is now type 1 too. Whats wrong and how can I fix this?
  7. Thanks to all of you, it works now
  8. Hey Guys! I created a Block which is transparent and never should cause a shadow, but it does. What have I done wrong? I created it like this: protected ModBlockInvisibleWall(String unlocalizedName, Material material, float hardness, float resistance) { super(unlocalizedName, material, hardness, resistance); this.setLightOpacity(0); //Right this way? Or should I write 255? this.setBreakHarvestLevel("pickaxe", 0); } There is a small shadow surrounding the Block. What can I do against this?
  9. I now solved it on my own. For getting Sword enchantments on your Item you MUWT create it that it extends ItemSword, because the check for applyable enchantments works with instanceof.
  10. Hey Guys! I created some tools for my mod but I got some problems enchanting them: If I try to enchant the Items, they are always enchanted with "Unbreaking". I can't get any other Enchantment applied to them. How can I tell Minecraft, that its possible to enchant the Items with maybe "Silk Touch" or "Efficiency"?
  11. Thanks, I'll do it like this.
  12. Hey Guys! Is it possible to mark vanilla mobs that you can differentiate between marked and unmarked Mobs? And if: how?
  13. And how exactly can I do this?
  14. Hey Guys! I now added the Furnace Minecart Inventory Mod for 1.7.2. Hope, you enjoy it!
  15. @mjhotdog: Sounds great, I'm going to try this soon.. And I think IF someone creates a mod which depends on mine he should ask me about this. @Alexiy: Thanks also for this fast reply, gonna try this out soon. @Frost: This would work in 1.6 and lower but no more in 1.7 because you don't have IDs any more.
  16. Hey Guys! Can you find out if a specific mod is loaded? And can you get access to this mod's Blocks to add crafting recipes or something else? I'm thinking about something like this: if (isModLoaded("modid")) GameRegistry.addRecipe(..., '#', getModsBlock("modid", "unlocalizedName"); You can also use this to avoid double - creation of equivalent Items. Any ideas how to do this?
  17. Moved to my homepage!
  18. OK, well, I wasn't that clueless... I removed the field_anything standing on top of the ModBlockWall class, becaused I copied it from Vanilla and now it works Nota Bene: Never use field_... or func_... Thanks to all of you for the time you spent on this problem!
  19. After a lot of try and error I found out that the cause of the Error is this line in ModBlocks: wall = new ModBlockWall("wall", Blocks.stone, ItemBlockWall.class); It has nothing to do with the name, because I renamed it already to blockWall.. Here is the Code of ModBlockWall: I hope you can figure out whats the problem, cause I'm completely clueless
  20. Done. I renamed all of them. But without any effect.
  21. I think you didn't understand me correctly. I've changed the names of the Methods so they don't override anything. Example: The original Method is setCreativeTab(...) and my Method is setBlockCreativeTab(...), so it doesn't override anything at all
  22. Well, have you got any other Ideas what can cause the Error?
  23. I would say non - implicit is with @Override Its the class I posted above Here is it again:
  24. I know that @Override is only a sign for overriding the method and I also know that they can be overridden without this annotation. I changed the names of all the methods, so you have no implicit override any more.

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.