#anyone can tell me how can i create a

1 messages · Page 1 of 1 (latest)

misty monolith
tall belfry
#

why would you want to do that

#

do you know what a .class file is

misty monolith
#

i have a plugin and i need to change a thing, but that thing is inside of a class file, and when i try to edit the class the intelii j say "File read only"

tall belfry
#

so you don't know what a .class file is then

tawny folio
#

Okay the best way to edit a .class file is to not

#

:)

misty monolith
#

i'm not good on minecraft plugin development

#

but

#

i need to change this

#

in some way

#

but i can't do this with the VScode or intelii j

tall belfry
#

because i can't really tell you if you don't know basic java

#

this is very basic

misty monolith
tall belfry
#

so so isn't good enough

#

again, a class is a basic thing in java

misty monolith
#

has any class editor?

tall belfry
#

...

#

a class file is what a .java file compiles ot

#

you can't edit a class file

#

its in bytecode

#

aka another progrmming language

#

bytecode is then passed into the JVM

#

so it can run

#

but you can't edit a class file

#

you gotta decompile the whole project then build it again

#

but the fact that you don't know what a class file is is concerning, as it shows you've never even tried compiling anything in java

#

it is not at all recommended to just edit a class file, that's extremely unsafe

#

java projects need to either be forked form source or decompiled tobe used

#

I do not recommend plugin dev or modding to people who don't know java, it's too complicated.