1.12.2 Entities shows as pigs, on other versions.

Discussion in 'Spigot Plugin Development' started by jusjus112, Jan 4, 2021.

  1. Hello,

    So I have a server with a paper 1.12.2 jar on it.
    I'm using ViaVersion on it, in order to allow more clients with 1.12X on it.
    The problem I've got is, that I am creating custom entities with some custom pathfinding.
    The point is, everything works fine, on a 1.12 client. But whenever you log on with a 1.13 or higher client version, all custom spawned entities become pigs. I have no clue how to solve this because there is no option to set the EntityTypes since this has been introduced in 1.13.

    Maybe there is a viaversion setting I need to set while using custom entities?
    Or I need to register my entities differently? I'm using this resource to register them on 1.12.2 https://www.spigotmc.org/threads/1-...registering-custom-nms-entities-items.235431/

    Thanks in advance.
  2. Thanks for your reply, but the thing is. It works as soon as via version is not installed anymore. Everything works fine, no problems with it. But when I enable via version the nms entities are pigs.