Package api.entity
Interface EntityWithCustomPacket
- All Known Implementing Classes:
BlockLiftedByPlatformEntity,BloodWoodSaplingItemEntity,BroadheadArrowEntity,CanvasEntity,DynamiteEntity,EntityCreeper,FloatingItemEntity,InfiniteArrowEntity,LocatorPileEntity,MechanicalPowerSourceEntity,MechanicalPowerSourceEntityHorizontal,MiningChargeEntity,MovingAnchorEntity,MovingPlatformEntity,RottenArrowEntity,SoulSandEntity,SpiderWebEntity,UrnEntity,VerticalWindMillEntity,WaterWheelEntity,WindMillEntity
public interface EntityWithCustomPacket
-
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanPartially disables server-side visibility tests for interacting with an entity
-
Method Details
-
getSpawnPacketForThisEntity
Packet getSpawnPacketForThisEntity()- Returns:
- Custom packet containing information for this entity to send from the server to the client
-
getTrackerViewDistance
int getTrackerViewDistance() -
getTrackerUpdateFrequency
int getTrackerUpdateFrequency() -
getTrackMotion
boolean getTrackMotion() -
shouldServerTreatAsOversized
boolean shouldServerTreatAsOversized()Partially disables server-side visibility tests for interacting with an entity
-