Jump to content

Recommended Posts

Posted

My block texture is only shown when placed on the ground, but in my hand it stays purple.

 

package explorer: http://prntscr.com/dwy3zt

 

Mainclass:

package com.ramtin.mod;

 

import com.ramtin.mod.init.ModBlocks;

import com.ramtin.mod.init.ModItems;

import com.ramtin.mod.proxy.CommonProxy;

 

import net.minecraftforge.fml.common.Mod;

import net.minecraftforge.fml.common.Mod.EventHandler;

import net.minecraftforge.fml.common.Mod.Instance;

import net.minecraftforge.fml.common.SidedProxy;

import net.minecraftforge.fml.common.event.FMLInitializationEvent;

import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;

import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

 

 

@Mod(modid = Reference.MOD_ID, name = Reference.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS)

public class Mainclass {

 

@Instance

public static Mainclass instance;

 

 

@SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)

public static CommonProxy proxy;

 

 

@EventHandler

public void preInit(FMLPreInitializationEvent event){

System.out.println("Pre Init");

 

ModItems.init();

ModItems.register();

 

ModBlocks.init();

ModBlocks.register();

 

}

 

@EventHandler

public void init(FMLInitializationEvent event){

System.out.println("Init");

proxy.init();

}

 

@EventHandler

public void postInit(FMLPostInitializationEvent event){

System.out.println("Post Init");

 

}

 

}

 

 

BlockSchwarzpulver:

package com.ramtin.mod.blocks;

 

import com.ramtin.mod.Reference;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

 

public class BlockSchwarzpulver extends Block {

 

public BlockSchwarzpulver() {

super(Material.SAND);

 

setUnlocalizedName(Reference.MainclassBlocks.SCHWARZPULVER.getUnlocalizedName());

setRegistryName(Reference.MainclassBlocks.SCHWARZPULVER.getRegistryName());

 

 

}

 

}

 

 

 

ModBlocks:

package com.ramtin.mod.init;

 

import com.ramtin.mod.blocks.BlockSchwarzpulver;

 

import net.minecraft.block.Block;

import net.minecraft.client.Minecraft;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;

import net.minecraft.item.Item;

import net.minecraft.item.ItemBlock;

import net.minecraftforge.fml.common.registry.GameRegistry;

 

public class ModBlocks {

 

public static Block schwarzpulver;

 

public static void init(){

schwarzpulver = new BlockSchwarzpulver();

}

 

public static void register(){

registerBlock(schwarzpulver);

}

 

private static void registerBlock(Block block){

GameRegistry.register(block);

ItemBlock item = new ItemBlock(block);

item.setRegistryName(block.getRegistryName());

GameRegistry.register(item);

 

}

 

public static void registerRenders(){

registerRender(schwarzpulver);

}

 

private static void registerRender(Block block){

Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory"));

}

 

 

}

 

 

Reference:

package com.ramtin.mod;

 

public class Reference {

 

public static final String MOD_ID = "cyc";

public static final String NAME = "Ramtin´s Mod!";

public static final String VERSION = "alpha";

public static final String ACCEPTED_VERSIONS = "1.9.4";

 

public static final String CLIENT_PROXY_CLASS = "com.ramtin.mod.proxy.ClientProxy";

public static final String SERVER_PROXY_CLASS = "com.ramtin.mod.proxy.ServerProxy";

 

public static enum MainclassItems {

SCHWEFEL("schwefel", "ItemSchwefel"),

KALIUMNITRAD("kaliumnitrad", "ItemKaliumnitrad"),

HOLZKOHLE("holzkohle", "ItemHolzkohle");

 

 

private String unlocalizedName;

private String registryName;

 

 

MainclassItems(String unlocalizedName, String registryName) {

this.unlocalizedName = unlocalizedName;

this.registryName = registryName;

}

 

public String getUnlocalizedName() {

return unlocalizedName;

}

 

public String getRegistryName() {

return registryName;

}

}

 

public static enum MainclassBlocks {

SCHWARZPULVER("schwarzpulver", "BlockSchwarzpulver");

 

private String unlocalizedName;

private String registryName;

 

 

MainclassBlocks(String unlocalizedName, String registryName) {

this.unlocalizedName = unlocalizedName;

this.registryName = registryName;

}

 

public String getUnlocalizedName() {

return unlocalizedName;

}

 

public String getRegistryName() {

return registryName;

}

 

}

}

 

 

 

ClientProxy:

 

 

 

package com.ramtin.mod.proxy;

 

import com.ramtin.mod.init.ModBlocks;

import com.ramtin.mod.init.ModItems;

 

public class ClientProxy implements CommonProxy{

 

@Override

public void init() {

ModItems.registerRenders();

ModBlocks.registerRenders();

}

 

 

 

}

 

 

 

Console Error:

 

 

2017-01-17 22:43:40,704 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream

2017-01-17 22:43:40,706 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream

[22:43:40] [main/INFO] [GradleStart]: Extra: []

[22:43:40] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Ramtin/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --accessToken{REDACTED}, --version, 1.9.4, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[22:43:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[22:43:40] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[22:43:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[22:43:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker

[22:43:40] [main/INFO] [FML]: Forge Mod Loader version 12.17.0.1960 for Minecraft 1.9.4 loading

[22:43:40] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_111, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_111\jre

[22:43:40] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[22:43:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[22:43:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[22:43:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[22:43:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:43:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[22:43:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[22:43:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:43:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:43:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:43:41] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[22:43:42] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[22:43:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:43:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[22:43:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[22:43:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[22:43:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[22:43:44] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

2017-01-17 22:43:44,831 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream

2017-01-17 22:43:44,868 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream

2017-01-17 22:43:44,871 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream

[22:43:45] [Client thread/INFO]: Setting user: Player14

[22:43:50] [Client thread/INFO]: LWJGL Version: 2.9.4

[22:43:53] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:202]: ---- Minecraft Crash Report ----

// You're mean.

 

Time: 17.01.17 22:43

Description: Loading screen debug info

 

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.9.4

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_111, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 806971904 bytes (769 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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 353.82' Renderer: 'GeForce GTX 750 Ti/PCIe/SSE2'

[22:43:53] [Client thread/INFO] [FML]: MinecraftForge v12.17.0.1960 Initialized

[22:43:53] [Client thread/INFO] [FML]: Replaced 232 ore recipes

[22:43:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[22:43:54] [Client thread/INFO] [FML]: Searching C:\Users\Ramtin\Desktop\Modding\run\mods for mods

[22:43:56] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[22:43:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, cyc] at CLIENT

[22:43:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, cyc] at SERVER

[22:43:57] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Ramtin´s Mod!

[22:43:57] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[22:43:58] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations

[22:43:58] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[22:43:58] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[22:43:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[22:43:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json

[22:43:58] [Client thread/INFO] [sTDOUT]: [com.ramtin.mod.Mainclass:preInit:29]: Pre Init

[22:43:58] [Client thread/INFO] [FML]: Applying holder lookups

[22:43:58] [Client thread/INFO] [FML]: Holder lookups applied

[22:43:58] [Client thread/INFO] [FML]: Injecting itemstacks

[22:43:58] [Client thread/INFO] [FML]: Itemstack injection complete

[22:43:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: OUTDATED Target: 12.17.0.1976

[22:44:03] [sound Library Loader/INFO]: Starting up SoundSystem...

[22:44:03] [Thread-8/INFO]: Initializing LWJGL OpenAL

[22:44:03] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:44:04] [Thread-8/INFO]: OpenAL initialized.

[22:44:04] [sound Library Loader/INFO]: Sound engine started

[22:44:08] [Client thread/INFO] [FML]: Max texture size: 16384

[22:44:08] [Client thread/INFO]: Created: 16x16 textures-atlas

[22:44:10] [Client thread/ERROR] [FML]: Exception loading model for variant cyc:BlockSchwarzpulver#inventory for item "cyc:BlockSchwarzpulver", normal location exception:

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model cyc:item/BlockSchwarzpulver with loader VanillaLoader.INSTANCE, skipping

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]

at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) ~[ModelLoader.class:?]

at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]

at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[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.startGame(Minecraft.java:538) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

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_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

at GradleStart.main(GradleStart.java:26) [start/:?]

Caused by: java.io.FileNotFoundException: cyc:models/item/BlockSchwarzpulver.json

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[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:311) ~[ModelBakery.class:?]

at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?]

at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:849) ~[ModelLoader$VanillaLoader.class:?]

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]

... 20 more

[22:44:10] [Client thread/ERROR] [FML]: Exception loading model for variant cyc:BlockSchwarzpulver#inventory for item "cyc:BlockSchwarzpulver", blockstate location exception:

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model cyc:BlockSchwarzpulver#inventory with loader VariantLoader.INSTANCE, skipping

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]

at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:306) ~[ModelLoader.class:?]

at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]

at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[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.startGame(Minecraft.java:538) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

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_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

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:78) ~[ModelBlockDefinition.class:?]

at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1164) ~[ModelLoader$VariantLoader.class:?]

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]

... 20 more

[22:44:11] [Client thread/INFO] [sTDOUT]: [com.ramtin.mod.Mainclass:init:41]: Init

[22:44:11] [Client thread/INFO] [FML]: Injecting itemstacks

[22:44:11] [Client thread/INFO] [FML]: Itemstack injection complete

[22:44:11] [Client thread/INFO] [sTDOUT]: [com.ramtin.mod.Mainclass:postInit:47]: Post Init

[22:44:11] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[22:44:11] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Ramtin´s Mod!

[22:44:14] [Client thread/INFO]: SoundSystem shutting down...

[22:44:14] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[22:44:14] [sound Library Loader/INFO]: Starting up SoundSystem...

[22:44:14] [Thread-10/INFO]: Initializing LWJGL OpenAL

[22:44:14] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:44:14] [Thread-10/INFO]: OpenAL initialized.

[22:44:14] [sound Library Loader/INFO]: Sound engine started

[22:44:18] [Client thread/INFO] [FML]: Max texture size: 16384

[22:44:18] [Client thread/INFO]: Created: 1024x512 textures-atlas

[22:44:19] [Client thread/ERROR] [FML]: Exception loading model for variant cyc:BlockSchwarzpulver#inventory for item "cyc:BlockSchwarzpulver", normal location exception:

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model cyc:item/BlockSchwarzpulver with loader VanillaLoader.INSTANCE, skipping

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]

at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) ~[ModelLoader.class:?]

at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]

at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[ModelLoader.class:?]

at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:131) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:112) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:797) [Minecraft.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:559) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

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_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

at GradleStart.main(GradleStart.java:26) [start/:?]

Caused by: java.io.FileNotFoundException: cyc:models/item/BlockSchwarzpulver.json

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[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:311) ~[ModelBakery.class:?]

at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?]

at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:849) ~[ModelLoader$VanillaLoader.class:?]

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]

... 23 more

[22:44:19] [Client thread/ERROR] [FML]: Exception loading model for variant cyc:BlockSchwarzpulver#inventory for item "cyc:BlockSchwarzpulver", blockstate location exception:

net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model cyc:BlockSchwarzpulver#inventory with loader VariantLoader.INSTANCE, skipping

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]

at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:306) ~[ModelLoader.class:?]

at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]

at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[ModelLoader.class:?]

at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:131) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:112) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:797) [Minecraft.class:?]

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:559) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

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_111]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]

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:78) ~[ModelBlockDefinition.class:?]

at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1164) ~[ModelLoader$VariantLoader.class:?]

at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]

... 23 more

[22:44:21] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

[22:44:30] [server thread/INFO]: Starting integrated minecraft server version 1.9.4

[22:44:30] [server thread/INFO]: Generating keypair

[22:44:30] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[22:44:30] [server thread/INFO] [FML]: Found a missing id from the world cyc:BlockSchwefel

[22:44:30] [server thread/INFO] [FML]: Applying holder lookups

[22:44:30] [server thread/INFO] [FML]: Holder lookups applied

[22:44:30] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@6d47f41f)

[22:44:31] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@6d47f41f)

[22:44:31] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@6d47f41f)

[22:44:31] [server thread/INFO]: Preparing start region for level 0

[22:44:32] [server thread/INFO]: Preparing spawn area: 11%

[22:44:33] [server thread/INFO]: Preparing spawn area: 93%

[22:44:33] [server thread/INFO]: Changing view distance to 12, from 10

[22:44:35] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2

[22:44:35] [Netty Server IO #1/INFO] [FML]: Client protocol version 2

[22:44:35] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],cyc@alpha

[22:44:35] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established

[22:44:35] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[22:44:35] [server thread/INFO]: Player14[local:E:286d0ea6] logged in with entity id 123 at (-11.721891920156935, 71.11650136792812, 26.702042708348714)

[22:44:35] [server thread/INFO]: Player14 joined the game

[22:44:36] [server thread/INFO]: Saving and pausing game...

[22:44:36] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:44:36] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:44:36] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:44:37] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@64c1d4b5[id=9a9311e6-0e2a-3db9-849c-c74b23116910,name=Player14,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:65) ~[YggdrasilAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [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:165) [YggdrasilMinecraftSessionService.class:?]

at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3043) [Minecraft.class:?]

at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [skinManager$3.class:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]

[22:44:39] [server thread/INFO]: Saving and pausing game...

[22:44:39] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:44:39] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:44:39] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:44:41] [server thread/INFO]: Stopping server

[22:44:41] [server thread/INFO]: Saving players

[22:44:41] [server thread/INFO]: Saving worlds

[22:44:41] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:44:41] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:44:41] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:44:41] [server thread/INFO] [FML]: Unloading dimension 0

[22:44:41] [server thread/INFO] [FML]: Unloading dimension -1

[22:44:41] [server thread/INFO] [FML]: Unloading dimension 1

[22:44:42] [server thread/INFO] [FML]: Applying holder lookups

[22:44:42] [server thread/INFO] [FML]: Holder lookups applied

 

 

 

Json files:

 

BlockSchwarzpulver:

{

    "variants": {

        "normal": { "model": "cyc:schwarzpulver" }

    }

}

 

BlockSchwarzpulver:

 

{

    "parent": "block/cube_all",

    "textures": {

        "all": "cyc:block/schwarzpulver"

    }

}

 

schwarzpulver:

 

{

    "parent": "block/cube_all",

    "textures": {

        "all": "cyc:blocks/schwarzpulver"

    }

}

 

Posted

BlockSchwarzpulver:

 

{

    "parent": "block/cube_all",

    "textures": {

        "all": "cyc:block/schwarzpulver"

    }

}

 

forgot the 's'

 

i fixed it thanks but the same problem persists

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Oh I forgot to update the title. I figured out the issue and I'm rather embarrassed to say that it was a file path issue. The game already knew I was accessing the achievements so I wasn't suppose to include advancements in the file path. Minecraft file paths have always confused me a little bit... ResourceLocation advancementId = new ResourceLocation( TheDeadRise.MODID,"adventure/spawntrigger");
    • Can someone help my with this? My forge server won't open and I'm not that good with this stuff. It gave me this error message:   C:\Users\apbeu\Desktop\Forge server>java -Xmx4G -Xms1G -jar server.jar nogui 2024-12-11 18:21:01,054 main WARN Advanced terminal features are not available in this environment [18:21:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.34, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [18:21:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 21.0.4 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x402e37bc) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x402e37bc         at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45)         at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)         at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:45)         at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)         at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)         at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)         at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)         at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)         at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)         at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)         at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) C:\Users\apbeu\Desktop\Forge server>pause
    • Here is the url for the crash report if anyone can help me, please. https://mclo.gs/KGn5LWy  
    • Every single time I try and open my modpack it crashes before the game fully opens and I don't know what is wrong. I open the crash logs but I don't understand what any of it means. What do I do?
    • Hey, sorry I haven't said anything in a while. I was banned on here for sending you straight up crash logs and they banned me for spam... but I learned that these forums are for forge only and I was working with neoforge... but thank you for all the help.
  • Topics

×
×
  • Create New...

Important Information

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