All users will need to merge their Minecraft Forum account with a new or existing Twitch account starting October 23rd. You can merge your accounts by clicking here. Have questions? Learn more here.
Dismiss
  • 0

    posted a message on Entity Texture Layer Flickering

    Well, the wolf's base coat changes color, and then multiple marking layers are applied after it. There are multiple collars, too, and eventually armor.

    This method stopped the flicker, so that's good! I'm still debugging the collar though... it's causing render errors, rip.

    Posted in: Modification Development
  • 0

    posted a message on Entity Texture Layer Flickering

    Alright, I will definitely take a look at that! Thanks!

    Will that solve the Z fighting with the collar as well?

    Posted in: Modification Development
  • 0

    posted a message on Entity Texture Layer Flickering
    Quote from csb987»

    It looks like a z fighting issue between your main renderer and the layers.


    What is the RenderWCWolfS LayerRenderer for?


    That would make a lot of sense, but I'm not sure how to fix this? I basically copied code from the normal wolf collar renderer for my base and then added to that...
    RenderWCWolfS is the white markings.
    Posted in: Modification Development
  • 0

    posted a message on GUI for Item with Inventory Duplicating and Deleting Items
    Quote from Melonslise»

    What exactly do you mean by "default one in forge"? Didn't you create an interface as well as the default implementation and it's provider, storage?


    I literally just used IItemHandler from Forge. I didn't have to make a custom capability.
    Posted in: Modification Development
  • 0

    posted a message on GUI for Item with Inventory Duplicating and Deleting Items

    1. Pretty sure those methods were a test that didn't work, oops.

    2. Well for one thing, it's an inventory, so that adds some code. And this was the method stated in the guide I was following, so that's how I did it.

    3. The capability is just the default one in Forge. The slot class doesn't do much but add a limiter as to what items can go into the slot, but here it is. WildCraftSlotRestrict

    4. Alright, makes sense.

    Posted in: Modification Development
  • 0

    posted a message on GUI for Item with Inventory Duplicating and Deleting Items

    Hello again,

    I recently tried to create an item with an inventory and GUI. I did get the GUI running, but items are not transferring properly. When placed in the slots, stackable items will duplicate in the slot and then disappear when clicked, and unstackable items will duplicate, leaving one item in the slot and one on the mouse.

    Here is my code:

    WCGeneTester

    WCGeneTesterContainer

    GuiWCGeneTester

    On a side note, is there any way to limit the slot to only accept one of an item that's normally stackable?

    Posted in: Modification Development
  • 0

    posted a message on Entity Texture Layer Flickering

    Hello again,

    I'm having trouble with texture layers flickering on a custom entity. Basically, this randomly happens from time to time:

    Flickering texture layer

    Any idea how to fix it?

    Here are my render files--


    RenderWildCraftWolf

    RenderWCWolfS

    RenderWCWolfCollar

    (collar is not pictured but suffers from the same problem)

    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?

    Oh shoot! That would definitely do it! O.o Dang, those stupid little brackets can be such a pain XD

    Ahhh, now it straight up crashes XD It is actually throwing an error though, so I'll see what I can do about that on my own first and come back if I can't figure it out. Thanks for helping me figure things out!

    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?
    Quote from Melonslise»

    Have you registered your handler?


    Yes, and the other GUI in it works perfectly.
    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?

    Alright, well that revealed something-- the client side is failing the "null" check.


    Handler

    GUI

    Container

    Log:


    2017-09-26 17:01:04,176 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2017-09-26 17:01:04,177 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [17:01:04] [main/INFO] [GradleStart]: Extra: []
    [17:01:04] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/JayZX535/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [17:01:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [17:01:04] [main/INFO] [FML]: Forge Mod Loader version 13.20.1.2386 for Minecraft 1.11.2 loading
    [17:01:04] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_101
    [17:01:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [17:01:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [17:01:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [17:01:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [17:01:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:01:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    2017-09-26 17:01:04,558 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2017-09-26 17:01:04,591 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2017-09-26 17:01:04,592 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [17:01:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [17:01:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [17:01:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [17:01:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [17:01:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [17:01:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [17:01:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [17:01:06] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [17:01:07] [Client thread/INFO]: Setting user: Player83
    [17:01:10] [Client thread/WARN]: Skipping bad option: lastServer:
    [17:01:10] [Client thread/INFO]: LWJGL Version: 2.9.4
    [17:01:11] [Client thread/INFO] [FML]: -- System Details --
    Details:
    Minecraft Version: 1.11.2
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.8.0_101, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 903473400 bytes (861 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 384.94' Renderer: 'GeForce GTX 970/PCIe/SSE2'
    [17:01:11] [Client thread/INFO] [FML]: MinecraftForge v13.20.1.2386 Initialized
    [17:01:12] [Client thread/INFO] [FML]: Replaced 232 ore recipes
    [17:01:12] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [17:01:12] [Client thread/INFO] [FML]: Searching M:\Games\Minecraft\Modding\1.11\WildCraft\run\mods for mods
    [17:01:12] [Client thread/ERROR] [FML]: The mcmod.info file in bin cannot be parsed as valid JSON. It will be ignored
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 17 column 2
    at com.google.gson.internal.Streams.parse(Streams.java:56) ~[Streams.class:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:84) ~[JsonParser.class:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:59) ~[JsonParser.class:?]
    at net.minecraftforge.fml.common.MetadataCollection.from(MetadataCollection.java:65) [MetadataCollection.class:?]
    at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:81) [DirectoryDiscoverer.class:?]
    at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:63) [DirectoryDiscoverer.class:?]
    at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:49) [ContainerType.class:?]
    at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:78) [ModCandidate.class:?]
    at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:141) [ModDiscoverer.class:?]
    at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:414) [Loader.class:?]
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:554) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:233) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:478) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:387) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: com.google.gson.stream.MalformedJsonException: Unterminated array at line 17 column 2
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:465) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:658) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.Streams.parse(Streams.java:44) ~[Streams.class:?]
    ... 26 more
    [17:01:12] [Client thread/INFO] [wildcraft]: Mod wildcraft is missing the required element 'name'. Substituting wildcraft
    [17:01:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
    [17:01:13] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, wildcraft] at CLIENT
    [17:01:13] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, wildcraft] at SERVER
    [17:01:14] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:wildcraft
    [17:01:14] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [17:01:14] [Client thread/INFO] [FML]: Found 445 ObjectHolder annotations
    [17:01:14] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [17:01:14] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [17:01:14] [Client thread/INFO] [FML]: Applying holder lookups
    [17:01:14] [Client thread/INFO] [FML]: Holder lookups applied
    [17:01:14] [Client thread/INFO] [FML]: Applying holder lookups
    [17:01:14] [Client thread/INFO] [FML]: Holder lookups applied
    [17:01:14] [Client thread/INFO] [FML]: Applying holder lookups
    [17:01:14] [Client thread/INFO] [FML]: Holder lookups applied
    [17:01:14] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [17:01:14] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [17:01:14] [Thread-6/INFO] [FML]: Using sync timing. 200 frames of Display.update took 96241395 nanos
    [17:01:14] [Client thread/INFO] [FML]: Applying holder lookups
    [17:01:14] [Client thread/INFO] [FML]: Holder lookups applied
    [17:01:14] [Client thread/INFO] [FML]: Injecting itemstacks
    [17:01:14] [Client thread/INFO] [FML]: Itemstack injection complete
    [17:01:14] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null
    [17:01:17] [Sound Library Loader/INFO]: Starting up SoundSystem...
    [17:01:18] [Thread-8/INFO]: Initializing LWJGL OpenAL
    [17:01:18] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
    [17:01:18] [Thread-8/INFO]: OpenAL initialized.
    [17:01:18] [Sound Library Loader/INFO]: Sound engine started
    [17:01:23] [Client thread/INFO] [FML]: Max texture size: 16384
    [17:01:23] [Client thread/INFO]: Created: 16x16 textures-atlas
    [17:01:23] [Client thread/INFO] [FML]: Injecting itemstacks
    [17:01:23] [Client thread/INFO] [FML]: Itemstack injection complete
    [17:01:23] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
    [17:01:23] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:wildcraft
    [17:01:27] [Client thread/INFO]: SoundSystem shutting down...
    [17:01:27] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [17:01:27] [Sound Library Loader/INFO]: Starting up SoundSystem...
    [17:01:27] [Thread-10/INFO]: Initializing LWJGL OpenAL
    [17:01:27] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
    [17:01:27] [Thread-10/INFO]: OpenAL initialized.
    [17:01:28] [Sound Library Loader/INFO]: Sound engine started
    [17:01:32] [Client thread/INFO] [FML]: Max texture size: 16384
    [17:01:32] [Client thread/INFO]: Created: 512x512 textures-atlas
    [17:01:33] [Client thread/WARN]: Skipping bad option: lastServer:
    [17:01:34] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
    [17:01:38] [Client thread/INFO]: Deleting level New World----
    [17:01:38] [Client thread/INFO]: Attempt 1...
    [17:01:40] [Client thread/INFO]: Deleting level New World--
    [17:01:40] [Client thread/INFO]: Attempt 1...
    [17:01:44] [Server thread/INFO]: Starting integrated minecraft server version 1.11.2
    [17:01:44] [Server thread/INFO]: Generating keypair
    [17:01:44] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [17:01:44] [Server thread/INFO] [FML]: Applying holder lookups
    [17:01:44] [Server thread/INFO] [FML]: Holder lookups applied
    [17:01:44] [Server thread/INFO] [FML]: Loading dimension 0 (New World) ([email protected])
    [17:01:45] [Server thread/INFO] [FML]: Loading dimension 1 (New World) ([email protected])
    [17:01:45] [Server thread/INFO] [FML]: Loading dimension -1 (New World) ([email protected])
    [17:01:45] [Server thread/INFO]: Preparing start region for level 0
    [17:01:46] [Server thread/INFO]: Preparing spawn area: 13%
    [17:01:47] [Server thread/INFO]: Preparing spawn area: 28%
    [17:01:48] [Server thread/INFO]: Preparing spawn area: 44%
    [17:01:49] [Server thread/INFO]: Preparing spawn area: 59%
    [17:01:50] [Server thread/INFO]: Preparing spawn area: 74%
    [17:01:51] [Server thread/INFO]: Preparing spawn area: 90%
    [17:01:52] [Server thread/INFO]: Changing view distance to 12, from 10
    [17:01:53] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [17:01:53] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [17:01:53] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
    [17:01:53] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [17:01:53] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [17:01:53] [Server thread/INFO]: Player83[local:E:14537fae] logged in with entity id 851 at (-158.5, 69.0, 111.5)
    [17:01:53] [Server thread/INFO]: Player83 joined the game
    [17:01:53] [Server thread/INFO]: Saving and pausing game...
    [17:01:53] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [17:01:54] [pool-2-thread-1/WARN]: Couldn't look up profile properties for [email protected][id=575973e5-e497-3cb3-bb63-d114ffcff0b1,name=Player83,properties={},legacy=false]
    com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?]
    at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3056) [Minecraft.class:?]
    at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_101]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_101]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    [17:01:54] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [17:01:54] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [17:01:54] [Server thread/INFO]: Player83 has just earned the achievement [Taking Inventory]
    [17:01:54] [Client thread/INFO]: [CHAT] Player83 has just earned the achievement [Taking Inventory]
    [17:01:58] [Client thread/INFO]: [STDOUT]: onItemRightClick
    [17:01:58] [Server thread/INFO]: [STDOUT]: onItemRightClick
    [17:01:58] [Server thread/INFO]: [STDOUT]: Server: Player hand stack is not null
    [17:01:58] [Server thread/INFO]: [STDOUT]: Server: Open Gene Tester GUI
    [17:01:59] [Server thread/INFO]: Saving and pausing game...
    [17:01:59] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [17:01:59] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [17:01:59] [Server thread/INFO]: Saving chunks for level 'New World'/The End

    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?
    Quote from Melonslise»

    I think the problem is caused because you're returning a container to the client in your gui handler.


    Oh man, that's a good catch! It's still not working, though O.o
    Updated handler:
    https://gist.github.com/JayZX535/1b9d46ce36a83574cbadf6013d950784
    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?

    Still haven't found a solution...

    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?

    Well I figured one thing out, I was just really blind and registered the darn thing to the wrong class, oops XD Now it's at least printing-- but right clicking consumes the item and still doesn't open the GUI o.o

    Item

    WildCraftItem is mostly just a utility class meant to be fleshed out later and/or used for reference.


    I added that @CapabilityInject thing, but I don't know if it helps o.o

    Posted in: Modification Development
  • 0

    posted a message on Open GUI on Item Right Click?

    Hey again,

    I'm having trouble getting an item right click to trigger a GUI. Not sure what I'm doing wrong-- I'm not even getting an error. It just does nothing.

    Also I tried getting capabilities set up-- does this look right?


    Item

    Posted in: Modification Development
  • To post a comment, please or register a new account.