Jump to content

bl4ckscor3

Members
  • Posts

    86
  • Joined

  • Last visited

Everything posted by bl4ckscor3

  1. Update to the newest forge, and put CodeChickenCore (dev or compiled) into your forge/mcp/jars/mods/ folder. Then you can add any compiled mods into the mods folder you want and play with them.
  2. Thanks that worked! (As I said, just starting with Java
  3. I know got this code: package tests; import net.minecraft.entity.Entity; import net.minecraftforge.event.ForgeSubscribe; import net.minecraftforge.event.entity.PlaySoundAtEntityEvent; public class PlayCreeperSounds { @ForgeSubscribe public void playCreeperSounds(PlaySoundAtEntityEvent event) { Entity entity = event.entity; if(entity.entityId == 50) { if(event.isCancelable()) { event.setCanceled(true); } } } } But it doesn't work (according to SPC, the entityId of the creeper is 50
  4. Ok, it works now. But how can I assign the cancelling only for the creeper??
  5. I already watched until Java Tutorial 31 of TheNewBoston. And thanks for that link.
  6. But where do I put the PlaySoundAtEntityEvent?? In the main class? Yes, I do. I read the help document of ASM and I didn't know what to do. I'm currently starting with Java, so some more hints of what to do would be cool
  7. You forgot to add IDs to the Iron Spade and the Iron Stick...
  8. Save the textures and sources you made (drag drop them to the desktop) re-install forge and drag drop the textures and sources from the desktop to forge/mcp/src/minecraft Tell me if it worked.
  9. Hello guys. I have a quick and simple question. How can I remove a method from an entity class without directly editing it? For example removing the sounds from a creeper. Should I give a better explanation, or do you know what I mean? If you do, can you help me, and how would I do this? ~bl4ckscor3
  10. Can you show us the both Block classes?
  11. If GregTech uses the OreDictionary, it will work. Here is a tutorial for you: http://www.minecraftforge.net/wiki/How_to_use_the_ore_dictionary
  12. I tried the latest version (#789) and it did work Strange that a recommended build doesn't work Thanks for your help!
  13. And how can I install mods which belong into the jar? I think I can't
  14. Hello! How can I install OptiFine and other .jar mods with Forge? Everytime I add or delete files from the 1.6.2-Forge9.10.0.784.jar it says the following in the console: Client> 2013-07-10 19:15:37 [sEVERE] [ForgeModLoader] The minecraft jar file:/C:/Users/donal_000/AppData/Roaming/.minecraft/versions/1.6.2-Forge9.10.0.784/1.6.2-Forge9.10.0.784.jar!/net/minecraft/server/MinecraftServer.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! Client> 2013-07-10 19:15:37 [sEVERE] [ForgeModLoader] For your safety, FML will not launch minecraft. You will need to fetch a clean version of the minecraft jar file Game ended with bad state (exit code 1) Deleting C:\Users\donal_000\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.784\1.6.2-Forge9.10.0.784-natives-262605343607704 Thanks for any help! ~bl4ckscor3
  15. Hi Guys! I have a problem installing the forge src. After some time it says that "Something faile verifiying minecraft files, see log for details" I searched for the log, but I didn't found it. As soon as I find it, I will post it here, so you know more details about my problem I have installing the Forge src. Thanks in advance ~bl4ckscor3
  16. I didn't find it. Can you please link me to it?
  17. Aaaaaand it's me again I'd like to have my mod available in different languages, by changing a config option. How would I do this, and how would I add the different languages? Thanks in advance ~bl4ckscor3
  18. I changed the code to this: @Override public boolean canPlaceBlockAt(World world, int x, int y, int z) { if(world.getBlockId(x, y-1, z) == MoreDimensions.slimeGrass.blockID) { return true; } else if(world.getBlockId(x, y-1, z) == MoreDimensions.slimeDirt.blockID) { return true; } else { return false; } } and it works! Hell yeah! Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.