public class WorldPathData implements Resource
Class WorldPathData. Provides worldpathdata functionality for the Hytale server.
java.lang.Object > WorldPathData
Field Summary
entry
final
PrefabPathCollection
entry
Field entry.
collection
final
PrefabPathCollection
collection
Field collection.
path
final
IPrefabPath
path
Field path.
list
final
ObjectArrayList
list
Field list.
Method Detail
WorldPathData
public
public
WorldPathData
()
Method WorldPathData.
getResourceType
public
WorldPathData>
getResourceType
()
Method getResourceType.
getNearestPrefabPath
public
IPrefabPath
getNearestPrefabPath
(final int worldgenId, final int nameIndex, @Nonnull final Vector3d position, final Set disallowedPaths, @Nonnull final ComponentAccessor componentAccessor)
Method getNearestPrefabPath.
- Parameters:
final intworldgenIdfinal intnameIndex@Nonnull final Vector3dpositionfinal SetdisallowedPaths@Nonnull final ComponentAccessorcomponentAccessor
getOrConstructPrefabPath
public
IPrefabPath
getOrConstructPrefabPath
(final int worldgenId, @Nonnull final UUID id, @Nonnull final String name, @Nonnull final Int2ObjectConcurrentHashMap.IntBiObjFunction pathGenerator)
Method getOrConstructPrefabPath.
- Parameters:
final intworldgenId@Nonnull final UUIDid@Nonnull final Stringname@Nonnull final Int2ObjectConcurrentHashMap.IntBiObjFunctionpathGenerator
removePrefabPathWaypoint
public
void
removePrefabPathWaypoint
(final int worldgenId, final UUID id, final int index)
Method removePrefabPathWaypoint.
- Parameters:
final intworldgenIdfinal UUIDidfinal intindex
unloadPrefabPathWaypoint
public
void
unloadPrefabPathWaypoint
(final int worldgenId, final UUID id, final int index)
Method unloadPrefabPathWaypoint.
- Parameters:
final intworldgenIdfinal UUIDidfinal intindex
removePrefabPath
public
void
removePrefabPath
(final int worldgenId, final UUID id)
Method removePrefabPath.
- Parameters:
final intworldgenIdfinal UUIDid
getPrefabPath
public
IPrefabPath
getPrefabPath
(final int worldgenId, final UUID id, final boolean ignoreLoadState)
Method getPrefabPath.
- Parameters:
final intworldgenIdfinal UUIDidfinal booleanignoreLoadState
compactPrefabPath
public
void
compactPrefabPath
(final int worldgenId, final UUID id)
Method compactPrefabPath.
- Parameters:
final intworldgenIdfinal UUIDid
getAllPrefabPaths
public
List
getAllPrefabPaths
()
Method getAllPrefabPaths.
getPrefabPathCollection
Method getPrefabPathCollection.
- Parameters:
final intworldgenId