Comments (13)
what minecraft and forge version are you using? are you running this through the IDE or with the launcher? did you reobfuscate the jar?
from panelstudio.
i used launcher to launch.
1.12.2, forge - 14.23.5.2854, jaba - amazon corretto 1.8.0_282.
reobfuscate? no I just compiled my project in intellij and used the jar file with the postmark "all"
from panelstudio.
can you send me your build.gradle
file
from panelstudio.
github dont support that file type
from panelstudio.
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'com.github.johnrengelman.shadow'
version = '228'
group = 'com.newcummer.cumhack'
archivesBaseName = 'cumhack'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
minecraft {
mappings channel: 'snapshot', version: '20171003-1.12'
runs {
client {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
}
server {
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
}
}
}
repositories {
maven {
name = 'lukflug'
url = 'https://lukflug.github.io/maven'
}
mavenCentral()
}
dependencies {
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2854'
}
dependencies {
compile('com.lukflug:panelstudio:0.1.8')
compile('com.lukflug:panelstudio-mc12:0.1.8')
}
shadowJar {
dependencies {
include(dependency('com.lukflug:panelstudio'))
include(dependency('com.lukflug:panelstudio-mc12'))
}
}
jar.finalizedBy('reobfJar')
build.dependsOn(shadowJar)
from panelstudio.
Try using the newer 20180814 mappings.
from panelstudio.
how
from panelstudio.
Replace this line:
mappings channel: 'snapshot', version: '20171003-1.12'
by this:
mappings channel: 'snapshot', version: '20180814-1.12'
from panelstudio.
holy cum! it did not help
from panelstudio.
Ok, it seems you reobfuscated your client code, but didn't reobfuscate the included PanelStudio classes. Idk exactly how to do this on ForgeGradle 3.x, but try replacing jar.finalizedBy('reobfJar')
, by:
reobf {
shadowJar {
mappingType = 'SEARGE'
classpath = sourceSets.main.compileClasspath
}
}
if that doesn't work add, in addtion to the code above:
sahdowJar.finalizedBy('reobfJar')
from panelstudio.
A problem occurred evaluating root project 'Cumhack'.
Could not set unknown property 'mappingType' for task ':reobfShadowJar' of type net.minecraftforge.gradle.userdev.tasks.RenameJarInPlace.
from panelstudio.
This build.gradle should work:
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
}
}
apply plugin: 'net.minecraftforge.gradle'
version = '228'
group = 'com.newcummer.cumhack'
archivesBaseName = 'cumhack'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
minecraft {
mappings channel: 'snapshot', version: '20180814-1.12'
runs {
client {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
}
server {
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
}
}
}
repositories {
maven {
name = 'lukflug'
url = 'https://lukflug.github.io/maven'
}
mavenCentral()
}
configurations {
embed
compile.extendsFrom(embed)
}
dependencies {
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2854'
embed('com.lukflug:panelstudio:0.1.8')
embed('com.lukflug:panelstudio-mc12:0.1.8')
}
jar {
from configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }
}
jar.finalizedBy('reobfJar')
from panelstudio.
HOLY SHIITTTTTT ITS STARTED!!! THANK YOU VERY MUCH
from panelstudio.
Related Issues (20)
- gui.enterGUI() gives an error. HOT 23
- gradle bad pls help (could not find method shadowJar()) HOT 2
- Hud elements only rendering while in clickgui or hudeditor HOT 10
- ClassNotFoundException when clickgui gets initialized HOT 26
- Game crashes when trying to load the mod(i added mixins so that might be the problem) HOT 12
- Update HOT 1
- I'm a panelSTUD
- crash game example code HOT 12
- Doesn't work on Mac HOT 44
- Non-draggable? (Feature request) HOT 1
- Tutorial HOT 1
- The "Creating a clickGUI" section of the wiki doesnt lead anywhere HOT 1
- Keybinds run while in chat/menus HOT 1
- Panelstudio HOT 1
- how to get a module HOT 2
- Can't register speed moudle to event bus when enabled and de register when un enabled HOT 2
- lukflug
- HUD rendering causes crash after loading the world HOT 13
- 1.16.5 Text is getting mad HOT 3
- [Important] Render Gui + MC Overlay issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panelstudio.