-
Posts
1689 -
Joined
-
Last visited
-
Days Won
1
Everything posted by SanAndreaP
-
Put this method into your entity class. Play with the return value until it fits: public double getMountedYOffset() { return 1.1D; }
-
[SOLVED] Minecraft 1.3.2 Server-MCforge 4.1.1.251 crash
SanAndreaP replied to liko2k's topic in Support & Bug Reports
If the client works with forge, then you don't need it. The error claims that it can't find a class: java.lang.NoClassDefFoundError: com/google/common/io/LineProcessor It's a part of one of these libraries, so one of them must be somehow corrupted during the download. The problem has been solved by redownloading the libraries, so FML can find the class now. -
difference between registerModEntity and registerGlobalEntityID
SanAndreaP replied to Torojima's topic in Modder Support
That's weird that you get the error even with the right order. It works for me. Could you provide the code where you register your entities? -
[SOLVED] Minecraft 1.3.2 Server-MCforge 4.1.1.251 crash
SanAndreaP replied to liko2k's topic in Support & Bug Reports
Download these files and put them into your libs folder located in your .minecraft directory: http://files.minecraftforge.net/fmllibs/argo-2.25.jar http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar BTW: Markus' nickname is Notch, so Notch is the creator of Minecraft -
difference between registerModEntity and registerGlobalEntityID
SanAndreaP replied to Torojima's topic in Modder Support
Well, I can ensure you that neither the registerGlobalEntityID nor the registerModEntity methods call eachother. There are two versions of registerGlobalEntityID, one with two additional parameters - the foreground and background color for the egg -, which will add an egg, and one without these parameters, which won't add an egg. Anyway you HAVE to call these methods in this order or else you will get the error you mentioned. -
difference between registerModEntity and registerGlobalEntityID
SanAndreaP replied to Torojima's topic in Modder Support
registerModEntity is required for MP tracking stuff, so the entity works on a dedicated server with multiple clients connected to it, I believe. registerGlobalEntityID is the base method for registering entities and should always be used in order to make entities work. I would suggest to use both methods. The registerGlobalEntityID first, then registerModEntity. -
Couldn't change block's id myself in config folder
SanAndreaP replied to CDtoday's topic in Support & Bug Reports
@Lex: If you wanna know how I solved the BOM issue, you can look at my Language Manager here: https://gist.github.com/3775312 It's in the loadLangPropertyStr(...) method. -
[SOLVED] Minecraft forge 1.3.2 minecraft error
SanAndreaP replied to MinecraftWero's topic in Support & Bug Reports
Could you provide the source of your minecraftwero.common.BaconMod class? -
Couldn't change block's id myself in config folder
SanAndreaP replied to CDtoday's topic in Support & Bug Reports
This unknown character is probably the BOM for UTF-8 (http://en.wikipedia.org/wiki/Byte_order_mark) which is always at the beginning of an UTF-8 file, unless you save it as UTF-8 without BOM. I had this issue with my own UTF-8 files for my Language Manager. Either save the config as UTF-8 w/o BOM, or save it as ANSI. -
^ this Also there is a difference between those two methods, but only in certain DamageSource instances. For example the damage source from an arrow returns the arrow entity itself with getSourceOfDamage() and the entity which shot that arrow (e.g. the player) with getEntity(), or the arrow itself again if the shooting entity instance is null.
-
You have to make a constructor with only the World parameter, like this: public EntityHorse(World par1World) { super(par1World); // YOUR CODE }
-
Maybe you could start a dedicated server with your mod and look what it does? I use this method to find such kind of errors in my mods.
-
[Unsure] SPC commands incompatibility
SanAndreaP replied to Major Cooke's topic in Support & Bug Reports
Looks more like there is an issue with NEI. Did you put NEI and the CodeChickenLoader into the coremods folder? Also the VerifyError seems to be caused by not deleting META_INF. Is it deleted? -
@Init works only for methods in classes which have the @Mod annotation (and an @Instance object)
-
Where do you call your register() method in your mod file?
-
How about the ForgeModLoader-client-0.log?
-
[Solved]EntityPlayerMP exists even if I'm playing SSP?
SanAndreaP replied to AXELTOPOLINO's topic in Support & Bug Reports
Because the client runs internally a server now. All code from the server is now in the client (internal server). -
Try to put your EVENT_BUS registration in your PreInit method.
-
Help Car Mod not compatible with FML 3.3.7.135
SanAndreaP replied to jhonny97's topic in Support & Bug Reports
Forge for Minecraft 1.2.5 is not supported anymore. -
Java crashes while trying to load a world testing my mod
SanAndreaP replied to Viper283's topic in Support & Bug Reports
So it works with 1GB in eclipse? If yes, stick with that. -
Java crashes while trying to load a world testing my mod
SanAndreaP replied to Viper283's topic in Support & Bug Reports
Then your system seems to be really fucked up Try to allocate less, I had this issue with OutOfMemory on an old PC and I had to allocate less memory so that it worked. -
Well, on a new jar file, if you copy the files from the forge package into the jar, you should be asked by the archiver if you want to replace the files or merge them (two buttons) Click then on the Merge button and everything should work.
-
You're on Mac, right? Merge the folders instead of replacing them during installation of forge.