#public class (whatever) extends EntitySkeleton doesnt work

1 messages · Page 1 of 1 (latest)

restive axle
#

it straight up colors red without recommending me stuff to import. have also tried hovering over the red text, it just told me to create a new class (EntitySkeleton)

#

Cannot resolve symbol 'EntitySkeleton'

loud goblet
#

Show your Imports

restive axle
#

none

#

in that exact class

loud goblet
#

shout me something like

import net.minecraft.server.VERSION.EntitySkeleton;

#

But i think the newer versions reworked Entitys

restive axle
#

im on 1.17.1

#

so idk

#

also i tried importing what you said, it just doesnt suggest me to do it

#

after the "net", it goes to md5

loud goblet
#

Have you actually Got Bukkit as a dependancy?

tulip atlas
#

Is NMS imported

restive axle
#

it needs to be downloaded from 3rd party?

tulip atlas
#

No

restive axle
#

well not 3party

tulip atlas
#

You need to use BuildTools

loud goblet
#

Are you using maven or gradle?

restive axle
#

maven

loud goblet
#

Show your Pom

restive axle
tulip atlas
#

Run BuildTools and change spigot-api to spigot in the dependency

restive axle
#

ok

loud goblet
#

Ahh yes i forgot about buildtools

#

😂

restive axle
#

where do i put this

#

java -jar BuildTools.jar --rev 1.17.1

#

in the

#

uh

#

terminal?

loud goblet
#

Read what it tells you

tulip atlas
#

^

restive axle
#

oh

#

me dumb dumb

#

after that i should be able to use nms?

tulip atlas
#

Yes

loud goblet
#

no

#

you need api and spigot both

tulip atlas
#

No

#

The Spigot dependency contains both

loud goblet
#

i mean if you dont use the api as well ur doing something wrong

restive axle
#

is buildtools a runnable jar file?

#

with like a gui?

loud goblet
#

ye

tulip atlas
#

No

restive axle
#

ah ok

loud goblet
#

ye you just run java -jar BuildTools.jar

#

it will provide it in a terminal gui

#

you can see what is going on

restive axle
#

how long does installation take?

restive axle
#

THIS SHIZ TAKING FOREVER

#

YO IT WORKS NOW

restive axle
#

@visual dragon here if you are interested to help me

visual dragon
#

Send ur current code

restive axle
#

do note it isnt based on nms

#

i mean

#

there isnt any modification made to the mob itself

#

just simple special attacks

visual dragon
#

Alr

restive axle
#

will fix the whitespaces dw

#

wait no

#

it is racist

#

DONT LOOK AT IT

visual dragon
#

?

restive axle
#

my friend asked to make allah in mc

#

so there were attacks titled in arabic

visual dragon
#

Ok

restive axle
#

well not fixed yet, but yeah

visual dragon
#

Where is the problem now?

restive axle
#

1 text in arabic left

#

just move on

visual dragon
#

No

#

Like what isn’t working as it should

restive axle
#

no everything is fine

#

the default mob ai sucks

#

so i want to make it a bit smarter

#

but i dont want to rewrite my mob in nms

visual dragon
#

That’s like hard to do

restive axle
#

ok maybe not better ai but

#

ranged attack so the fighter doesnt just exploit it

#

can i do it in the non-nms mob?

#

make an NMS attack in the non-nms mob

visual dragon
#

It is going to be hard with spigot at least

#

Like ofc it’s doable

#

But it’s barely I would be able to do it, okay I probably would but it would take some time lol

restive axle
#

is it more effective to just rewrite it in nms?

visual dragon
#

I’d argue for that yeah

restive axle
#

hmm

#

so. as a temporary solution

#

can i make so that the entity deals 1 damage every second

visual dragon
#

Sure

restive axle
#

i cant find out if ur on phone or not

#

cuz u start with capital letter

#

anyways

#

what would be a great way to do an AOE without nms?

#

idc how complex cause sooner or later it will start working

visual dragon
#

Loop through entities nearby ur boss

#

And deal the damage to each one of them

#

Assuming they’re in said range

restive axle
#

wait what

#

no i mean

#

i dont deal dmg to them

visual dragon
#

Also I’m on phone ye

restive axle
#

the entity deals damage on me

visual dragon
#

Ye

restive axle
#

every like second

visual dragon
#

AOE is like splash damage isn’t it tho?

restive axle
#

idk really the term but

#

like a DPS from your entity

#

like some Zombie bosses in Hypixel Skyblock

visual dragon
#

Well aoe stands for area of effect

restive axle
#

they deal certain amount of damage every second

visual dragon
#

I scarcely play hypixel lol

#

Hmm yeah

#

Probably just make its attack cooldowned

restive axle
#

1:00

#

it deals dmg distance away

#

at 1:00

#

no need for the fancy particles and stuff

#

but u get the idea

visual dragon
#

Yeah I bbl sry

restive axle
#

bbl?

restive axle
visual dragon
#

Be back later