Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class CounterStrikeGrenades(context: FMLJavaModLoadingContext)

Main mod class. Should be an object declaration annotated with @Mod. The modid should be declared in this object and should match the modId entry in mods.toml.

Link copied to clipboard
Link copied to clipboard
object ModLogger
Link copied to clipboard

Functions

Link copied to clipboard
fun Vec3.addGrenadeSizeOffset(): Vec3
Link copied to clipboard
fun Vec3.div(factor: Double): Vec3
Link copied to clipboard
fun getBlockPosAround2D(pos: Vec3, radius: Int): List<BlockPos>
Link copied to clipboard
fun getBlocksAround3D(pos: Vec3, xRange: Int, yRange: Int, zRange: Int): List<BlockPos>
Link copied to clipboard
fun Player.getEarPosition(): Vec3
Link copied to clipboard
fun ServerLevel.getPlayersWithinMessageRange(center: Vec3): List<Player>
Link copied to clipboard
fun getRandomLocationFromBlockSurface(position: BlockPos): Vec3
Link copied to clipboard
fun getRandomLocationFromCircle(center: Vec2, radius: Double): Vec2
Link copied to clipboard
fun getRandomLocationFromSphere(center: Vec3, radius: Double): Vec3
Link copied to clipboard
fun Player.getShootOrigin(): Vec3
Link copied to clipboard
Link copied to clipboard
fun BlockPos.horizontalDistanceTo(other: BlockPos): Double
fun Vec3.horizontalDistanceTo(other: Vec3): Double
Link copied to clipboard
fun BlockPos.horizontalDistanceToSqr(other: BlockPos): Double
Link copied to clipboard
fun Double.isBetween(value1: Double, value2: Double): Boolean
Link copied to clipboard
fun Vec3.isPointWithinPlaneRange(excludeAxis: Direction.Axis, aabb: AABB): Boolean
fun Vec3.isPointWithinPlaneRange(excludeAxis: Direction.Axis, minX: Double, maxX: Double, minY: Double, maxY: Double, minZ: Double, maxZ: Double): Boolean
Link copied to clipboard
fun isPositionInSmoke(level: Level, pos: Vec3): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Vec3.minus(other: Vec3): Vec3
fun Vec3.minus(x: Double, y: Double, z: Double): Vec3
Link copied to clipboard
fun Vec3.minusGrenadeSizeOffset(): Vec3
Link copied to clipboard
fun Vec3.minusLength(l: Double): Vec3
Link copied to clipboard
Link copied to clipboard
fun renderTestParticleAtPosition(level: Level, position: Vec3)
Link copied to clipboard
fun Vec3.snapToAxis(): Direction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun BlockPos.toVec3(): Vec3
fun Vec3i.toVec3(): Vec3
Link copied to clipboard
fun Vec3.toVec3i(): Vec3i

Since KFF is not mapping those methods correctly