Everything posted by Bedrock_Miner
-
Items in dungeon chests
OK, but how do I use these hooks?
-
Items in dungeon chests
Hey Guys! I created some rare Items which should be added to dungeon chests.. How can I do this?
-
[1.7.2|SOLVED] TickHandler for Player
Thanks for this fast reply!
-
[1.7.2|SOLVED] TickHandler for Player
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?
-
[SOLVED] Problem with items with subtypes
Oh, yes I have forgotten to add this Sry
-
[SOLVED] Problem with items with subtypes
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?
-
[SOLVED] How to stop a block causing shadows?
Thanks to all of you, it works now
-
[SOLVED] How to stop a block causing shadows?
Anyone?
-
[SOLVED] How to stop a block causing shadows?
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?
-
How can you set usable enchantments for Items?
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.
-
How can you set usable enchantments for Items?
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"?
-
Can you "mark" Vanilla mobs?
Thanks, I'll do it like this.
-
Can you "mark" Vanilla mobs?
Hey Guys! Is it possible to mark vanilla mobs that you can differentiate between marked and unmarked Mobs? And if: how?
-
Access to other mods?!
And how exactly can I do this?
-
Bedrock Miner's Minimods
Hey Guys! I now added the Furnace Minecart Inventory Mod for 1.7.2. Hope, you enjoy it!
-
Access to other mods?!
@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.
-
Access to other mods?!
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?
- Bedrock Miner's Minimods
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
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!
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
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
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
Done. I renamed all of them. But without any effect.
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
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
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
Well, have you got any other Ideas what can cause the Error?
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
I would say non - implicit is with @Override Its the class I posted above Here is it again:
-
Compiled Mod Causes Error [SOLVED -> never use func_...!]
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.
IPS spam blocked by CleanTalk.