Package com.bergerkiller.bukkit.common.entity

Examples of com.bergerkiller.bukkit.common.entity.CommonEntityType


    super(CommonNMS.getNative(entity), 80, 3, true);
    // Fix these two: Wrongly set in Constructor
    this.xLoc = tracker.as.a(tracker.locX);
    this.zLoc = tracker.as.a(tracker.locZ);
    // Set proper update interval/viewdistance/mobile
    final CommonEntityType type = CommonEntityType.byNMSEntity(tracker);
    EntityTrackerEntryRef.isMobile.set(this, type.networkIsMobile);
    EntityTrackerEntryRef.updateInterval.set(this, type.networkUpdateInterval);
    EntityTrackerEntryRef.viewDistance.set(this, type.networkViewDistance);
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.entity.CommonEntityType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.