Jump to content

M4thG33k

Members
  • Posts

    58
  • Joined

  • Last visited

Posts posted by M4thG33k

  1. I apologize if this is off topic, but I'm trying to figure out how to make my custom chests compatible with Inventory Tweaks (allowing them to have the sorting buttons displayed in the GUI). If there is anyone who is able to point me in the right direction, I would greatly appreciate it. Thanks!

  2. coolAlias: But putting the jar in the /mods/ folder doesn't allow me access to the classes/methods in the mod, which I want to be able to use in my add-on.

     

    Dylem: That tutorial uses only a deobf jar file, which I don't have access to.

     

    (Using IntelliJ and in 1.8.9, in case that wasn't clear...sorry.)

  3. I'm trying to use another mod as a library in order access items/blocks/etc. I have created a /mylibs/ directory at the same level as my build.gradle file (https://goo.gl/UhZ3Wq) and have placed the jar (SilentsGems-1.8.9-1.3.10b-106.jar) into this directory. Upon running "gradlew setupDecompWorkspace", I get the following error:

     

    "* What went wrong:

    Execution failed for task ':deobfCompileDeobfDepTask0'.

    > java.util.zip.ZipException: invalid entry compressed size (expected 7547 but got 7802 bytes)"

     

    I'm not sure where to go from here. Any insight would be extremely helpful. (What did I screw up or is there a better/different method for doing this? The repository for the mod I'm attempting to add onto is open-source on github, if that makes any difference - there just isn't a deobf jar available to me.) Thanks in advance!

  4. Would it be possible for you to tell me which client-only classes I'm using? I know I'm using EntityFX in my code, but I thought that I was providing enough checks to make sure that all of that code is only being run on the client side. I suppose I'm still not fully understanding how packets are supposed to work (despite reading quite a few tutorials)...

  5. Greetings! I've received this crash report from someone who's been using my mod and I can't seem to pinpoint the actual source of the crash: http://pastebin.com/YQ91FgMM

     

    From my understanding, the crash is happening when Forge is attempting to register my packet classes. The interesting thing is, this crash just recently appeared. I was fixing other bugs that were found, and then this crash crept in, which I find extremely odd. If there are any ideas as to what the problem could be (besides "you're attempting to use client-only classes on the server" since I can see that much), I would appreciate it.

     

    Here's the line that I can trace back to from the crash report that is apparently causing the issue: https://goo.gl/fDL8OZ

     

    Thanks in advance!

  6. Greetings! I have a custom particle I've been using in my mod for fluid transfer particles in my tanks, but it appears as though every time the particles are spawned, it changes other particle effects around them. For example, I've placed a torch next to my tank and when my custom particles are rendered, the "smoke" particles of the torch are overridden with the textures for the EnderIO conduits. I'm...not even sure how this is happening. I've gone into the code and turned off my particles to make sure that it was, indeed, the rendering of the particles that caused this glitch and can confirm it. Are there any ideas as to what could be happening? Here's a link to the particle class on github: https://goo.gl/xmxEUV. And here's a link to (one of) the class(es) which starts the rendering of my particle: https://goo.gl/51ItJ0. As always, thanks in advance!

  7. Hello! I have a block that I've been working on that is not a normal block (it has a TE with a TESR and therefore does not render as a normal block). I'm trying to figure out if there is a way for my block to still respond to weak redstone signals. I have attempted to override both the shouldCheckWeakPower(...) and getWeakChanges(...) methods (having them both return true), but to no avail. This led me to wonder if what I want is even possible. Thank you for your time!

  8. Pardon my ignorance here, since graphics are definitely not my strong suit, but I don't see how extending the class will help with the opacity. I haven't seen a method in the FluidBlockClassic class that I could override that would cause the desired effect and I'm pretty sure I can't write my own method to do it either.

  9. This is probably a dumb question, but how do I make a custom fluid translucent? I have a custom fluid that is functional and is taking the texture I give it, but is not taking into account the opacity of the .png file. What simple thing have I overlooked this time?  :-\ Thanks in advance!

  10. Greetings! I know I've asked a similar question to this before (but the solution for that one didn't translate here).

     

    I'm lacking the basic knowledge as to where you put another mod's API in order to access it and use it in your own code. For example, using NEI, things I've tried:

     

    • putting the codechicken/nei/api folder in my src/main/java folder
    • putting the entire NEI.jar inside my libs folder

     

    In both cases, I ran gradlew setupDecompWorkspace --refresh-dependencies, but to no avail. In the first case, the codechicken/nei/api folder in IntelliJ had no code, even though opening the location with the explorer showed all the code was there. There are other API's I would like to use (for redstone flux, etc), but I would like to get the basic concept down before attempting more than one API. As usual, thanks in advance!

     

     

×
×
  • Create New...

Important Information

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