Punch through entities?

Discussion in 'Plugin Development' started by Mr. Sandwich, May 27, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Mr. Sandwich

    Is punching through entities possible? I have an armor standing that keeps teleporting to a player but you when I punch this player the armor stand takes the hit instead. Is there anyway to solve this?(also I the armor stand cant be small it has to be in it's normal size)
     
  2. Offline

    I Al Istannen

    @Mr. Sandwich
    Make the client not render the armorStand. I think it is possible with AreaEffectClouds, maybe the Marker tag (only found a video by CrushedPixed) on an armorstand works. If not, bad luck for you, as far as I know.

    This may remove the items it holds too, though.
     
  3. Offline

    Mr. Sandwich

    how do I make the client not render the armor stand? and doesnt it mean the player wont see the armor stand? I need the players to be able to see it
     
  4. Offline

    I Al Istannen

    @Mr. Sandwich
    With the marker tag. But that removes it completely. I think what you want is impossible.
    You could maybe recreate the effect by rethrowing the event and dealing the damage yourself, but punching through an entity is not permitted in vanilla minecraft afaik.

    Correct me if I am wrong though!
     
Thread Status:
Not open for further replies.

Share This Page