• 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Quote from Namorax»

    For some reason I can't get INpureCore (To cull Items from NEI) to work... it simply says an error popped up but I can't make heads or tails of it:



    java.lang.NullPointerException
    at cpw.mods.fml.common.registry.GameRegistry$UniqueIdentifier.<init>(GameRegistry.java:389)
    at cpw.mods.fml.common.registry.GameData.getUniqueName(GameData.java:238)
    at cpw.mods.fml.common.registry.GameRegistry.findUniqueIdentifierFor(GameRegistry.java:462)
    at info.inpureprojects.core.NEI.gtfoMicroblocks.ScriptObjects.AEObject.getFacadeItem(AEObject.java:40)
    at jdk.nashorn.internal.scripts.Script$8$\^eval\_.:program(<eval>:2)
    at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:636)
    at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229)
    at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:437)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:401)
    at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:397)
    at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:152)
    at javax.script.AbstractScriptEngine.eval(Unknown Source)
    at info.inpureprojects.core.Scripting.ScriptingCore.loadStream(ScriptingCore.java:117)
    at info.inpureprojects.core.Scripting.ScriptingCore.loadFile(ScriptingCore.java:106)
    at info.inpureprojects.core.Scripting.ScriptingCore.loadPackagesFromDir(ScriptingCore.java:172)
    at info.inpureprojects.core.NEI.gtfoMicroblocks.NEIINpureConfig.runCommands(NEIINpureConfig.java:157)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_997_NEIINpureConfig_runCommands_ClientTickEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
    at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1587)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)



    Could anyone please tell me what I'm doing wrong?


    Looks like an error coming from the AE filter. Perhaps they changed the API I was using. I'd have to look into it. You can disable the AE filter for now.

    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Quote from Wolf68k»

    Yeah I was still new to how the coding worked when I said that and wrote the code that I used.

    I have since just used the hide to hide all of the fully made tools


    I do have a new issue that I'm not sure how to fix easily.

    In Steve's Carts there are a lot of creative only items that I would like to hide, the problem is that it's mixed in with a bunch of other things and so they all share the same modid:name. One of them isn't too bad; StevesCarts:upgrade and the creative item is 14 out of 18. However the rest is StevesCarts:CartModule metas 61, 76, 72, 96, 97 and while the rest will goes up to 101 there isn't 101 items. I was thinking of something like NEI.invert or NEI.override_invert and then when you put in the metadata it hides those while letting the rest be visible.

    This might seem like a rare thing or maybe even with just this 1 mod but it's not. I've chosen to do this with a number of other mods that had 1 or more items I wanted to hide that's mixed in with a dozen or so items and not always necessarily just creative items.


    This shouldn't be too hard to add. I'd have to build a list of metadata so I have something valid, and remove whatever metas are specified before rebuilding the stack list to pass to NEI.


    edit: Build 64 on maven will have the command "override_invert". Same parameter scheme as override. I haven't actually tested it, I just whipped up a quick prototype.

    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Quote from Gotolei»

    How would one go about filtering Mekanism's portable tanks, while still keeping the empty one? The item name is Mekanism:MachineBlock2 (shared with multiple other, entirely different machines) and there's no metadata is always 11, no difference between empty and full.


    It looks like NBT detection isn't implemented (yet?), so does that mean it just can't be done?


    The current maven test build has that ability. Any build 60 and above has the command override_with_nbt that uses the same parameters as hide. It will use whatever the first registered thing is via the target's getSubBlocks/getSubItems method. This will be coming to an official release build soon.


    The release version will likely let you designate precisely what to show, so in your mek example you could show each machine and the base tank.

    Posted in: Minecraft Mods
  • 2

    posted a message on [1.7.10] INpure Projects - denoflions mods

    Wow, been a while since I posted here. Here is a blog post about OpenBees to revive the thread a little. http://inpureprojects.info/wordpress/?p=18

    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Anyone looking for really old versions of my mods should check out my latest blog post on http://inpureprojects.info/.
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Quote from Acehii»

    I was wondering if this is the Log error I'm getting?

    http://pastebin.com/AiA1F4kE

    I'm not able to understand this error and was just wondering if it will impact the game? Thank for any help given.

    Edit: I did narrow it down to BuildCraft or Logistics Pipes. I just downgraded them for now, I figured it is BC, but LP stated that I should up BC in order to use both.


    Yes that is the error I was speaking of.
    Quote from AnonTheMouse»
    You have made something that takes the bazillions of microblock entries down to a single "How do I carve this shape?" entry. At last, my life is complete.



    Did you ever know that you're my hero?

    You are the wind beneath my suddenly improved performance.

    Ha, well thanks. I do what I can.
    Quote from Tomatoh»

    Did you ever push the fix?

    I did. It might take a while to propagate over Curse's network to show up in this thread though. The new version number is 1.0.0B8-47.
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    I am aware of the issue with the NEI filter with BC 6.3.2. The fix is fairly small, so I'll probably push a fix tomorrow.
    Posted in: Minecraft Mods
  • 2

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Quote from bmb78»
    B8-46's resources.inpure does not seem to be able to download LibFiles.
    ##url=http://files.inpureprojects.info/libs
    commons-codec-1.9.jar
    commons-compress-1.8.1.jar
    So I revise resources.inpure as follows.
    ##url=http://files.inpureprojects.info/libs/
    commons-codec-1.9.jar
    commons-compress-1.8.1.jar
    groovy-2.3.9.jar
    groovy-jsr223-2.3.9.jar
    jruby.jar
    luaj-jse-3.0.jar
    Probably it should come to work in this.
    But I cannot try it now because Maven files are disappear.

    My server took a dump and I've been busy so restoring the data took longer than expected to get around to.

    I just started the restoration process so all the files should be back shortly.
    Posted in: Minecraft Mods
  • 15

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Hello and welcome to my mod thread.

    MODPACKS: I'm putting this right at the top in huge letters.

    I don't care if you're using my mods in a modpack. It is cool, don't worry about it. Go play.


    INpureCore:


    INpureCore is simply my library for my mods. It does dependency handling and such.

    Core Features:
    • Built in NEI culling. Poof all but one microblock from the list. No need to mess with categories.
    • Extendable scripting engine. Supports Javascript, Lua, and Ruby.
    • Your average block/item boilerplate classes.
    IMPORTANT: As of 1.0.0B5 the culling features are compatible with Java 8. Enjoy!

    The core can currently cull the following things from NEI:

    • ForgeMicroblocks
    • BuildCraft facaces
    • Applied Energistics 2 facaces
    • ExtraUtilities microblocks
    • ExtraUtilities drums
    • Biblocraft furniture.
    • Vanilla blocks like mob spawners, portal blocks, fire, etc.
    In most cases it will leave 1 of each type of thing visible in NEI so you know it exists and how to craft it. So you can see the drum recipe, but not the filled drum for every single liquid in the dictionary.

    Each of these culling modules can be shut down individually via config.

    As of 1.0.0B3 you can write your own custom NEI Filters using JavaScript. For a basic tutorial on doing this please see this post.

    If you are posting a bug report about a custom NEI filter script please include your debug.log. You can find this in config/INpureProjects/logs.


    http://minecraft.curseforge.com/mc-mods/223792-inpurecore

    CreeperCollateral:

    CreeperCollateral is a mod that modifies how explosions work so the process is similar to how it happens on bukkit servers.

    This mod requires INpureCore.

    Features:
    • Enables explosions to be controlled via a Forge-like event. This event is mostly identical to its bukkit counterpart.
    • Gives users a config to change the response to explosion events. The default settings cause Creepers to be unable to fully destroy blocks. They can break them, but the blocks will always be dropped on the ground.
    • Built in bukkit plugin. Cauldron servers shouldn't notice a difference.

    http://minecraft.curseforge.com/mc-mods/223801-creepercollateral

    DEVELOPMENT BUILDS:

    When code is pushed to github my jenkins server automatically compiles it. At the top of each hour any new files are uploaded to my website. These builds are not to be used in modpacks as they may not be stable or safe for mass consumption.

    FAQ:

    Q: Do you know you spelled the word "Impure" wrong?
    A: Yes. The misspelling is intentional. It is a sort of stupid inside joke that I don't care to explain.
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.7.10] INpure Projects - denoflions mods
    Quote from iarspider»
    Is it possible to remove items with specific NBT tag? I'm trying to filter out Pressure Pipes canisters - empty canister doesn't have NBT while filled ones have:
     - empty canister
    .withTag({Amount: 64000, FluidName: "plagioclasealbite"}) - filled canister


    Same problem with IC2:
     .withTag({}) - empty
    .withTag({Fluid: {Amount: 1000, FluidName: "binnie.beerlager"}}) - filled

    This is not possible currently. I'll look into if this is able to be added. It depends on if NEI has an API function for that somewhere. Stay tuned!
    Posted in: Minecraft Mods
  • To post a comment, please .