[LIB] [1.7] Remote entities - Next generation NPC library [No support]

Discussion in 'Resources' started by kumpelblase2, Nov 10, 2012.

Thread Status:
Not open for further replies.
  1. Can you give that one to me? Can't find it on jenkins..
  2. Offline


  3. Offline


    Use craftbukkit for 1_6_R3
  4. Yeah. I do use.

    Edit: Nvm, its minecraft launcher jar.
  5. Offline


    I am looking to basically clear all of the API features of a custom villager I created (remove all pathfinders, and behaviors), and this looks amazing but I really do not want to rely on public libraries due to updating issues, and I want to understand the code I am using. I have looked probably everywhere on bukkit.org for clearing the API of a mob, and have not come across anything that is of use to me. I am not the best with reflection but I believe I know enough to do what I need to. I have tried looking at your code for a while, but can't figure out where the code is that basically makes a mob just stand there. How would I clear the API of a mob?
  6. Offline


  7. Offline


    I would but I don't want to rely on another library/API because that means every update I need to wait for them as well as I want to understand the code I am using. I just have no idea where to start.
  8. Offline


    Well, remoteEntities is an API too.... I just suggested an alternative to it, which gets updated a bit faster.

    If you dont want to rely on an API, you will have to override the Entity classes yourself, which is a huge pain going through all that NMS :(
  9. Offline


    I already have my Custom Mob (A Villager), it works perfectly except for the fact I want it basically to do nothing but stand there. I have seen posts where people say to override the EntityMonster class or EntityAnimal but then I would need to make seperate EntityAgeable classes as well as a whole seperate EntityVillager. And in my post I said that I don't want to rely on any libraries xD
  10. Offline


    Someone can help me please?
  11. Offline


    Any idea why this is happening, i am using the latest version, can't even get it started.

    1. 2:41] [Server thread/INFO]: Done (1.629s)! For help, type "help" or "?"
    2. [18:32:41] [Server thread/ERROR]: Encountered an unexpected exception
    3. net.minecraft.server.v1_7_R1.ReportedException: Ticking entity
    4. at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:641) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    5. at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    6. at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    7. at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    8. at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    9. Caused by: java.lang.IllegalArgumentException: Cannot measure distance to a null location
    10. at org.bukkit.Location.distanceSquared(Location.java:444) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    11. at de.kumpelblase2.remoteentities.api.thinking.goals.DesireMoveToLocation.shouldExecute(DesireMoveToLocation.java:37) ~[?:?]
    12. at de.kumpelblase2.remoteentities.api.thinking.DesireSelector.onUpdate(DesireSelector.java:49) ~[?:?]
    13. at de.kumpelblase2.remoteentities.api.thinking.Mind.tick(Mind.java:389) ~[?:?]
    14. at de.kumpelblase2.remoteentities.entities.RemoteZombieEntity.h(RemoteZombieEntity.java:60) ~[?:?]
    15. at net.minecraft.server.v1_7_R1.World.entityJoinedWorld(World.java:1338) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    16. at net.minecraft.server.v1_7_R1.World.playerJoinedWorld(World.java:1319) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    17. at net.minecraft.server.v1_7_R1.World.tickEntities(World.java:1207) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    18. at net.minecraft.server.v1_7_R1.WorldServer.tickEntities(WorldServer.java:480) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    19. at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:637) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks]
    20. ... 4 more
  12. Offline


    You gave DesireMoveToLocation 'null' as a location argument?
  13. Offline


    Does the latest dev build work correctly with 1.7? Because it seems that my entities have no mind.. They get spawned in with their name, but desires, behaviours etc isn't doing anything.

    Edit button seems to be glitched.
    So, edit: This only happens with Human entities.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 29, 2016
  14. The mind does tick and the desires do get executed but the movement currently does not work, everything else is fine.
  15. Offline


    Okay thanks! Any estimation when it will be fixed?
  16. Offline


    Where can I get Remote Entities v1.6 (I need it for a 1.5.2 server) ?
  17. Offline


  18. Offline


    Don' worry, the important thing is that you've answered. However, thanks a lot!
  19. Offline


    I'm using the remoteentities-1.7.jar for my server, my server is 1.7.2, and the plugin I have is said to be compatible with 1.7.2, but it just comes up that it's an invalid version:
    http://gyazo.com/f8230b90d314dd8519fe3d1d5e854fc8 (screenshot of log)

    It works now, but I'm using the remoteentities 1.8 snapshot tho
  20. Offline


  21. Nonces I never claimed that the 1.7 version of RE would work for 1.7.x .
    But as you found out, the snapshot for 1.8 does (also hint at Monkey_Swag )
    Scullyking and Monkey_Swag like this.
  22. Offline



    Holy mother this is what I need. Haven't delved too deep into your documentation, but is it possible to create spawn zones where a custom entity spawns at a given rate. And how customisable are things like the name, health and attackDamage of custom entities? Either way, downloading this right now :D
  23. Scullyking The spawn zone is up to you, I only give you to the tools to handle custom entities, from spawn to death. In this timeframe I try to give you everything you would need or at least give you the ability to extend my library with the features you need.
    Wingzzz likes this.
  24. Offline


  25. Offline


    Will the movement be working in the near future?
  26. Offline


    I am using the Latest RemoteEntities Version and for some reason when i try to spawn a pet it is uber fast, dosent follow me and dosent teleport to me after i get far away.

    This is my code:

    1. PetManager.despawnCurrentPet(player);
    3. RemoteEntity entity = PetManager.getEntityManager().createEntity(RemoteEntityType.Pig, player.getLocation(), false);
    5. PetManager.setPet(player, entity);
    7. entity.setStationary(false);
    8. entity.setSpeed(1.69F);
    9. entity.getMind().addMovementDesire(new DesireFollowSpecific(entity, player, 4F, 1000F), 10);
    12. entity.getBukkitEntity().setCustomNameVisible(true);
    13. entity.getBukkitEntity().setCustomName(player.getName() + " 's Piggy");
  27. Speed of 1.69 is really high, considering the default panic speed, for example is 1.25 (it scales ridiculous).
    And I guess 1000 is a distance you won't normally get and thus it won't teleport to you either. For the moving however, I have to check.
  28. Offline


    Is there a specific place one could find the scaling and how fast it actually is? I've been looking for something like what I described for a long time now.
Thread Status:
Not open for further replies.

Share This Page