Uses of Record Class
io.hymods.lib.tiles.TileCoord
Packages that use TileCoord
-
Uses of TileCoord in io.hymods.lib.tiles
Methods in io.hymods.lib.tiles that return TileCoordModifier and TypeMethodDescriptionTileCoord.add(int dx, int dz) Add an offset to this tile coordinate.static TileCoordTileCoord.fromBlock(double blockX, double blockZ, int tileSizeChunks) Calculate the tile coordinate that contains a given block coordinate.static TileCoordTileCoord.fromChunk(int chunkX, int chunkZ, int tileSizeChunks) Calculate the tile coordinate that contains a given chunk coordinate.TileGridManager.getCenterTile()Get the current center tile.TileGridManager.getTileAtSlot(int slot) Get the tile coordinate for a specific slot.Calculate offset from another tile coordinate.Methods in io.hymods.lib.tiles that return types with arguments of type TileCoordModifier and TypeMethodDescriptionTileGridManager.GridUpdateResult.slotAssignments()Returns the value of theslotAssignmentsrecord component.TileGridManager.GridUpdateResult.tilesToGenerate()Returns the value of thetilesToGeneraterecord component.Methods in io.hymods.lib.tiles with parameters of type TileCoordModifier and TypeMethodDescriptionintTileGridManager.findSlotForTile(TileCoord tile) Find which slot holds a specific tile coordinate.Calculate offset from another tile coordinate.TileGridManager.updateCenter(TileCoord newCenter) Initialize or update the grid centered on a new tile.Constructor parameters in io.hymods.lib.tiles with type arguments of type TileCoordModifierConstructorDescriptionCreates an instance of aGridUpdateResultrecord class.Creates an instance of aGridUpdateResultrecord class.