Hey Guys i just wanted to add a Ghost in Minecraft that i can speak with him but he not, but only that he can listen to me no speaking, just me.
And i wanted to add the ghost that he makes some scary thinks for example sounds, blocks lifting, he have to bevae like a Person. I want to communicate with the ghost he should be invisible of course.
#Adding Ghost in Minecraft.
192 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @ripe kelp! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
And i got some problems to
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use/help ping.
Warning: abusing this will result in moderative actions taken against you.
it says its a generated file so just run gradle clean
and install it again
How can i install it again?
in terminal ./gradlew clean build
or with the gradle icon on the right clean and build
is it on the right tabel?
yes
Looking at that screenshot, I can see you have a build.gradle.txt file. Why does that file have the .txt extension?
I changed
now
It seems like you are missing dependencies and dependencies need the project to be correctly set up. I assume you imported as a normal Java project and not as a Gradle project
Now make sure to import it as a Gradle project.
Yes
And i got this to
I need to download the latest java right?
You are already using the latest Java version (25) but the Gradle version is too low to support that Java version
Oh
Can i fix it or not anymore?
Can you click on the "Open Gradle settings" button and change the Gradle version there?
Of course
What options do you have in that dialog?
I clicked it nothing happend
Can you open the hamburger menu on the top right? Is there some settings option or similar?
You mean database right?
Oh okay
or that settings icon in the Gradle tab would be even better if it works
Wait
Here
Yes of course
Distribution is what Gradle installation you are using/where you get it
so that should hopefully allow you to set the Gradle version
Try "Local Installation"
Yes
Does it allow picking a version to install?
i chosed the local installation now i have to find the build.gradle
to paste this inside the tabel
oh ok then you have these possibilities:
- You create a Gradle wrapper configuration file that tells IntelliJ the Gradle version to use
- You download the correct Gradle version manually and specify the path to it in that box
- You use a Java version that isn't the latest one
Java is easier
Or what would you take?
If you want to use JDK 25, one of the first two. I think the first one might be easier
Oh okay
but all should be fine and not too difficult
Then i have to take wrapper task to paste that file right?
But where in which folder should i create this file?
no, I think you can go back to the "Wrapper" option
you create a gradle/wrapper folder in your project with a gradle-wrapper.properties file
That file would look similar to the following:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
like so?
a folder named gradle with a subfolder named wrapper
not a folder named gradlewrapper
But the file is correct.
Hopefully
There we go
Can you show the file to me in IntelliJ?
I think if you put that in the file, it should work
make sure to reload the Gradle project
It says this
Oh wait
Actually you might be in the wrong Desktop folder
No wait here
Can you show your gradle-wrapper.properties?
Yeah
I meant opening the file in IntelliJ
Oh okay
You mean so?
Wait
wrong
There we go
you need to actually put the content i that file
that thing
also do you know how to make mods for minecraft
cuz like
ur gonna need to add it as a mod i think
for that ghost to work
Yeah... i am a beginner thats why sorry
yes
you should probably follow a tutorial on how to make mods for minecraft then
or read some docs about it
after you get this to work
Yeah
Now i can run it
You mean reload from disk right?
Okay perfect
What happened whe doing it?
I dont know, maybe minecraft will be opend
What?
I asked what happened when reloading the project/what you saw on your screen
Were there any errors like that one?
No Errors
ok then try running the program
But i want it to try in minecraft is there a way how i can open?
I don't know how mods are packaged in Minecraft
look up tutorials on Minecraft modding for that
I can't tell you how that works
maybe your build.gradle has some task for it, idk
Yeah
It should be tasks
then check the tasks there and run whatever task is appropriate
Where are those tasks?
They should be declared in the build.gradle file
maybe you can also expand the "other" menu there
it was in help
ok
Your build is currently configured to use incompatible Java 25.0.1. Cannot sync the project.
Now it says to me this sentence.
I installed the jvm 25
Can you show the full error?
Yeah wait
ideally the full log and not just the error
No
Can you show the Gradle settings?
.
Are you using the latest IntelliJ version?
Yeah
Wait a minute
I know why it wont work
it seems to be an IntelliJ issue
GitHub
Current Behavior My IDE is Intellij Idea 2025.2.2, and the JDK is https://download.bell-sw.com/java/25+37/bellsoft-jdk25+37-windows-amd64-full.zip When open the project: I use gradle plugin: id(&qu...
Because i just substituted, i download the forge 1.10.2 MDK.
Can you show your gradle.properties again?
Yeah wait
No problem
I meant the file content
Here
Which one then
The Minecraft version you are trying to use supports Java 25, right?
The version 1.10.2
I think no
you can replace the distribution URL with https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip to upgrade Gradle
but if Minecraft doesn't work with JDK 25, that wouldn't help much
you could also just switch to a different Java version
Would be possible to yeah
Oh
I got a problem again.......
.
I think that Gradle project/template is no longer functional
Maybe you should use a newer one
Where can i download a new one?
Maybe just use the one corresponding to the latest Minecraft version?
I have no idea
I don't work on Minecraft mods
It is working with the version 1.16.2?
No problem
Then i have to download the minecraft 1.21.11
Thats the latest one
I fixed the problem
I deleted all codes from build.gradle
I can't tell you
Good to hear that. Does that mean you can run your code now?
The problem was that I replaced that 1.10.2 MDK and there were all those stuff in the zip that replaced my folder
I can run it, but one more thing is missing and that’s the forgegradle.