Jump to content

calclavia

Forge Modder
  • Posts

    2281
  • Joined

  • Last visited

Everything posted by calclavia

  1. Right I was trying to use the setblockbound function. thanks.
  2. You are NEVER supposed to declare your item and block variables inside the function. It should be part of your class.
  3. I saw Industrialcraft have their sounds in their zip file. How does that work without putting the sound files in the resource file?
  4. How would you connect/call functions from the tile entity from the constructor? There is no world object.
  5. So I set the block bounds from the tile entity once the tile entity is fist initiated?
  6. Sorry. I am a "noob" at trying to recruit people to help on projects. Wow that mod looks great. It seems like you generate a lot of different ores. I just made an interface called addOre so all UE mods use the limited block IDs to make their ores. Also some of the ores/ingots Universal Cmponents already have (copper, tin, steel) and you can just call the code reference from those if you want. Are you planning to make more industrial machines since your mod is about industrial things? We really need UE addons that features machines cus' we currently have more generator mods than machines mod. But anyway, have you got a name better than addon that doesn't sound like a lesser mod? (because a UE addon is definatly not a lesser mod). Also we should discuss this in the UE forums. This is not the appropriate thread
  7. That's ok. But how would you be different from Industrialcraft, Redpower and those big guys? I have been looking for add-ons writers for Universal Electricity. Writing an add-on doesn't mean your mod belongs to Universal Electricity or anything. You still own everything you created. Using the API simply allows your mod to be compatible with some other Universal Electricity add-ons (not a lot because UE is still a very young mod). You can publish it whatsoever and all rights (including making money out of it) are reserved for you Universal Electricity is an open source project that Darkguardsman and I are working on and we will really appreciate if you reconsider it, It will give you a good starting ground since this is the first mod you are creating and a lot of interfaces are built-in. And of course if you decide for now not to use the API, you can always use it anytime in the future. We're trying to make all electricity-based add-ons compatible with each other without the hassle of "electricity transformers" everywhere. If you need help on modding or anything or on the API you are more than welcome to ask me or Darkguardsman.
  8. Figured it out. It is a lot simpler than it looks. Thanks for the help and the links! EDIT: I would I distribute my sounds? The sounds should be placed in the resource file but how I can include the sounds in my ZIP and having them work? Also, I am not sure how would I get an entity to keep playing this ambient sound while it is alive. I saw there is this thing called sound streaming and I am not sure how to use it. I tried calling play sound every tick but it just made REALLY LOUD overlapping sound fxs.
  9. Hey it looks like you are doing something electricity related. Are you interested in using the Universal Electricity API? We try to make electricity as realistic as possible and make creating electricity in Minecraft a lot easier than doing it from scratch. Also, it will be compatible with other mods that uses UE. http://minecraftforge.net/forum/index.php/topic,61.0.html
  10. I am thinking of creating this item that works like a telescope and zooms into the area in which the player is looking at. Any hint on what part of the code I should look at? Player camera?
  11. Is there a way you can have a metadata block with each metadata having a different block bound? I tried using setBlockBound in the onBlockAdded function. It works but then after I restart Minecraft and reload the world, the block bound goes back into default again (this is because the block bounds can not be called in the constructor as it depends on the metadata of the block). I checked out the door code but it didn't really help because they had the block bounds set in the constructor.
  12. Yes once I figure it out. Any hints on how to use it?
  13. Oh I got really confused there. I thought ModContainer is like a replacement for BaseMod. I understand what it is now.
  14. But it seems like none of the ModContainer implemented interfaces are being called. For example the init() function doesn't get called after the mod initialized. Am I supposed to do something to make those functions work?
  15. I am trying to change into the new modding system. I've implemented the interface "ModContainer" but I am not sure how I can register my mod as a FML mod. The mod seems to load but the preinit, init and postinit functions are never called.
  16. Get priority seems to return a String. So typing a number "1" will have lower priority than "0"?
  17. I've been working on a mod with an API in which other mods can use. The problem though is that a lot of people are getting problems with the add-on loading before the API loads. I see the new FML has this thing called child mods but I am not sure which function to call and how to use it. Is there a way I can ensure that the API mod gets loaded BEFORE the add-ons to not create errors?
  18. Thanks for the info. FML doesn't seem to have a forum and Forge forum is probably the closest thing to it.
  19. I am a beginner on FML here. How did you register your .info mod metadata file with Forge? It doesn't seem to load my .info file.
  20. Also another question. Approximately when would the new Forge (that does not use ModLoader) release it's recommended build? If there is no date then it doesn't really matter. Just asking. It will take a while for people to switch to not use ModLoader at all. Also in the new Forge I see in the mods menu there is this thing under the mod that says child mod. What does a "child mod" mean (does it mean like add-ons for IC2?) and how do you set it up? As for the mod metadata, I created an info file but I don't know how to get Forge to load up the mod metadata. I have a lot of questions I can't seem to find any documentary on FML due to it's new-ness. Any source of help would be helpful.
  21. Just our of curiosity. When I use TMI with Redpower I see that Eloramm has somehow used thousands of metadata in one block. How did she did that? I thought you are only limited to 16 metadata per block!
  22. I've heard from some people that forge is taking over modloader or replacing it. Any more information about this?
  23. I'm also looking into how to create custom sound effects. Any tutorials out there on how to use the ISoundHandler?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.