>gradlew build
Picked up _JAVA_OPTIONS: -Xmx4096m
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3
> Task :reobfJar
Picked up _JAVA_OPTIONS: -Xmx4096m
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 17s
7 actionable tasks: 3 executed, 4 up-to-date
mmm.. now build successfully but when I put it on my mod folder minecraft freeze on load. I dont know why. It still using net.minecraftforge:forge:1.14.4-28.1.0
I've a project that uses Event Listeners, when I play on eclipse runs, but when I run on my console gradlew build, the build crash.
The errors are:
illegal character: '\u00bb'
illegal character: '\u00bf'
But what worries me is the version when I build should be to Forge 28.1.79 but is building to Forge 28.1.0 that I think that doesn't support Event Listeners.
Try overload the method "getRenderLayer" inherited from class Block
@Override
public BlockRenderLayer getRenderLayer() {
return BlockRenderLayer.CUTOUT;
}
That example is from minecraft files is not mine, and I already use modid:block/texture_name and it works.
Maybe if you change the file path you can give a custom name if you want, sincerely, I didn't try it.
I want load a custom obj file and I'm a bit lost.
First of all I want assert that my knowledge is right
assets->modid->blockstates has a json file which name match with a block id and specifies what model must show
assets->modid->models->block has a json file which match with a block id and specifies the elements and textures
I have read that obj files must be registered with "OBJLoader.addDomain" but it's from 1.12 version, eclipse doesn't find that class in the dependencies so I think that is despreciated.
Where should I save the obj file?
Must obj file has the same name of a block id?
Must I register the obj file? How?
eh? mods.toml is here https://github.com/Brbcode/TorchLever/tree/master/src/main/resources/META-INF
With "references examplemod" do you mean the default files when you generate a new project wih the forge mdk?