EntityTracker reflection

Discussion in 'Plugin Development' started by Raegenhere, Nov 28, 2012.

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

    Raegenhere

    Hi,

    I'd like my plugin to change a value from this class:
    https://github.com/Bukkit/CraftBukk.../java/net/minecraft/server/EntityTracker.java
    specifically, I'd like to raise the value "64":

    Code:
    else if (entity instanceof EntitySnowball) {
                this.addEntity(entity, 64, 10, true);
            } 
    Tried a few things, nothing worked - could anyone help me out?
    This is probably some quite basic java knowledge, but I'm pretty new to all this, so I'd appreciate your help with this.
     
  2. Offline

    nisovin

    That's the tracking distance value, right? Even if you could change that, I don't think it would help since the rendering distance on the client won't change.
     
  3. Offline

    Raegenhere

    yes, exactly.
    And it would - in case of snowballs the client render limit is higher than 64. But they won't be rendered after 64 blocks because the client doesn't know they exist. For dropped block entities its the opposite - they will dissapear after ~30 blocks because of the client render limit, but technically the server knows they are there.

    sorry if bumping is frowned upon here, but I fear the chances of getting a reply to a thread on page 2 are pretty slim... :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  4. Offline

    Waffletastic

    Looking into this as well, as it seems you can't see players nearly as far away as you could before 1.5.
     
Thread Status:
Not open for further replies.

Share This Page