Package com.hypixel.hytale.builtin.path
Class WorldPathData
java.lang.Object
com.hypixel.hytale.builtin.path.WorldPathData
- All Implemented Interfaces:
Resource<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<PrefabPathCollection> Fields inherited from interface com.hypixel.hytale.component.Resource
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidcompactPrefabPath(int worldgenId, UUID id) getNearestPrefabPath(int worldgenId, int nameIndex, Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) getNearestPrefabPath(int worldgenId, 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)
-
Field Details
-
prefabPaths
-
-
Constructor Details
-
WorldPathData
public WorldPathData()
-
-
Method Details
-
getResourceType
-
getNearestPrefabPath
@Nullable public IPrefabPath getNearestPrefabPath(int worldgenId, int nameIndex, @Nonnull Vector3d position, Set<UUID> disallowedPaths, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
getNearestPrefabPath
@Nullable public IPrefabPath getNearestPrefabPath(int worldgenId, @Nonnull Vector3d position, Set<UUID> disallowedPaths, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
getOrConstructPrefabPath
public IPrefabPath getOrConstructPrefabPath(int worldgenId, @Nonnull UUID id, @Nonnull String name, @Nonnull com.hypixel.fastutil.ints.Int2ObjectConcurrentHashMap.IntBiObjFunction<UUID, String, IPrefabPath> pathGenerator) -
removePrefabPathWaypoint
-
unloadPrefabPathWaypoint
-
removePrefabPath
-
getPrefabPath
-
compactPrefabPath
-
getAllPrefabPaths
-
getPrefabPathCollection
-
clone
- Specified by:
clonein interfaceResource<EntityStore>- Overrides:
clonein classObject
-