-
[SOLVED] Log in with default MC Account in Eclipse-MC
I use just the '--username <insertyourusername>' argument (in Run->Run Configurations->Arguments) and that is working fine for me (MC 1.6.4).
-
Mac Java Patch
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
-
Mac Java Patch
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.
-
Mac Java Patch
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?
-
Rendering a techne model as a 3D item when thrown? How would you do it?
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 forget to register both the item and the entity render classes ^^.
-
Making mob scared of players with certain item
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.
-
Making mob scared of players with certain item
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.
-
I recieve an error report upon loading Minecraft.
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.
-
Multi-textured Mob & Glowing Mob
http://www.minecraftforge.net/wiki/Tutorials/Upgrading_To_Forge_for_1.3.1
-
Multi-textured Mob & Glowing Mob
Why? It takes 5min looking over the tutorial and it is mostly changing the word 'ModLoader' to GameRegistry/EntityRegistry/LanguageRegistry/etc
-
Needing help making a New Dimension(UnSovled)
Here are a bunch of tutorials, including stuff on dimensions -> http://wuppy29.blogspot.nl/2012/08/forge-modding-132.html
-
Multi-textured Mob & Glowing Mob
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.
-
World Generation based off of spawn location?
You could use world.getSpawnPoint() if you have the World object.
-
[Solved] World Generation not working
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 object in your IWorldGenerator generate function it will attempt to generate a vein at the xyz coordinates you pass it. If you want to generate more veins per chunk you just put a for loop in the generate function. Unless you are after some very specific generation logic you probably don't have to write your own WorldGenerator and can just reuse some of the vanilla ones.
-
How I can know which block I'm pointing with the mouse?
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 .
IPS spam blocked by CleanTalk.