#Shulkers don't attack player when wearing specific custom chestplate
44 messages · Page 1 of 1 (latest)
I just checked with my custom chestplate, and shulkers can attack me while wearing it.
So you might want to check these things, the problem is probably there.
No i havent changed anything related to the entity behavior
BTW when i attack shulkers they do fight back but when they hit me I don't get levitation effect, do i send you the addon?
OK, then have you changed the player's behavior? Or have a pack that does this
I'm not saying that this happens to all custom chestplates, it's this specific addon only
Did you changed the shulker bullet behavior?
The only condition set on shulkers to attack players is that they have the "player" family; if the player no longer has this type family applied then the shulker cannot target them
just wondering… are you in peaceful mode?
Yes, there is a small modification to the player behavior file, the addon isn't mine but I'm trying to figure out why this happened
No
Then yea, feel free to send the add-on. Let's get to the bottom of this
Ok, thanks for replying quickly I'm going to send it now
What is that modification? if you know it, it will make it easier to spot the issue
Aha, just as I suspected
When the jetpack is applied, the player no longer has the "player" family applied, only "jetpack_on"
Edit that file (line 24) to include the "player" family as well:
"minecraft:jetpack_on": {
"minecraft:type_family": {
"family": [
"jetpack_on",
"player"
]
}
}
That's what I thought, thanks imma try it and give you feedback
It worked, one more thing
When the shulker bullet hits me, I don't get levitation effect
Only when having the jetpack on
When it's off, I get levitation effect from the bullet
I’m guessing that the way the jetpack works is by providing the levitation effect. This means that there’s probably a .mcfunction that clears the effect if the player doesn’t have the chestplate on.
It clears the levitation effect when having the chestplate (jetpack) in torso slot
Try adding yourself the effect of levitation via commands with the chestplate on, and tell me if that works
Ok
if that doesn’t then you can’t fix that problem since you are not supposed to have levitation with the chestplate on, since that’s how the addon made it work
The way this add-on was designed is not very good. It is using animation controllers as a ticking function of sorts
It got insta-cleared
then ^
It will either consume fuel and apply levitation if the player is jumping while wearing the pack, or it will constantly clear levitation
I cant get levitation at all when wearing the jetpack (only when it's on)
That’s how the jetpack works in the addon.
When i have jetpack off in torso slot the levitation effect applies with no problems by the shulker bullet
Okay, thank you guys 🙏🏻
I have a question but about another different subject, should I create a new post or can I ask you here?
It would be good to make a new post, yeah
Probably create a new post if is unrelated.
Helps keep things organized
I've tried creating a post before but nobody answered, hopefully I get an answer this time