I'm just trying to make my own crafting table, but it doesn't work.
When i right click it, it does not show a gui but randomly messes up my inventory.
The block and the itemblock both show a missing texture.
How can i fix the texture, show a crafting menu on right click and add special crafting recipes only craftable using my variant?
log
[11:10:02] [main/INFO] [GradleStart]: Extra: []
[11:10:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/gdavid/.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]
[11:10:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[11:10:02] [main/INFO] [FML]: Forge Mod Loader version 14.23.1.2555 for Minecraft 1.12.2 loading
[11:10:02] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Mac OS X:x86_64:10.13.3, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre
[11:10:02] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[11:10:02] [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
[11:10:02] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[11:10:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[11:10:02] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[11:10:02] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[11:10:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:10:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:10:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[11:10:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:10:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:10:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[11:10:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:10:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:10:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[11:10:04] [main/INFO]: Setting user: Player511
[11:10:07] [main/WARN]: Skipping bad option: lastServer:
[11:10:07] [main/INFO]: LWJGL Version: 2.9.2
[11:10:08] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Mac OS X (x86_64) version 10.13.3
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 296241160 bytes (282 MB) / 590348288 bytes (563 MB) up to 1908932608 bytes (1820 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '2.1 ATI-1.60.26' Renderer: 'AMD Radeon Pro 555 OpenGL Engine'
[11:10:08] [main/INFO] [FML]: MinecraftForge v14.23.1.2555 Initialized
[11:10:08] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[11:10:08] [main/INFO] [FML]: Replaced 1036 ore ingredients
[11:10:08] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[11:10:08] [main/INFO] [FML]: Searching /Users/gdavid/Documents/eclipse-workspace/mod/run/mods for mods
[11:10:09] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[11:10:09] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, runicraft] at CLIENT
[11:10:09] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, runicraft] at SERVER
[11:10:10] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Runicrft
[11:10:10] [main/INFO] [FML]: Processing ObjectHolder annotations
[11:10:10] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[11:10:10] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[11:10:10] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[11:10:10] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[11:10:10] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[11:10:10] [main/INFO] [FML]: Applying holder lookups
[11:10:10] [main/INFO] [FML]: Holder lookups applied
[11:10:10] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 85215220 nanos
[11:10:10] [main/INFO] [FML]: Applying holder lookups
[11:10:10] [main/INFO] [FML]: Holder lookups applied
[11:10:10] [main/INFO] [FML]: Applying holder lookups
[11:10:10] [main/INFO] [FML]: Holder lookups applied
[11:10:10] [main/INFO] [FML]: Applying holder lookups
[11:10:10] [main/INFO] [FML]: Holder lookups applied
[11:10:10] [main/INFO] [FML]: Injecting itemstacks
[11:10:10] [main/INFO] [FML]: Itemstack injection complete
[11:10:10] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: OUTDATED Target: 14.23.2.2611
[11:10:11] [Sound Library Loader/INFO]: Starting up SoundSystem...
[11:10:12] [Thread-4/INFO]: Initializing LWJGL OpenAL
[11:10:12] [Thread-4/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[11:10:12] [Thread-4/INFO]: OpenAL initialized.
[11:10:12] [Sound Library Loader/INFO]: Sound engine started
[11:10:14] [main/INFO] [FML]: Max texture size: 16384
[11:10:15] [main/INFO]: Created: 512x512 textures-atlas
[11:10:15] [main/ERROR] [FML]: Exception loading model for variant runicraft:tile.ancient_crafting_table#normal for blockstate "runicraft:tile.ancient_crafting_table"
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model runicraft:tile.ancient_crafting_table#normal with loader VariantLoader.INSTANCE, skipping
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:233) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:221) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421) [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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?]
at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1169) ~[ModelLoader$VariantLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 21 more
[11:10:15] [main/ERROR] [FML]: Exception loading blockstate for the variant runicraft:tile.ancient_crafting_table#normal:
java.lang.Exception: Could not load model definition for variant runicraft:tile.ancient_crafting_table
at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:266) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:121) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:221) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421) [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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model runicraft:blockstates/tile.ancient_crafting_table.json
at net.minecraft.client.renderer.block.model.ModelBakery.loadMultipartMBD(ModelBakery.java:228) ~[ModelBakery.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:208) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:262) ~[ModelLoader.class:?]
... 20 more
Caused by: java.io.FileNotFoundException: runicraft:blockstates/tile.ancient_crafting_table.json
at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:104) ~[FallbackResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:79) ~[SimpleReloadableResourceManager.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadMultipartMBD(ModelBakery.java:221) ~[ModelBakery.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:208) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:262) ~[ModelLoader.class:?]
... 20 more
[11:10:15] [main/ERROR] [FML]: Exception loading model for variant runicraft:tile.ancient_crafting_table#inventory for item "runicraft:tile.ancient_crafting_table", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model runicraft:item/tile.ancient_crafting_table with loader VanillaLoader.INSTANCE, skipping
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:297) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:160) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421) [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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.io.FileNotFoundException: runicraft:models/item/tile.ancient_crafting_table.json
at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:69) ~[FallbackResourceManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:334) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.access$1600(ModelLoader.java:126) ~[ModelLoader.class:?]
at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:860) ~[ModelLoader$VanillaLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 20 more
[11:10:15] [main/ERROR] [FML]: Exception loading model for variant runicraft:tile.ancient_crafting_table#inventory for item "runicraft:tile.ancient_crafting_table", blockstate location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model runicraft:tile.ancient_crafting_table#inventory with loader VariantLoader.INSTANCE, skipping
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?]
at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:305) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?]
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:160) ~[ModelLoader.class:?]
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421) [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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?]
at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1169) ~[ModelLoader$VariantLoader.class:?]
at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?]
... 20 more
[11:10:16] [main/INFO] [FML]: Applying holder lookups
[11:10:16] [main/INFO] [FML]: Holder lookups applied
[11:10:16] [main/INFO] [FML]: Injecting itemstacks
[11:10:16] [main/INFO] [FML]: Itemstack injection complete
[11:10:16] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[11:10:16] [main/WARN]: Skipping bad option: lastServer:
[11:10:19] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[11:10:26] [Server thread/INFO]: Starting integrated minecraft server version 1.12.2
[11:10:26] [Server thread/INFO]: Generating keypair
[11:10:26] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[11:10:26] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world runicraft:tile.runicraft.ancient_crafting_table
[11:10:26] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world techstuff:tile.techstuff.copperwire
[11:10:27] [Server thread/INFO] [FML]: Applying holder lookups
[11:10:27] [Server thread/INFO] [FML]: Holder lookups applied
[11:10:27] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@69ca6747)
[11:10:27] [Server thread/INFO]: Loaded 488 advancements
[11:10:27] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@69ca6747)
[11:10:27] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@69ca6747)
[11:10:27] [Server thread/INFO]: Preparing start region for level 0
[11:10:28] [Server thread/INFO]: Preparing spawn area: 58%
[11:10:29] [Server thread/INFO]: Changing view distance to 12, from 10
[11:10:30] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[11:10:30] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[11:10:30] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
[11:10:30] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[11:10:30] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[11:10:30] [Server thread/INFO]: Player511[local:E:0c3305ae] logged in with entity id 163 at (160.5744769546188, 70.0, 80.45783822314911)
[11:10:30] [Server thread/INFO]: Player511 joined the game
[11:10:31] [Server thread/INFO]: Saving and pausing game...
[11:10:31] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[11:10:31] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[11:10:31] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[11:10:31] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@9592fc0[id=65bbb57e-3c62-37e7-8694-9fa7354b2d85,name=Player511,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:3190) [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_101]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
[11:10:34] [Server thread/INFO]: Saving and pausing game...
[11:10:34] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[11:10:34] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[11:10:34] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[11:10:36] [main/INFO]: Stopping!
[11:10:36] [Server thread/INFO]: Stopping server
[11:10:36] [Server thread/INFO]: Saving players
[11:10:36] [Server thread/INFO]: Saving worlds
[11:10:36] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[11:10:36] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[11:10:36] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[11:10:36] [Server thread/INFO] [FML]: Unloading dimension 0
[11:10:36] [Server thread/INFO] [FML]: Unloading dimension -1
[11:10:36] [Server thread/INFO] [FML]: Unloading dimension 1
[11:10:36] [Server thread/INFO] [FML]: Applying holder lookups
[11:10:36] [Server thread/INFO] [FML]: Holder lookups applied
[11:10:36] [main/INFO]: SoundSystem shutting down...
[11:10:36] [main/WARN]: Author: Paul Lamb, www.paulscode.com
AL lib: (WW) FreeDevice: (0x7f9256959600) Deleting 3 Buffer(s)
Runicraft.java
package gdavid.runicraft;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
@Mod(modid = "runicraft", name = "Runicraft", version = "1.0.0")
@EventBusSubscriber
public class Runicraft {
public static final String modID = "runicraft";
public static BlockAncientWorkbench blockAncientWorkbench = new BlockAncientWorkbench();
public static ItemBlock ancientWorkbench = new ItemBlock(blockAncientWorkbench);
static {
ancientWorkbench.setCreativeTab(blockAncientWorkbench.getCreativeTabToDisplayOn());
ancientWorkbench.setUnlocalizedName(blockAncientWorkbench.getUnlocalizedName());
ancientWorkbench.setRegistryName(modID, blockAncientWorkbench.getUnlocalizedName());
}
@SubscribeEvent
public static void registerBlocks(RegistryEvent.Register<Block> event) {
event.getRegistry().registerAll(blockAncientWorkbench);
}
@SubscribeEvent
public static void registerItems(RegistryEvent.Register<Item> event) {
event.getRegistry().registerAll(ancientWorkbench);
}
}
BlockAncientWorkbench.java
package gdavid.runicraft;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.ContainerWorkbench;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentTranslation;
import net.minecraft.world.IInteractionObject;
import net.minecraft.world.World;
public class BlockAncientWorkbench extends Block
{
protected BlockAncientWorkbench()
{
super(Material.WOOD);
this.setCreativeTab(CreativeTabs.DECORATIONS);
this.setUnlocalizedName("ancient_crafting_table");
this.setRegistryName(Runicraft.modID, this.getUnlocalizedName());
}
/**
* Called when the block is right clicked by a player.
*/
public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ)
{
if (worldIn.isRemote)
{
return true;
}
else
{
playerIn.displayGui(new InterfaceAncientCraftingTable(worldIn, pos));
return true;
}
}
public static class InterfaceAncientCraftingTable implements IInteractionObject
{
private final World world;
private final BlockPos position;
public InterfaceAncientCraftingTable(World worldIn, BlockPos pos)
{
this.world = worldIn;
this.position = pos;
}
/**
* Get the name of this object. For players this returns their username
*/
public String getName()
{
return "ancient_crafting_table";
}
/**
* Returns true if this thing is named
*/
public boolean hasCustomName()
{
return false;
}
/**
* Get the formatted ChatComponent that will be used for the sender's username in chat
*/
public ITextComponent getDisplayName()
{
return new TextComponentTranslation(Runicraft.blockAncientWorkbench.getUnlocalizedName() + ".name", new Object[0]);
}
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerWorkbench(playerInventory, this.world, this.position);
}
public String getGuiID()
{
return Runicraft.blockAncientWorkbench.getUnlocalizedName();
}
}
}
ancient_crafting_table.json (in src/main/resources/assets/runicraft/blockstates)
I'm just trying to make my own crafting table, but it doesn't work.
When i right click it, it does not show a gui but randomly messes up my inventory.
The block and the itemblock both show a missing texture.
How can i fix the texture, show a crafting menu on right click and add special crafting recipes only craftable using my variant?
log
Runicraft.java
BlockAncientWorkbench.java
ancient_crafting_table.json (in src/main/resources/assets/runicraft/blockstates)
ancient_crafting_table.json (in src/main/resources/assets/runicraft/models/block)
All the textures are in src/main/resources/assets/runicraft/textures/blocks