I Can build my mod. i just cant do certain things like run a test enviroment or register blocks. because of missing packages and such(notably eventbus)
Well first i downloaded the forge mdk. next i imported the project file into IDEA. next i modified build.gradle and gradle.properties to fit my needs. and everytime i want to make a build and run it i just type "gradlew build" into the IDEA terminal and copy the jar from ./libs to /mods , and i make sure to delete previous jar version inside /mods. anyways i think this could might be useful to you but their is no
net.minecraftforge.eventbus. package inside any of my _compileJava_# files
I am using the forge docs as info on how to register
and i am not sure what i am suppose to put in where it says block1,block2,... is just putting GledstoneWireGeneral okay?
C:\Users\Admin\Desktop\forge-1.15.2-31.1.0-mdk>gradlew build --stacktrace
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.1.0_mapped_snapshot_20200324-1.15.1
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge-1.15.2-31.1.0-mdk'.
> java.lang.NoSuchFieldException: modifiers
this is what my gradle.properties file says
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
(in intellij IDEA)i've tested out the "gradlew build" in non build areas and it worked fine. but when i did it in the project it told me "Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap". what gives?