Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

zombiepig333

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

3 Neutral

About zombiepig333

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I like zombie pigman!!
  1. Just add the dependencies param to your @Mod in your main mod class. you can specify before or after by adding "before:" or "after:" before the modid. example: @Mod(modid = "MODID", version="DEV", dependencies="required-after:IC2")
  2. @ShetiPhian- yep, just as you said, it all works for Items if you do that. Blocks, though, do require that ItemBlock override, and that is being a huge pain. I have been busy with classes this week, but if I get a way working(well, if nobody else has already ) I will say something. Otherwise, well, the system kinda works. Yay for new forge!
  3. Right, I know, I was just using this as a test of the block override system for some more advanced stuff I want to do that does require such an override. The fact that it isn't doing anything for this implies (to me) that I am doing something wrong.
  4. Hello, folks. I saw that the 'new' forge branch had support for overriding minecraft blocks and items, so I wanted to try and do something with it. Sadly, being the n00b I am, I cannot get it to work for the life of me. This is what I have been doing as a test. First, I made a class to override BlockClay like so... public class TweakClay extends BlockClay { public TweakClay() { super(); } @Override public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { return Item.getItemFromBlock(Blocks.brick_block); } }
  5. My god- I forgot to look there. Welp, another derp for me . Haven't really done this kind of stuff before, so thanks for the help- now that I know where all these events are things should be muuuuuuuch easier. Honestly, thanks a ton. I should have looked through more of the documentation before posting this. ~zombiepig333 Edit: Ran into another problem, and I don't think it is of my doing this time. Updated the first post with info.
  6. To package a mod, you should(if you have setup the build.gradle file correctly) just have to run "gradlew build" from the command line. I don't use Eclipse, so I don't know if the "Export as Jar" uses this command or not. I would run this just in case it doesn't. Hopefully this helps a bit. ~zombiepig333
  7. NOTE: Before yelling at me for posting such a mention, please keep in mind that I am trying to do this without a full class patch; I found a tutorial for that, but didn't want to create incompatibilities. I am trying to add a sound for when a player sleeps in a bed. Sadly enough, when I was looking at what that would take, it appears an edit to the onBlockActivated function in BlockBed would need to be made, and I don't have very many ideas as to going about and making this change. I do know that you can edit fields with reflection or asms, but this is adding an entire line to a bas
  8. Yep, confirmed works when you use --refresh-dependencies. Grade 1.2 build 122 must have fixed all the problems. Thanks diesieben07, ~zombiepig333
  9. I actually just found the fix with Forge build 1137. If you use the version that forge provides in build.gradle file in build 1137 and run your tasks with --refresh-dependencies, 1.7.10-pre4 will work. I can confirm that Sedridor's issue is a problem; got the same crash as he did.
  10. Hello, I was trying to update my workspace to Forge 10.12.2.1036 for Minecraft 1.7.10-pre4 when, using the default build.gradle file, crashed with the below error. I tried changing the version number, but with the exact same result. Any help on the matter would be appreciated; I would like to start building on 1.7.10 right away and I don't know what I am doing wrong. ~zombiepig333 Edit: Just realized I put this in the wrong place. Derpy me; if it is big issue for moderators, could you please move it? Crash Logs:
  11. You need to change your java client arguments, the accessToken argument is now required to start the game. They should look like this- --version 1.7.2 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken Player1234 I think Player1234 can be changed to any user id, but don't count on it.
  12. Wow.... I should have looked at the gradle docs first. Derpy me. Problem solved, feel free to close the thread.
  13. I have been greatly enjoying the new features that ForgeGradle provides, as it makes building my mod much easier. The only problem I have been having is that since my mod is modular, I have to build multiple .jar files with different packages in them. I am not too familiar with how Gradle functions in this way, and I have only seen a way to build one jar file. Any help on how to build multiple files would be appreciated.
  14. Errrrr.... you are doing it wrong. First, you need to be using forge build 964 if you want to take advantage of gradle. Build 953 will not cut it.' Next, you don't need to download gradle yourself, if you run the right commands forge will do it itself. Other than that, just follow the tutorial you were following. Also, I suggest you run setupDecompWorkspace instead of setupDevWorkspace. I have been having some issues with it, but it supposedly gives you decompiled Minecraft code to work with.
  15. You are soooo close (this actually helped me fix my blocks), you just need to change the following- Before: switch (getGrave1Direction(meta)) { case 0: GL11.glRotatef(0, 0.0F, 1.0F, 0.0F); break; case 1: GL11.glRotatef(90, 0.0F, 1.0F, 0.0F); break; case 2: GL11.glRotatef(180, 0.0F, 1.0F, 0.0F); break; case 3: GL11.glRotatef(270, 0.0F, 1.0F, 0.0F); break; } After: switch (getGrave1Direction(meta)) {
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.