Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- configure(SpawnPositionColumnProfileProvider, int, int, int, int, int, int, int, int, int, int, double, double, double)
- release()
- getColumnProfile(int, int)
- getRowProfile(int, int)
- getWindowProfile(int, int)
- getColumnLoadCount()
- getColumnReuseCount()
- getColumnX(int)
- getColumnZ(int)
- getRowBuildCount()
- getRowReuseCount()
- getWindowBuildCount()
- getWindowReuseCount()
- getPrunedRowCount()
- getPrunedWindowCount()
Class SpawnPositionProfileCache
java.lang.Object
com.hypixel.hytale.server.spawning.util.SpawnPositionProfileCache
Caches column, row, and window intersections with pruning.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(SpawnPositionColumnProfileProvider provider, int minimumColumnX, int minimumColumnZ, int maximumColumnX, int maximumColumnZ, int minimumWindowX, int minimumWindowZ, int maximumWindowX, int maximumWindowZ, int windowWidth, int windowDepth, double minimumY, double maximumY, double requiredHeight) intgetColumnProfile(int blockX, int blockZ) intintgetColumnX(int sourceColumnIndex) intgetColumnZ(int sourceColumnIndex) intintintgetRowProfile(int windowX, int rowZ) intintgetWindowProfile(int windowX, int windowZ) intvoidrelease()
-
Constructor Details
-
SpawnPositionProfileCache
public SpawnPositionProfileCache()
-
-
Method Details
-
configure
public void configure(SpawnPositionColumnProfileProvider provider, int minimumColumnX, int minimumColumnZ, int maximumColumnX, int maximumColumnZ, int minimumWindowX, int minimumWindowZ, int maximumWindowX, int maximumWindowZ, int windowWidth, int windowDepth, double minimumY, double maximumY, double requiredHeight) -
release
public void release() -
getColumnProfile
-
getRowProfile
-
getWindowProfile
-
getColumnLoadCount
public int getColumnLoadCount() -
getColumnReuseCount
public int getColumnReuseCount() -
getColumnX
public int getColumnX(int sourceColumnIndex) -
getColumnZ
public int getColumnZ(int sourceColumnIndex) -
getRowBuildCount
public int getRowBuildCount() -
getRowReuseCount
public int getRowReuseCount() -
getWindowBuildCount
public int getWindowBuildCount() -
getWindowReuseCount
public int getWindowReuseCount() -
getPrunedRowCount
public int getPrunedRowCount() -
getPrunedWindowCount
public int getPrunedWindowCount()
-