Started by
Red-Eyed_Fairace
on
Topic category: Help with Minecraft modding (Java Edition)
So I made multiple mobs. all works great, some are huge and i configured their hitbox to match the model size iname, problem is, the larger the entity/hitbox, any weapon/arror will just fly/swing thru its body/head and the mob will only take damage when you hit it below/near the feet.
Did you change the size of the bounding box?
Hit box = bounding box
I made my giant skeletons hit box high so you have to jump to hit him.
Giant Skeleton - YouTube
Already did like I said on my title. yet regardless of any attacks, non will be registered unless you hit near foot.
I just tested it on something I am working on. A very large tank and it works fine. Inside your mob settings is the bounding box setting in the visual and sound section. I have mine set on 5/3/0/0
It is called Entity Model Bounding Box
Yes, I know what it's called. Like I said, I already configured it hence "Properly set". I already even check it ingame to view the hitbox, went to spectator and view the mobs sight and all is good. The only problem is that the upper part of the hitbox seems to not register anything. Any attack will just bypass it and by the looks of it.
similar problem, massive (gekolib) entity, box set to (6, 40, 6) , arrows pass right through, attacks wont hit unless underwater at the bottom of the boss :/ someone say whyyyyy
hey did some doing and turns out that the issue is Minecraft not mcreator (probably)? Found it depends on the position of the entity trying to damage the thing, not the hitbox ..?? for example, lets call posA the feet of ENTITY, posB maybe ~50, and posC ~55, and assume posB is the "Ylimit". You can hit it fine at posA and posB, but not posC, kind of. You can hit posC and higher if you are at posB, and cannot hit posB when at posC (viceaversa ig or whatever). This applies to arrows as if they were doing a melee attack like a zombie (the arrow itself), as the arrow counts ITS position rather than the FIREE's position when considering if it should deal damage and collide with the hitbox. The frustrating part about this code is THE HITBOX STILL COLLIDES WITH PUSHING ANYWAYS, THE EXACT OPPOSITE OF WHAT I WANT IT TO DO (I'm making a cool ocean 'snake' boss fight, and want the snook to be permanently stuck but able to be shot :P ) so MMMMM YEAH GR8 if anyone can look into the code viewer and find a variable to control allowed reach or whatever it uses that would be gr8 and cool thx >%) (yes I will always stand by Java>bedrock, as bedrock is jank, but what I AM saying is that mc in general is super very jank sometimes and for whatever reason both "KEY" and the notasgr8 new mc bg musics are all under music/meadows and its reallllllly annoying >:| )
Srry thats so long ^^^ :\ only the first half is rlly relevant tho