Class SpatialSystem<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.system.System<ECS_TYPE>
com.hypixel.hytale.component.system.tick.TickingSystem<ECS_TYPE>
com.hypixel.hytale.component.spatial.SpatialSystem<ECS_TYPE>
- All Implemented Interfaces:
ISystem<ECS_TYPE>,QuerySystem<ECS_TYPE>,TickableSystem<ECS_TYPE>
- Direct Known Subclasses:
BeaconSpatialSystem,EntitySpatialSystem,ItemContainerStateSpatialSystem,ItemSpatialSystem,LegacyBeaconSpatialSystem,NetworkSendableSpatialSystem,NPCSpatialSystem,PathSpatialSystem,PlayerSpatialSystem,SpawnMarkerSpatialSystem,TangiableEntitySpatialSystem
public abstract class SpatialSystem<ECS_TYPE>
extends TickingSystem<ECS_TYPE>
implements QuerySystem<ECS_TYPE>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceType<ECS_TYPE, SpatialResource<Ref<ECS_TYPE>, ECS_TYPE>> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionSpatialSystem(ResourceType<ECS_TYPE, SpatialResource<Ref<ECS_TYPE>, ECS_TYPE>> resourceType) -
Method Summary
Modifier and TypeMethodDescriptionabstract Vector3dgetPosition(ArchetypeChunk<ECS_TYPE> var1, int var2) voidMethods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
getQuery, test
-
Field Details
-
resourceType
-
-
Constructor Details
-
SpatialSystem
public SpatialSystem(@Nonnull ResourceType<ECS_TYPE, SpatialResource<Ref<ECS_TYPE>, ECS_TYPE>> resourceType)
-
-
Method Details
-
tick
- Specified by:
tickin interfaceTickableSystem<ECS_TYPE>- Specified by:
tickin classTickingSystem<ECS_TYPE>
-
getPosition
-