I've JUST started modding and i want to be able to make my modded item open iron doors.
Also would be cool if i could use it to set off tnt, light fires, and activate redstone
Be gentle, I'm a beginner
Yay it worked =D.
now i just want it to play a specific sound when right click...trying to develop this, but im so clueless xD. It's really fun if you know what you're typing though
kewlio. is there a simple way to export it as a mod to use in actual MC. i wanna test what ive got real quick
for reference i have an "assets" folder containing all the item textures. a mods folder containing block textures (unorganized but it works for now) and a folder called "tutorial" containing all the classes.
kewlio. is there a simple way to export it as a mod to use in actual MC. i wanna test what ive got real quick
for reference i have an "assets" folder containing all the item textures. a mods folder containing block textures (unorganized but it works for now) and a folder called "tutorial" containing all the classes.
As far as I'm aware, there's only one way: recompile the code, reobfuscate it, archive it in a .zip, and then add all of your texture folders to the .zip. It doesn't take too much time but there's not shortcut.
As far as I'm aware, there's only one way: recompile the code, reobfuscate it, archive it in a .zip, and then add all of your texture folders to the .zip. It doesn't take too much time but there's not shortcut.
Or you could use ANT or Gradle to do the process for you I personally use Ant but this will change to gradle due to forges now framework in 1.7.*
Rollback Post to RevisionRollBack
Head developer for the CivilMagicks former developer for runix
Apparently I'm a horrible person for telling people the the truth. If telling people that MCreater and programs like it are crap and used by lazy people unwilling to learn java then I'm a horrible person and I'm ok with it
i click recompile.bat, then reobfuscate.bat, then i take those three files and place em into a zip like so; http://gyazo.com/dd8bd52829b3f5f8bcc6ca57fc0e0e1e
however it does not contain all functionality. my item doesnt open the door and after i deleted them and replaced them again, they arent even showing up.
i click recompile.bat, then reobfuscate.bat, then i take those three files and place em into a zip like so; http://gyazo.com/dd8...cc6ca57fc0e0e1e
however it does not contain all functionality. my item doesnt open the door and after i deleted them and replaced them again, they arent even showing up.
Did you use the files in the "reobf" folder after reobfuscating?
I'm going to bed, but i made a new ore, and a new gem that the ore has to drop
when i export all the files to actual minecraft, the ore is fine, but when the ore is mined, once the gem should drop, my game crashes with the following error:
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 12/2/13 12:20 AM
Description: Exception in server tick loop
java.lang.NoSuchFieldError: genericEntity
at tutorial.basic.GenericOre.func_71885_a(GenericOre.java:24)
at net.minecraft.block.Block.getBlockDropped(Block.java:1831)
at net.minecraft.block.Block.func_71914_a(Block.java:721)
at net.minecraft.block.Block.func_71897_c(Block.java:711)
at net.minecraft.block.Block.func_71893_a(Block.java:1142)
at net.minecraft.item.ItemInWorldManager.func_73084_b(ItemInWorldManager.java:338)
at net.minecraft.item.ItemInWorldManager.func_73082_a(ItemInWorldManager.java:238)
at net.minecraft.network.NetServerHandler.func_72510_a(NetServerHandler.java:502)
at net.minecraft.network.packet.Packet14BlockDig.func_73279_a(SourceFile:46)
at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.integrated.IntegratedServerListenThread.func_71747_b(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
Also would be cool if i could use it to set off tnt, light fires, and activate redstone
Be gentle, I'm a beginner
How I would do it: (working code)
Art by me: MrPancakeWolfie@DeviantArt
im having a problem with this part of the code "& 7;" giving me an error
let me know if it works or not
Art by me: MrPancakeWolfie@DeviantArt
now i just want it to play a specific sound when right click...trying to develop this, but im so clueless xD. It's really fun if you know what you're typing though
Art by me: MrPancakeWolfie@DeviantArt
Also where do i place that code?
#newb
Art by me: MrPancakeWolfie@DeviantArt
http://www.minecraftforum.net/topic/1058091-tutorial-custom-sounds-and-more/
Art by me: MrPancakeWolfie@DeviantArt
for reference i have an "assets" folder containing all the item textures. a mods folder containing block textures (unorganized but it works for now) and a folder called "tutorial" containing all the classes.
As far as I'm aware, there's only one way: recompile the code, reobfuscate it, archive it in a .zip, and then add all of your texture folders to the .zip. It doesn't take too much time but there's not shortcut.
Edit: recompile, not decompile
Art by me: MrPancakeWolfie@DeviantArt
Or you could use ANT or Gradle to do the process for you I personally use Ant but this will change to gradle due to forges now framework in 1.7.*
Apparently I'm a horrible person for telling people the the truth. If telling people that MCreater and programs like it are crap and used by lazy people unwilling to learn java then I'm a horrible person and I'm ok with it
however it does not contain all functionality. my item doesnt open the door and after i deleted them and replaced them again, they arent even showing up.
Did you use the files in the "reobf" folder after reobfuscating?
If it was working in Eclipse, but not now, I don't really have an idea what's going on.
when i export all the files to actual minecraft, the ore is fine, but when the ore is mined, once the gem should drop, my game crashes with the following error:
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 12/2/13 12:20 AM
Description: Exception in server tick loop
java.lang.NoSuchFieldError: genericEntity
at tutorial.basic.GenericOre.func_71885_a(GenericOre.java:24)
at net.minecraft.block.Block.getBlockDropped(Block.java:1831)
at net.minecraft.block.Block.func_71914_a(Block.java:721)
at net.minecraft.block.Block.func_71897_c(Block.java:711)
at net.minecraft.block.Block.func_71893_a(Block.java:1142)
at net.minecraft.item.ItemInWorldManager.func_73084_b(ItemInWorldManager.java:338)
at net.minecraft.item.ItemInWorldManager.func_73082_a(ItemInWorldManager.java:238)
at net.minecraft.network.NetServerHandler.func_72510_a(NetServerHandler.java:502)
at net.minecraft.network.packet.Packet14BlockDig.func_73279_a(SourceFile:46)
at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.integrated.IntegratedServerListenThread.func_71747_b(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------