Uses of Record Class
io.hymods.lib.data.BlockInfo

Packages that use BlockInfo
Package
Description
 
  • Uses of BlockInfo in io.hymods.lib.utils

    Methods in io.hymods.lib.utils that return types with arguments of type BlockInfo
    Modifier and Type
    Method
    Description
    static List<BlockInfo>
    WorldUtils.findBlocks(com.hypixel.hytale.server.core.universe.world.World world, com.hypixel.hytale.math.vector.Vector3d center, double radius, Predicate<com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType> predicate)
    Finds blocks matching a predicate in an area
    static List<BlockInfo>
    WorldUtils.getAdjacentBlocks(com.hypixel.hytale.server.core.universe.world.World world, int x, int y, int z, boolean includeDiagonals)
    Gets adjacent blocks
    static List<BlockInfo>
    WorldUtils.getBlocksInArea(com.hypixel.hytale.server.core.universe.world.World world, com.hypixel.hytale.math.vector.Vector3i min, com.hypixel.hytale.math.vector.Vector3i max)
    Gets all blocks in a cubic area
    static List<BlockInfo>
    WorldUtils.getBlocksInSphere(com.hypixel.hytale.server.core.universe.world.World world, com.hypixel.hytale.math.vector.Vector3d center, double radius)
    Gets all blocks in a sphere