#Shulkers don't attack player when wearing specific custom chestplate

44 messages · Page 1 of 1 (latest)

drowsy willow
#

You have not changed the shulker behavior at all, have you? Nor are you using any other packs that change the shulker's behavior?

uneven violet
#

I just checked with my custom chestplate, and shulkers can attack me while wearing it.

uneven violet
uneven thistle
#

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?

drowsy willow
#

OK, then have you changed the player's behavior? Or have a pack that does this

uneven thistle
uneven violet
#

Did you changed the shulker bullet behavior?

drowsy willow
#

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

uneven violet
#

just wondering… are you in peaceful mode?

uneven thistle
uneven thistle
drowsy willow
#

Then yea, feel free to send the add-on. Let's get to the bottom of this

uneven thistle
#

Ok, thanks for replying quickly I'm going to send it now

uneven violet
#

What is that modification? if you know it, it will make it easier to spot the issue

uneven thistle
drowsy willow
#

Aha, just as I suspected

#

When the jetpack is applied, the player no longer has the "player" family applied, only "jetpack_on"

uneven thistle
#

So how to fix this?

#

While keeping the jetpack working fine

drowsy willow
#

Edit that file (line 24) to include the "player" family as well:

"minecraft:jetpack_on": {
  "minecraft:type_family": {
    "family": [
      "jetpack_on",
      "player"
    ]
  }
}
uneven thistle
#

That's what I thought, thanks imma try it and give you feedback

uneven thistle
#

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

uneven violet
#

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.

uneven thistle
#

It clears the levitation effect when having the chestplate (jetpack) in torso slot

uneven violet
#

Try adding yourself the effect of levitation via commands with the chestplate on, and tell me if that works

uneven thistle
#

Ok

uneven violet
#

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

drowsy willow
#

The way this add-on was designed is not very good. It is using animation controllers as a ticking function of sorts

uneven thistle
#

It got insta-cleared

drowsy willow
#

It will either consume fuel and apply levitation if the player is jumping while wearing the pack, or it will constantly clear levitation

uneven thistle
uneven violet
#

That’s how the jetpack works in the addon.

uneven thistle
#

When i have jetpack off in torso slot the levitation effect applies with no problems by the shulker bullet

uneven thistle
#

I have a question but about another different subject, should I create a new post or can I ask you here?

drowsy willow
#

It would be good to make a new post, yeah

uneven violet
#

Probably create a new post if is unrelated.

drowsy willow
#

Helps keep things organized

uneven thistle
#

I've tried creating a post before but nobody answered, hopefully I get an answer this time