Contents
Class CachedPositionProvider
java.lang.Object
com.hypixel.hytale.server.npc.sensorinfo.InfoProviderBase
com.hypixel.hytale.server.npc.sensorinfo.PositionProvider
com.hypixel.hytale.server.npc.sensorinfo.CachedPositionProvider
- All Implemented Interfaces:
InfoProvider, IPositionProvider
A PositionPositionProvider which may be providing a cached position from a sensor.
The provider contains info on whether or not the position being provided was cached, so that the receiver knows whether or not any checks previously performed for the position are likely to still be valid or not. Created on 14/01/2019
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PositionProvider
clear, clearOrientation, getPositionProvider, getTarget, getX, getY, getZ, hasPosition, provideOrientation, providePosition, setOrientation, setTarget, setTarget, setTarget, setTargetMethods inherited from class InfoProviderBase
getExtraInfo, getParameterProvider, getPassedExtraInfo, passExtraInfo
-
Constructor Details
-
CachedPositionProvider
public CachedPositionProvider()
-
-
Method Details
-
setIsFromCache
public void setIsFromCache(boolean status) -
isFromCache
public boolean isFromCache()
-