Is this command correct? If not, can you send it to me or tell me about it?plz
110 Replies
β
This post has been reserved for your question.
Hey @oussamacraftπ! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
ok
it looks good from what I see
but
whaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat
?
what is this
that's something else
it's not because of your code
So essentially you configured Eclipse to use Java 1.6 which is very old and not supported any more since Eclipse 2024-06
Are you using Maven? Do you have a pom.xml file?
ok!
no
How do I make him support?
Don't. Configure a newer Java version
then right-cluick the project, select properties
on the left, there should be a
Java Compiler
optionI am programming a client in Minecraft and I saw explanations and applied it but it did not work
what
?
Can you show a screenshot of your project and the files in it?
where
like this
It should be a gradle project
Since it's MCP
ok
Can you show that?
all files in the project
ok
right click the project > properties
where
wait
ok
Complete
and after that, select Java Compiler on the left
Ψ
ok
Complete
You should see
Compiler compilance level
as well as Source compatibility
and Generated .class files compatibility
?
Can you show a screnshot of the window with
Java Compiler
selected?where do i go
Did you do this?
as in this screenshot
take
ok
click "Apply and Close"
I'm filming a video about these things because the version is old and I want to update it.
Complete
the error should disappear after doing that
Thank you very much
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Thank you very much
Thank you very much
Thank you very much
non
no
no
Don't close
Ψ¨Ψ΅ΩΨ±
With pictures
?
just wait
can you close
thnx bro
wait
A new error has appeared.
@dan1st | Daniel
What's the error?
and the code where it happens
Note that I have no idea about Minecraft development
?
look
ok its java
@dan1st | Daniel
seems like the method doesn't exist
?
well I guess that's what the error message is telling you
you are trying to use some
addLayer
method that doesn't existHow do I fix it?
Ψ
@dan1st | Daniel Please, is it possible to have the method?
check the code
if you need a method, write it
I can't tell you out of the blue
I didn't understand
I give you the project and can you correct it?
double click the error
I would be grateful to you
ok
it should open the code causing the problem
no
There are many mistakes
Not one mistake because of this
?
How did you get that code?
it doesn't seem like you wrote it
Is it from a tutorial?
Explanations
yes
?
If I see the full error and the code relevant to the error, I might be able to find out what causes it
How do I show you wrong?
Ψ
@dan1st | Daniel
I don't even know what you mean with that
How do I show you all the errors?
it's sufficient if you show me one for now
I think you can click on the error and copy it with ctrl+c
ok just 1min
he doesnt work
?
Doesn't work isn't an exact description
ctrl+c
I don't know what happens if you just say "it doesn't work"
of ctrl+c
what exactly are you selecting before pressing it, what happens when doing it, did you paste it afterwards?
oh ok
Can you ctrl+click on the method that's underlined in red?
in the second screenshot
and also show
LayerEnderDragonEyes
ok just 1min
This is what appeared to me
What is
EntityDragon
? Is it an EntityLivingBase
??
no
It's different
Can you show its declaration?
?
declaration? how
Can you show the code of
EntityDragon
?
there's probably some public class EntityDragon
somewherehow
what i do
ctrl+click on it
ok
Do you know any programming?
A little bit
Can you open EntityLiving?
ok
oh that's
LayerEnderDragonDeath
I think I asked about LayerEnderDragonEyes
normal
take
oh
that just sais
implements LayerRenderer
not implements LayerRenderer<EntityDragon>
or similarwhat i do?
change that part
possibly to thag but idk what it's supposed to be
?
where
here
How do I change it?
to that for example
Does that result in more or less errors?
IDK
where is it implements LayerRenderer
@dan1st | Daniel
literally in that screenshot
line 10
?
There is none#
@dan1st | Daniel
There is none
What should I change it to?
that
with the <>
But I think you should make sure you actually know Java before doing anything with Minecraft
ok
What should I change it to?
@dan1st | Daniel
?
did you try that thing I'm replying to?
what's that now?
This is the right line.
I am confused because I spent a whole day editing yesterday and today, so I do not want my efforts to go to waste.
@dan1st | Daniel
LayerEnderDragonEyes
He didn't understand what you were trying to explain.
@dan1st | Daniel
he doesnt work what i do ?
@dan1st | Daniel
π€
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.
So here you are trying to use
addLayer
with LayerEnderDragonEyes
but as you can see here, addLayer
expects a LayerRenderer<V>
where V
should be something extending EntityLivingBase
It works for LayerEnderDragonDeath
because this class implements LayerRenderer<EntityDragon>
which extends LayerRendererBase<EntityDragon>
and EntityDragon
implements EntityLivingBase
but LayerEntityDragonEyes
implements LayerRenderer
and not LayerRenderer<EntityDragon>
or LayerRenderer<SomethingThatExtendsEntityLivingBase>
So my suggestion was changing the implements LayerRenderer
in LayerEntityDragonEyes
to implements LayerRenderer<EntityDragon>
π€
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.
π€
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.