Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getResourceType()
- getNearestPrefabPath(int, int, Vector3d, Set, ComponentAccessor)
- getNearestPrefabPath(int, Vector3d, Set, ComponentAccessor)
- getOrConstructPrefabPath(int, UUID, String, Int2ObjectConcurrentHashMap.IntBiObjFunction)
- removePrefabPathWaypoint(int, UUID, int)
- unloadPrefabPathWaypoint(int, UUID, int)
- removePrefabPath(int, UUID)
- getPrefabPath(int, UUID, boolean)
- compactPrefabPath(int, UUID)
- getAllPrefabPaths()
- getPrefabPathCollection(int)
- clone()
Class WorldPathData
java.lang.Object
com.hypixel.hytale.builtin.path.WorldPathData
- All Implemented Interfaces:
Resource<EntityStore>, Cloneable
Created on 22/06/2020
-
Field Summary
Fields inherited from interface Resource
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidcompactPrefabPath(int worldgenId, UUID id) getNearestPrefabPath(int worldgenId, int nameIndex, org.joml.Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) getNearestPrefabPath(int worldgenId, org.joml.Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) getOrConstructPrefabPath(int worldgenId, UUID id, String name, com.hypixel.fastutil.ints.Int2ObjectConcurrentHashMap.IntBiObjFunction<UUID, String, IPrefabPath> pathGenerator) getPrefabPath(int worldgenId, UUID id, boolean ignoreLoadState) getPrefabPathCollection(int worldgenId) static ResourceType<EntityStore, WorldPathData> voidremovePrefabPath(int worldgenId, UUID id) voidremovePrefabPathWaypoint(int worldgenId, UUID id, int index) voidunloadPrefabPathWaypoint(int worldgenId, UUID id, int index)
-
Constructor Details
-
WorldPathData
public WorldPathData()
-
-
Method Details
-
getResourceType
-
getNearestPrefabPath
@Nullable public IPrefabPath getNearestPrefabPath(int worldgenId, int nameIndex, @Nonnull org.joml.Vector3d position, Set<UUID> disallowedPaths, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - See Also:
-
getNearestPrefabPath
@Nullable public IPrefabPath getNearestPrefabPath(int worldgenId, @Nonnull org.joml.Vector3d position, Set<UUID> disallowedPaths, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - See Also:
-
getOrConstructPrefabPath
public IPrefabPath getOrConstructPrefabPath(int worldgenId, @Nonnull UUID id, @Nonnull String name, @Nonnull com.hypixel.fastutil.ints.Int2ObjectConcurrentHashMap.IntBiObjFunction<UUID, String, IPrefabPath> pathGenerator) - See Also:
-
removePrefabPathWaypoint
-
unloadPrefabPathWaypoint
-
removePrefabPath
-
getPrefabPath
-
compactPrefabPath
-
getAllPrefabPaths
-
getPrefabPathCollection
-
clone
- Specified by:
clonein interfaceResource<EntityStore>- Returns:
- a clone instance of the original resource instance.
-