Everything posted by keepcalm
-
My coremod broke FML, but I have no clue how
As it happened, it was a runaway @TransformerExclusions. Whoops.
-
Minecraft randomly crashes most likely caused by generation
Reinstall forge and optifine (forge, then optifine) or check for an optifine update.
-
How do I get my mod compiled and ready for usage?
And make sure you run 'recompile.sh(or bat)' before reobfuscate.sh/bat
-
Help! I coded a item but I get this error! And I don't know how to fix it!
Change this line: woodenBattleaxe = new ItemWoodenBattleaxe(4000, wood).setIconIndex(0).setItemName("Wooden Battleaxe"); to this: woodenBattleaxe = new ItemWoodenBattleaxe(4000, EnumToolMaterial.WOOD).setIconIndex(0).setItemName("Wooden Battleaxe"); If it still doesn't work, post the log!
-
eclipse error
You installed forge incorrectly, run 'install.bat' in the forge folder, not 'decompile.bat' in the mcp folder.
-
Mod Support
There are only 4 armour slots, 0-3. I'm guessing your mod is a jar mod, so somewhere you're causing line 35 of RenderPlayer to screw up, accessing an index in the array which is out of bounds.
-
Is there a block update event?
IScheduledTickHandler + EntityFallingSand? Set the block to air and create a new EntityFallingSand with the block's texture?
-
run function when my item is crafted
This is probably what you're looking for.
-
Own mod wont load on server?
You're causing an infinite loop somehow.
-
My coremod broke FML, but I have no clue how
I wrote a coremod, which works perfectly, except for one *minor* problem - it seems to be breaking FML's access transformer. The error I get can be found here: http://pastebin.com/rQEVETcw, the extra output is what FML is calling in the coremod's LoadingPlugin. The source code of interest can be found here: https://github.com/keepcalm/Bukkit4Vanilla/tree/master/src/keepcalm/mods/bukkit/asm
-
Server Problem
If you're on 1.4 or above, then you can just rename minecraftforge.zip to minecraftforge.jar and run that in the same folder as minecraft_server.jar, no winrar
-
How do I make a launcher?
You need to make sure that you're loading the LWJGL libraries as well - lwjgl.jar, lwjgl_util.jar and jinput.jar and setting property java.library.path to "minecraftdir/natives"
-
Where in the forge/minecraft source is the server logging code stored?
cpw.mod.fml.common.relauncher.FMLRelaunchLog is what you want. Can I suggest that the best way to do it would be to use some magic to stop FML outputting it's log to console, but rather using your own, custom-formatted log. Add a LogHandler, perhaps.
-
Help! clean install issues 1.4.5
Remove all your coremods.
-
[Solved] Keeping TileEntity client-side in sync every second
So you'd run whatever code you wanted to in tickEnd (or tickStart, doesn't matter), look at the wiki for a tutorial on how to use packets.
-
config not reading?
Did you run config.load()?
-
How do I make a launcher?
The method to call is net.minecraft.client.Minecraft.main, this might interest you if you're using java: https://github.com/Forkk/MultiMC4/blob/master/src/launcher/MultiMCLauncher.java
-
When Placing a Block, Assign it an ID
You're looking for PlayerInteractEvent, but wouldn't it be better to do it with a tile entity and NBT?
-
[Solved] Keeping TileEntity client-side in sync every second
use an IScheduledTickHandler with a schedule of 20 ticks?
-
[Solved]PlayerInteractEvent SMP compatible?
Something's null that shouldn't be in your PlayerInteractEvent handler
-
[Solved]PlayerInteractEvent SMP compatible?
can you post the logs?
-
[1.4.5/6/7] keepcalm's mods - Events API, BukkitForge - Interdim TPs, Lockette!
It doesn't output everything into the server log, but you could create a mod that does that. Here's an example of a mod: https://github.com/keepcalm/BlockBreakSample You could create a coremod that would download the MySQL java interface, PM me if you want a tutorial.
-
Languages
This might interest you: https://github.com/SirSengir/BuildCraft/blob/master/common/buildcraft/core/utils/Localization.java It simply loads a properties file, en_US.properties, for example, and reads the keys from that. An example of a properties file is: https://github.com/SirSengir/BuildCraft/blob/master/buildcraft_resources/lang/buildcraft/en_US.properties
-
FML ignores @Mod annotations on Modloader classes.
You can submit a pull request at https://github.com/cpw/FML. That's probably the easiest way.
- Forge Weirdness!
IPS spam blocked by CleanTalk.