my source code: https://github.com/arketec/ModdingTutorial/tree/master/src/main
This is my first attempt at a Minecraft Mod, and I followed a youtube ruby block tutorial like many others to try and get a feel for how it works.
I have searched other posts and tried to implement some suggestions to similar, but slightly different issues, but nothing seems to work.
Specifically,the ruby_block texture does not render in inventory, but it renders fine when placed in the world.
Strangely enough, when I originally had just the "ruby" item implemented (not the "ruby_block" item, the "ingot"), that item texture rendered no problem. But once I added the ruby_block item to the registry, neither the ruby nor the ruby_block item texture renders. So this somehow broke the original working item texture as well.
From debugging, I think the issue is somewhere in util/handlers/RegistryHandler.java class, but I don't have enough experience or knowledge of the game to know exactly what.
I also get no exception messages or errors in the console, which is not helpful at all. (other than the auth exception: com.mojang.authlib.exceptions.AuthenticationException for the "Player")
2018-03-02 22:36:57,645 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-03-02 22:36:57,648 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[22:36:57] [main/INFO] [GradleStart]: Extra: []
[22:36:57] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/noahm/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[22:36:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[22:36:57] [main/INFO] [FML]: Forge Mod Loader version 14.23.2.2611 for Minecraft 1.12.2 loading
[22:36:57] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_151, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_151\jre
[22:36:57] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:36:57] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[22:36:57] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[22:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:36:57] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[22:36:57] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[22:36:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
2018-03-02 22:36:58,289 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-03-02 22:36:58,563 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-03-02 22:36:58,564 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[22:37:00] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[22:37:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:37:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:37:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:37:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:37:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:37:00] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:37:01] [main/INFO]: Setting user: Player507
[22:37:04] [main/WARN]: Skipping bad option: lastServer:
[22:37:04] [main/INFO]: LWJGL Version: 2.9.4
[22:37:05] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_151, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 764096184 bytes (728 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: 'ATI Technologies Inc.' Version: '4.5.13506 Compatibility Profile Context 23.20.15002.11' Renderer: 'AMD Radeon (TM) R9 390 Series'
[22:37:06] [main/INFO] [FML]: MinecraftForge v14.23.2.2611 Initialized
[22:37:06] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[22:37:06] [main/INFO] [FML]: Replaced 1036 ore ingredients
[22:37:06] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[22:37:06] [main/INFO] [FML]: Searching C:\cygwin64\home\noahm\mods\1.12\TutorialMod\run\mods for mods
[22:37:07] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[22:37:07] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, tm] at CLIENT
[22:37:07] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, tm] at SERVER
[22:37:08] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tutorial Mod
[22:37:08] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 149503204 nanos
[22:37:08] [main/INFO] [FML]: Processing ObjectHolder annotations
[22:37:08] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[22:37:08] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[22:37:08] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[22:37:08] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:37:08] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[22:37:08] [main/INFO] [FML]: Applying holder lookups
[22:37:08] [main/INFO] [FML]: Holder lookups applied
[22:37:08] [main/INFO] [FML]: Applying holder lookups
[22:37:08] [main/INFO] [FML]: Holder lookups applied
[22:37:08] [main/INFO] [FML]: Applying holder lookups
[22:37:08] [main/INFO] [FML]: Holder lookups applied
[22:37:08] [main/INFO] [FML]: Applying holder lookups
[22:37:08] [main/INFO] [FML]: Holder lookups applied
[22:37:08] [main/INFO] [FML]: Injecting itemstacks
[22:37:08] [main/INFO] [FML]: Itemstack injection complete
[22:37:08] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[22:37:11] [Sound Library Loader/INFO]: Starting up SoundSystem...
[22:37:11] [Thread-5/INFO]: Initializing LWJGL OpenAL
[22:37:11] [Thread-5/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[22:37:11] [Thread-5/INFO]: OpenAL initialized.
[22:37:11] [Sound Library Loader/INFO]: Sound engine started
[22:37:16] [main/INFO] [FML]: Max texture size: 16384
[22:37:16] [main/INFO]: Created: 512x512 textures-atlas
[22:37:18] [main/INFO] [FML]: Applying holder lookups
[22:37:18] [main/INFO] [FML]: Holder lookups applied
[22:37:18] [main/INFO] [FML]: Injecting itemstacks
[22:37:18] [main/INFO] [FML]: Itemstack injection complete
[22:37:18] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[22:37:18] [main/WARN]: Skipping bad option: lastServer:
[22:37:18] [main/INFO]: Narrator library for x64 successfully loaded
[22:37:19] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[22:37:39] [Server thread/INFO]: Starting integrated minecraft server version 1.12.2
[22:37:39] [Server thread/INFO]: Generating keypair
[22:37:39] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[22:37:39] [Server thread/INFO] [FML]: Applying holder lookups
[22:37:39] [Server thread/INFO] [FML]: Holder lookups applied
[22:37:39] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@75037f9e)
[22:37:40] [Server thread/INFO]: Loaded 488 advancements
[22:37:40] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@75037f9e)
[22:37:40] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@75037f9e)
[22:37:40] [Server thread/INFO]: Preparing start region for level 0
[22:37:41] [Server thread/INFO]: Preparing spawn area: 65%
[22:37:41] [Server thread/INFO]: Changing view distance to 12, from 10
[22:37:42] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[22:37:42] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[22:37:42] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : minecraft@1.12.2,FML@8.0.99.99,forge@14.23.2.2611,tm@0.0.1,mcp@9.42
[22:37:42] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[22:37:43] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[22:37:43] [Server thread/INFO]: Player507[local:E:f053e2bd] logged in with entity id 236 at (-198.30000001192093, 71.0, 208.7817504741262)
[22:37:43] [Server thread/INFO]: Player507 joined the game
[22:37:43] [Server thread/INFO]: Saving and pausing game...
[22:37:43] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[22:37:44] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[22:37:44] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[22:37:44] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@3a0a8f9c[id=4ac636a7-c339-3f88-8804-04d8e971bf80,name=Player507,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:3716) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:4154) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) [guava-21.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) [guava-21.0.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?]
at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3188) [Minecraft.class:?]
at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_151]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
[22:37:48] [Server thread/INFO]: Saving and pausing game...
[22:37:48] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[22:37:48] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[22:37:48] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[22:37:49] [Server thread/INFO]: Stopping server
[22:37:49] [Server thread/INFO]: Saving players
[22:37:49] [Server thread/INFO]: Player507 lost connection: Disconnected
[22:37:49] [Server thread/INFO]: Player507 left the game
[22:37:49] [Server thread/INFO]: Stopping singleplayer server as player logged out
[22:37:49] [Server thread/INFO]: Saving worlds
[22:37:49] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[22:37:49] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[22:37:49] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[22:37:49] [Server thread/INFO] [FML]: Unloading dimension 0
[22:37:49] [Server thread/INFO] [FML]: Unloading dimension -1
[22:37:49] [Server thread/INFO] [FML]: Unloading dimension 1
[22:37:49] [Server thread/INFO] [FML]: Applying holder lookups
[22:37:49] [Server thread/INFO] [FML]: Holder lookups applied
[22:37:51] [main/INFO]: Stopping!
[22:37:51] [main/INFO]: SoundSystem shutting down...
[22:37:52] [main/WARN]: Author: Paul Lamb, www.paulscode.com
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
I've been stuck on this all evening, if someone can point me in the right direction, I would appreciate it