Jump to content

Recommended Posts

Posted
5 minutes ago, CyberNinja979 said:

whioch part of the debug log its 1600 lines

 

The entire log.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

Posted

if you search the block in your run output in your ide, you should be able to found some yellow text that says "exception loading something", or just upload a repo on github or something.

Posted

i also found the yellow text 

 

[11:09:13] [Forge Version Check/WARN] [ne.mi.fm.VersionChecker/]: Failed to process update information
java.io.IOException: Server returned HTTP response code: 400 for URL: http://myurl.me/
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_251] {}
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_251] {}
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_251] {}
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_251] {}
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950) ~[?:1.8.0_251] {}
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945) ~[?:1.8.0_251] {}
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251] {}
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944) ~[?:1.8.0_251] {}
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514) ~[?:1.8.0_251] {}
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_251] {}
    at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:189) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:206) ~[?:?] {re:classloading}
    at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_251] {}
    at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:157) [?:?] {re:classloading}
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://myurl.me/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900) ~[?:1.8.0_251] {}
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_251] {}
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_251] {}
    at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:173) ~[?:?] {re:classloading}
    ... 3 more
[11:09:15] [Server-Worker-4/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: ponitemod:blockstates/ponite_block.json: java.io.FileNotFoundException: ponitemod:blockstates/ponite_block.json
[11:09:15] [Server-Worker-4/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'ponitemod:blockstates/ponite_block.json' missing model for variant: 'ponitemod:ponite_block#'

Posted
2 minutes ago, CyberNinja979 said:

[11:09:15] [Server-Worker-4/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: ponitemod:blockstates/ponite_block.json: java.io.FileNotFoundException: ponitemod:blockstates/ponite_block.json

Is that the block that's not rendering? If so, that's the problem right there!

Posted

 

Exception loading blockstate definition: ponitemod:blockstates/ponite_block.json: java.io.FileNotFoundException: ponitemod:blockstates/ponite_block.json

check the spelling of your blockstate file, or create one

Posted
10 minutes ago, poopoodice said:

if you search the block in your run output in your ide, you should be able to found some yellow text that says "exception loading something", or just upload a repo on github or something.

I usually don't have people try to cherry pick their logs, if they're coming here and starting out with so little information right at the start, they really should post the whole thing, as it would be really easy for them to skip something useful. Just my opinion :)

  • Like 1
Posted
Just now, CyberNinja979 said:

yes thats the block but im not sure how to fix it

 

Well, look at the error.

 

2 minutes ago, Ugdhar said:

[11:09:15] [Server-Worker-4/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: ponitemod:blockstates/ponite_block.json: java.io.FileNotFoundException: ponitemod:blockstates/ponite_block.json

FileNotFound, which means it can't find the file. Does that file exist? If so, is it in the right place? If it looks like it is, post a screenshot of your project layout showing this file

Posted
Just now, Ugdhar said:

I usually don't have people try to cherry pick their logs, if they're coming here and starting out with so little information right at the start, they really should post the whole thing, as it would be really easy for them to skip something useful. Just my opinion :)

That's true, but (s)he mentioned that the item's fine, and the block's fine, it just sounds really straight forward that it's blockstate/model/texture problem, but you are right, posting the whole log is always a better idea.

Posted (edited)
3 minutes ago, CyberNinja979 said:

is the block states file supposed to be in the assets file or the file with the same name as my mod id in the assets file

 

assets/urmodid/blockstates/urblock.json

ponitemod:blockstates/ponite_block.json

 

Edited by poopoodice

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

    • What in particular? I barely used that mod this time around, and it's never been a problem in the past.
    • Im trying to build my mod using shade since i use the luaj library however i keep getting this error Reason: Task ':reobfJar' uses this output of task ':shadowJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. So i try adding reobfJar.dependsOn shadowJar  Could not get unknown property 'reobfJar' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. my gradle file plugins { id 'eclipse' id 'idea' id 'maven-publish' id 'net.minecraftforge.gradle' version '[6.0,6.2)' id 'com.github.johnrengelman.shadow' version '7.1.2' id 'org.spongepowered.mixin' version '0.7.+' } apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' apply plugin: 'com.github.johnrengelman.shadow' version = mod_version group = mod_group_id base { archivesName = mod_id } // Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. java.toolchain.languageVersion = JavaLanguageVersion.of(17) //jarJar.enable() println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}" minecraft { mappings channel: mapping_channel, version: mapping_version copyIdeResources = true runs { configureEach { workingDirectory project.file('run') property 'forge.logging.markers', 'REGISTRIES' property 'forge.logging.console.level', 'debug' arg "-mixin.config=derp.mixin.json" mods { "${mod_id}" { source sourceSets.main } } } client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id } server { property 'forge.enabledGameTestNamespaces', mod_id args '--nogui' } gameTestServer { property 'forge.enabledGameTestNamespaces', mod_id } data { workingDirectory project.file('run-data') args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') } } } sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { flatDir { dirs './libs' } maven { url = "https://jitpack.io" } } configurations { shade implementation.extendsFrom shade } dependencies { minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" implementation 'org.luaj:luaj-jse-3.0.2' implementation fg.deobf("com.github.Virtuoel:Pehkui:${pehkui_version}") annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' minecraftLibrary 'luaj:luaj-jse:3.0.2' shade 'luaj:luaj-jse:3.0.2' } // Example for how to get properties into the manifest for reading at runtime. tasks.named('jar', Jar).configure { manifest { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, 'Specification-Version' : '1', // We are version 1 of ourselves 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, 'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", "TweakOrder" : 0, "MixinConfigs" : "derp.mixin.json" ]) } rename 'mixin.refmap.json', 'derp.mixin-refmap.json' } shadowJar { archiveClassifier = '' configurations = [project.configurations.shade] finalizedBy 'reobfShadowJar' } assemble.dependsOn shadowJar reobf { re shadowJar {} } publishing { publications { mavenJava(MavenPublication) { artifact jar } } repositories { maven { url "file://${project.projectDir}/mcmodsrepo" } } }  
    • All versions of Minecraft Forge suddenly black screen even without mods (tried reinstalling original Minecraft, Java, updating drivers doesn't work)
  • Topics

×
×
  • Create New...

Important Information

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