Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Toldea

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

15 Good

About Toldea

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  1. I use just the '--username <insertyourusername>' argument (in Run->Run Configurations->Arguments) and that is working fine for me (MC 1.6.4).
  2. You can ignore the Scala warnings. And no you don't import the files, you go to File->Switch Workplace->Other... and then you open forge/mcp/eclipe
  3. I don't really see any errors in your logs. If you did everything correctly you should be able to open the Minecraft project by opening Eclipse and switching the workplace to the forge/mcp/eclipse folder. From there you can just run the project to compile and launch Minecraft.
  4. I'm developing on a mac as well (rMBP) and had no problems getting forge running with Eclipse. What problem are you running into exactly?
  5. When you are holding it in your hand it is an item which you can render differently using class implementing IItemRenderer. I'm guessing you have that part down. When you release the mouse button it spawns an entity which again needs its own custom render class (just extending Render). In there it is just a matter of rendering the model and applying any needed rotations and whatnot. You could take a look at the RenderArrow class. You basically just need to do the same thing only instead of all the tessellator stuff you just call your model's render function. Finally don't for
  6. Remove all the code in onLivingUpdate and just add the EntityAIAvoidEntity behaviour to the constructor like the other tasks. Create your own custom versions of the Avoid and Attack behaviours that are basically copies except for an additional check in their shouldExecute/continueExecuting functions to see if their .getAttackTarget() is a player holding the ectoplasm, then return true or false depending on if that behaviour should fire or stop executing while the player is holding that item.
  7. It's probably better to not add and remove tasks on the fly. Instead I'd just add both and on their shouldExecute/continueExecuting functions check if the attack target is valid, a player, and if it's holding the ectoplasm. If so return true or false depending on if that behavior should start or end.
  8. You could also check out MultiMC. It's a great little program to more easily handle all the mods and can also keep separate minecraft instances.
  9. http://www.minecraftforge.net/wiki/Tutorials/Upgrading_To_Forge_for_1.3.1
  10. Why? It takes 5min looking over the tutorial and it is mostly changing the word 'ModLoader' to GameRegistry/EntityRegistry/LanguageRegistry/etc
  11. Here are a bunch of tutorials, including stuff on dimensions -> http://wuppy29.blogspot.nl/2012/08/forge-modding-132.html
  12. Brb copying exceptionally useful code. Anyways, use metadata. i.e. have the 'dye' object contain all the different colors you want with each their own metadata, spawn the submarine and parse the metadata. Use the same coloring for the submarine.
  13. You could use world.getSpawnPoint() if you have the World object.
  14. Have you called GameRegistry.registerWorldGenerator in your mod file? How is it not working? Is the generate function getting called? The code in the forge tutorial should create a wooden block very high up in the sky (y=100) per chunk. This is of course kind of basic and probably not very useful. The way Minecraft generates most of its stuff is with some logic, which is written in the different WorldGenerator subclasses. For instance a common one is the WorldGeneratorMinable, which takes the block id and the vein size as its arguments. If you then call the generate function on that
  15. You aren't creating a Minecraft instance, you are just getting the singleton instance. It's also a bit silly that you have a variable to hold the minecraft instance but then you never assign or use it .
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.