Index

A B C D E F G H I L M N O P R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(int, int) - Method in record class io.hymods.lib.tiles.TileCoord
Add an offset to this tile coordinate.
angleBetween(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Calculates the angle between two vectors in radians
angleBetweenDegrees(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Calculates the angle between two vectors in degrees
augmentBlock(BlockType, List) - Method in interface io.hymods.lib.inspection.InspectionAddon
 
augmentEntity(Store, Ref, List) - Method in interface io.hymods.lib.inspection.InspectionAddon
 

B

BLOCK - Enum constant in enum class io.hymods.lib.data.InspectionTargetType
 
BLOCK - Enum constant in enum class io.hymods.lib.data.RaycastResult.HitType
 
BlockInfo - Record Class in io.hymods.lib.data
Information about a block
BlockInfo(Vector3i, BlockType) - Constructor for record class io.hymods.lib.data.BlockInfo
Creates an instance of a BlockInfo record class.
blockPosition() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the blockPosition record component.
BLOCKS_PER_CHUNK - Static variable in record class io.hymods.lib.tiles.TileCoord
 
blockType() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the blockType record component.
broadcast(World, String) - Static method in class io.hymods.lib.utils.PlayerUtils
Broadcasts a message to all players
build(UICommandBuilder) - Method in class io.hymods.lib.hud.MultipleCustomUIHud
 

C

calculateSlotOffset(int, double, double, int) - Method in class io.hymods.lib.tiles.TileGridManager
Calculate the pixel offset for a slot based on player position.
center() - Method in record class io.hymods.lib.data.SearchParameters
Returns the value of the center record component.
CENTER_SLOT - Static variable in class io.hymods.lib.tiles.TileGridManager
 
centerBlockX(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the center block X coordinate of this tile.
centerBlockZ(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the center block Z coordinate of this tile.
changeNPCRole(Ref, Store, String) - Static method in class io.hymods.lib.utils.NPCUtils
Changes the role of an NPC
clamp(double, double, double) - Static method in class io.hymods.lib.utils.MathUtils
Clamps a value between min and max
closestPointOnLine(Vector3d, Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Gets the closest point on a line to a given point
cross(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Calculates the cross product of two vectors

D

defaults() - Static method in record class io.hymods.lib.data.InspectionOptions
 
directionToEuler(Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Converts a direction vector to Euler angles
displayName() - Method in record class io.hymods.lib.data.InspectionResult
Returns the value of the displayName record component.
distance() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the distance record component.
distance() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the distance record component.
distance(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Calculates the distance between two points
distanceSquared(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Calculates the squared distance between two points (faster than distance)
dot(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Calculates the dot product of two vectors

E

entities() - Method in record class io.hymods.lib.data.EntitySearchResult
Returns the value of the entities record component.
ENTITY - Enum constant in enum class io.hymods.lib.data.InspectionTargetType
 
ENTITY - Enum constant in enum class io.hymods.lib.data.RaycastResult.HitType
 
EntityInfo - Record Class in io.hymods.lib.data
 
EntityInfo(Ref, String, String, Vector3d, double, boolean, boolean) - Constructor for record class io.hymods.lib.data.EntityInfo
Creates an instance of a EntityInfo record class.
entityName() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the entityName record component.
entityRef() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the entityRef record component.
EntitySearchResult - Record Class in io.hymods.lib.data
Result of an entity search operation
EntitySearchResult(List, SearchParameters) - Constructor for record class io.hymods.lib.data.EntitySearchResult
Creates an instance of a EntitySearchResult record class.
EntityUtils - Class in io.hymods.lib.utils
Utility class for entity-related operations
equals(Object) - Method in record class io.hymods.lib.data.BlockInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.EntityInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.EntitySearchResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.InspectionLine
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.InspectionOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.InspectionResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.RaycastResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.data.SearchParameters
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.tiles.TileCoord
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
Indicates whether some other object is "equal to" this one.
eulerToDirection(float, float) - Static method in class io.hymods.lib.utils.MathUtils
Converts Euler angles to a direction vector

F

filterType() - Method in record class io.hymods.lib.data.SearchParameters
Returns the value of the filterType record component.
findBlocks(World, Vector3d, double, Predicate) - Static method in class io.hymods.lib.utils.WorldUtils
Finds blocks matching a predicate in an area
findFirstSolidBlock(World, Vector3d, Vector3d, double) - Static method in class io.hymods.lib.utils.RaycastUtils
Finds the first solid block along a ray
findSlotForTile(TileCoord) - Method in class io.hymods.lib.tiles.TileGridManager
Find which slot holds a specific tile coordinate.
forEachPlayer(World, Consumer) - Static method in class io.hymods.lib.utils.PlayerUtils
Executes an action for each online player
formatName(String) - Static method in class io.hymods.lib.utils.InspectionUtils
 
fromBlock(double, double, int) - Static method in record class io.hymods.lib.tiles.TileCoord
Calculate the tile coordinate that contains a given block coordinate.
fromChunk(int, int, int) - Static method in record class io.hymods.lib.tiles.TileCoord
Calculate the tile coordinate that contains a given chunk coordinate.

G

getAddons() - Static method in class io.hymods.lib.inspection.InspectionAddonRegistry
 
getAdjacentBlocks(World, int, int, int, boolean) - Static method in class io.hymods.lib.utils.WorldUtils
Gets adjacent blocks
getAllPlayers(World) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets all online players in a world
getBlock(World, int, int, int) - Static method in class io.hymods.lib.utils.WorldUtils
Gets a block at a specific position
getBlock(World, Vector3d) - Static method in class io.hymods.lib.utils.WorldUtils
Gets a block at a vector position
getBlocksInArea(World, Vector3i, Vector3i) - Static method in class io.hymods.lib.utils.WorldUtils
Gets all blocks in a cubic area
getBlocksInSphere(World, Vector3d, double) - Static method in class io.hymods.lib.utils.WorldUtils
Gets all blocks in a sphere
getCenterTile() - Method in class io.hymods.lib.tiles.TileGridManager
Get the current center tile.
getChunkIndex(int, int) - Static method in class io.hymods.lib.utils.WorldUtils
Gets the chunk index from chunk coordinates
getChunkIndexAtBlock(int, int) - Static method in class io.hymods.lib.utils.WorldUtils
Gets the chunk index for a block position
getClosest() - Method in record class io.hymods.lib.data.EntitySearchResult
Get the closest entity from the search result
getClosestEntity(World, Vector3d, double, Predicate) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the closest entity to a position
getCount() - Method in record class io.hymods.lib.data.EntitySearchResult
Get the total count of entities found
getCustomHud(Player, String) - Static method in class io.hymods.lib.hud.HudManager
Gets a specific HUD by identifier from the player's current HUD.
getCustomHuds() - Method in class io.hymods.lib.hud.MultipleCustomUIHud
 
getDistanceBetween(Ref, Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the distance between two entities
getDistanceBetweenPlayers(Ref, Ref, Store) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets the distance between two players
getDistanceSquaredBetweenPlayers(Ref, Ref, Store) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets the squared distance between two players
getEntities() - Method in record class io.hymods.lib.data.EntitySearchResult
Get all entities from the search result
getEntitiesInCone(Store, Vector3d, Vector3d, double, double) - Static method in class io.hymods.lib.utils.RaycastUtils
Performs a cone-shaped check for entities
getEntitiesInCone(Store, Vector3d, Vector3d, double, double, Ref) - Static method in class io.hymods.lib.utils.RaycastUtils
Performs a cone-shaped check for entities with exclusion support
getEntitiesWithComponent(World, ComponentType) - Static method in class io.hymods.lib.utils.EntityUtils
Gets all entities of a specific component type
getEntityBoundingBox(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the bounding box of an entity
getEntityByUUID(World, UUID) - Static method in class io.hymods.lib.utils.EntityUtils
Gets an entity by its UUID
getEntityDisplayName(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the display name of an entity
getEntityPosition(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the position of an entity
getEntityRotation(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the rotation of an entity
getEntityVelocity(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Gets the velocity of an entity Note: Velocity data may not be available for all entities
getFirstAirBlock(World, int, int, int, int) - Static method in class io.hymods.lib.utils.WorldUtils
Finds the first air block above a position
getHighestBlock(World, int, int, int) - Static method in class io.hymods.lib.utils.WorldUtils
Finds the highest solid block at a position
getNPC(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Gets the NPC component from a reference
getNPCHealth(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Gets the health of an NPC
getNPCLeashPoint(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Gets the leash point of an NPC
getNPCRole(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Gets the role of an NPC
getNPCRoleName(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Gets the role name of an NPC
getNPCs() - Method in record class io.hymods.lib.data.EntitySearchResult
Get all NPC entities from the search result
getNPCState(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Gets the current state of an NPC Note: State retrieval depends on internal StateSupport implementation
getPlayer(Ref, Store) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets the Player component from a reference
getPlayerByName(World, String) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets a player by their display name
getPlayerByUUID(World, UUID) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets a player by their UUID
getPlayerLookDirection(Ref, Store) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets a player's look direction
getPlayerPosition(Ref, Store) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets a player's position
getPlayers() - Method in record class io.hymods.lib.data.EntitySearchResult
Get all player entities from the search result
getPlayersInRadius(World, Vector3d, double) - Static method in class io.hymods.lib.utils.PlayerUtils
Gets players within a certain radius of a position
getSearchParameters() - Method in record class io.hymods.lib.data.EntitySearchResult
Get the search parameters used for this search
getTileAtSlot(int) - Method in class io.hymods.lib.tiles.TileGridManager
Get the tile coordinate for a specific slot.
getTilePixelSize() - Method in class io.hymods.lib.tiles.TileGridManager
Get the tile pixel size.
getTileSizeChunks() - Method in class io.hymods.lib.tiles.TileGridManager
Get the tile size in chunks.
getWithinDistance(double) - Method in record class io.hymods.lib.data.EntitySearchResult
Get entities within a certain distance
GRID_SIZE - Static variable in class io.hymods.lib.tiles.TileGridManager
 
GridUpdateResult(List, Map) - Constructor for record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
Creates an instance of a GridUpdateResult record class.

H

hashCode() - Method in record class io.hymods.lib.data.BlockInfo
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.EntityInfo
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.EntitySearchResult
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.InspectionLine
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.InspectionOptions
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.InspectionResult
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.RaycastResult
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.data.SearchParameters
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.tiles.TileCoord
Returns a hash code value for this object.
hashCode() - Method in record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
Returns a hash code value for this object.
hasLineOfSight(Ref, Store, Vector3d, double) - Static method in class io.hymods.lib.utils.PlayerUtils
Checks if a player has line of sight to a position
hasLineOfSight(World, Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.RaycastUtils
Checks if there's line of sight between two positions
hasLineOfSightBetweenEntities(Ref, Ref, Store, World) - Static method in class io.hymods.lib.utils.RaycastUtils
Checks if there's line of sight between two entities
hasTarget() - Method in record class io.hymods.lib.data.InspectionResult
 
hideCustomHud(Player, PlayerRef, String) - Static method in class io.hymods.lib.hud.HudManager
Hides (removes) a custom HUD identified by the given identifier.
hitPosition() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the hitPosition record component.
hitType() - Method in record class io.hymods.lib.data.RaycastResult
Returns the value of the hitType record component.
HudManager - Class in io.hymods.lib.hud
Utility class for managing multiple custom HUDs per player.
HudManager() - Constructor for class io.hymods.lib.hud.HudManager
 
HymodsLib - Class in io.hymods.lib
Deprecated.
This is the main class for the HymodsLib mod, and isn't intended to be used in your code.
HymodsLib(JavaPluginInit) - Constructor for class io.hymods.lib.HymodsLib
Deprecated.

I

id() - Method in interface io.hymods.lib.inspection.InspectionAddon
 
includeLiving() - Method in record class io.hymods.lib.data.SearchParameters
Returns the value of the includeLiving record component.
includeNPC() - Method in record class io.hymods.lib.data.SearchParameters
Returns the value of the includeNPC record component.
includePlayer() - Method in record class io.hymods.lib.data.SearchParameters
Returns the value of the includePlayer record component.
inspectBlock(BlockType, int, InspectionOptions) - Static method in class io.hymods.lib.utils.InspectionUtils
 
inspectEntity(Store, Ref, String, int, InspectionOptions) - Static method in class io.hymods.lib.utils.InspectionUtils
 
InspectionAddon - Interface in io.hymods.lib.inspection
Optional extension point for adding custom lines to inspection results.
InspectionAddonRegistry - Class in io.hymods.lib.inspection
 
InspectionLine - Record Class in io.hymods.lib.data
A single line of text intended for HUD display.
InspectionLine(String, String) - Constructor for record class io.hymods.lib.data.InspectionLine
Creates an instance of a InspectionLine record class.
InspectionOptions - Record Class in io.hymods.lib.data
 
InspectionOptions(int, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for record class io.hymods.lib.data.InspectionOptions
Creates an instance of a InspectionOptions record class.
InspectionResult - Record Class in io.hymods.lib.data
A normalized inspection payload suitable for rendering into a HUD.
InspectionResult(InspectionTargetType, String, String, boolean, List) - Constructor for record class io.hymods.lib.data.InspectionResult
Creates an instance of a InspectionResult record class.
InspectionTargetType - Enum Class in io.hymods.lib.data
 
InspectionUtils - Class in io.hymods.lib.utils
 
inspectRaycastResult(Store, RaycastResult, InspectionOptions) - Static method in class io.hymods.lib.utils.InspectionUtils
 
io.hymods.lib - package io.hymods.lib
 
io.hymods.lib.data - package io.hymods.lib.data
 
io.hymods.lib.hud - package io.hymods.lib.hud
 
io.hymods.lib.inspection - package io.hymods.lib.inspection
 
io.hymods.lib.tiles - package io.hymods.lib.tiles
 
io.hymods.lib.utils - package io.hymods.lib.utils
 
isAir() - Method in record class io.hymods.lib.data.BlockInfo
 
isAirBlock(BlockType) - Static method in class io.hymods.lib.utils.WorldUtils
Checks if a block is air or empty
isBlockHit() - Method in record class io.hymods.lib.data.RaycastResult
Checks if the raycast hit a block
isChunkLoaded(World, int, int) - Static method in class io.hymods.lib.utils.WorldUtils
Checks if a chunk is loaded
isEmpty() - Method in record class io.hymods.lib.data.EntitySearchResult
Check if no entities were found
isEntityHit() - Method in record class io.hymods.lib.data.RaycastResult
Checks if the raycast hit an entity
isHit() - Method in record class io.hymods.lib.data.RaycastResult
Checks if the raycast resulted in a hit (either block or entity)
isInitialized() - Method in class io.hymods.lib.tiles.TileGridManager
Check if the grid has been initialized.
isInWater(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Checks if an entity is in water Note: This is a simplified implementation - actual water check may require accessing the world and checking the block at entity position
isLivingEntity(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Checks if an entity is a living entity (has health/can take damage)
isMiss() - Method in record class io.hymods.lib.data.RaycastResult
Checks if the raycast resulted in a miss
isNPC() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the isNPC record component.
isNPC(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Checks if an entity is an NPC
isNPC(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Checks if an entity is an NPC
isOnGround(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Checks if an entity is on the ground Note: This is a simplified implementation - actual ground check may require accessing the entity's transform and checking blocks below
isPlayer() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the isPlayer record component.
isPlayer(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Checks if an entity is a player
isPlayerWithinDistance(Ref, Store, Vector3d, double) - Static method in class io.hymods.lib.utils.PlayerUtils
Checks if a player is within a certain distance of a position
isPointInBox(Vector3d, Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Checks if a point is inside a box
isPointInSphere(Vector3d, Vector3d, double) - Static method in class io.hymods.lib.utils.MathUtils
Checks if a point is inside a sphere
isSolid() - Method in record class io.hymods.lib.data.BlockInfo
 
isSolidBlock(BlockType) - Static method in class io.hymods.lib.utils.WorldUtils
Checks if a block is solid

L

label() - Method in record class io.hymods.lib.data.InspectionLine
Returns the value of the label record component.
lerp(double, double, double) - Static method in class io.hymods.lib.utils.MathUtils
Lerps between two values
lerp(Vector3d, Vector3d, double) - Static method in class io.hymods.lib.utils.MathUtils
Lerps between two vectors
lines() - Method in record class io.hymods.lib.data.InspectionResult
Returns the value of the lines record component.

M

markSlotInitialized(int) - Method in class io.hymods.lib.tiles.TileGridManager
Mark a slot as initialized (has valid image data).
MathUtils - Class in io.hymods.lib.utils
Utility class for mathematical and geometric operations
maxChunkX(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the maximum chunk X coordinate covered by this tile (inclusive).
maxChunkZ(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the maximum chunk Z coordinate covered by this tile (inclusive).
maxNameLength() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the maxNameLength record component.
minBlockX(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the minimum block X coordinate of this tile.
minBlockZ(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the minimum block Z coordinate of this tile.
minChunkX(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the minimum chunk X coordinate covered by this tile.
minChunkZ(int) - Method in record class io.hymods.lib.tiles.TileCoord
Get the minimum chunk Z coordinate covered by this tile.
MISS - Static variable in record class io.hymods.lib.data.RaycastResult
Constant representing a miss (no hit)
MultipleCustomUIHud - Class in io.hymods.lib.hud
A custom HUD implementation that can contain and render multiple HUDs simultaneously.
MultipleCustomUIHud(PlayerRef, HashMap) - Constructor for class io.hymods.lib.hud.MultipleCustomUIHud
 

N

name() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the name record component.
needsGeneration() - Method in record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
 
none() - Static method in record class io.hymods.lib.data.InspectionResult
 
NONE - Enum constant in enum class io.hymods.lib.data.InspectionTargetType
 
NONE - Enum constant in enum class io.hymods.lib.data.RaycastResult.HitType
 
normalize(Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Normalizes a vector
NPCUtils - Class in io.hymods.lib.utils
Utility class for NPC-related operations

O

of(String, String) - Static method in record class io.hymods.lib.data.InspectionLine
 
offset(TileCoord) - Method in record class io.hymods.lib.tiles.TileCoord
Calculate offset from another tile coordinate.

P

PlayerUtils - Class in io.hymods.lib.utils
Utility class for player-related operations
position() - Method in record class io.hymods.lib.data.BlockInfo
Returns the value of the position record component.
position() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the position record component.
project(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Projects a vector onto another vector

R

radius() - Method in record class io.hymods.lib.data.SearchParameters
Returns the value of the radius record component.
raycast(World, Vector3d, Vector3d, double) - Static method in class io.hymods.lib.utils.RaycastUtils
Performs a raycast from an origin point in a direction
raycast(World, Vector3d, Vector3d, double, boolean, boolean) - Static method in class io.hymods.lib.utils.RaycastUtils
Performs a raycast with options for what to check
raycast(World, Vector3d, Vector3d, double, boolean, boolean, Ref) - Static method in class io.hymods.lib.utils.RaycastUtils
Performs a raycast with options for what to check and entity exclusion
raycastFromPlayer(Ref, Store, World, double) - Static method in class io.hymods.lib.utils.RaycastUtils
Performs a raycast from a player's eye position
RaycastResult - Record Class in io.hymods.lib.data
Result of a raycast operation containing hit information
RaycastResult(Vector3d, double, Ref, String) - Constructor for record class io.hymods.lib.data.RaycastResult
Constructor for an entity hit
RaycastResult(Vector3d, double, BlockType, Vector3d) - Constructor for record class io.hymods.lib.data.RaycastResult
Constructor for a block hit
RaycastResult(Vector3d, double, BlockType, Vector3d, Ref, String, RaycastResult.HitType) - Constructor for record class io.hymods.lib.data.RaycastResult
Creates an instance of a RaycastResult record class.
RaycastResult.HitType - Enum Class in io.hymods.lib.data
Enum representing the type of hit
RaycastUtils - Class in io.hymods.lib.utils
Utility class for raycasting and line-of-sight operations
reference() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the reference record component.
reflect(Vector3d, Vector3d) - Static method in class io.hymods.lib.utils.MathUtils
Reflects a vector off a surface
refreshHud(Player) - Static method in class io.hymods.lib.hud.HudManager
Refreshes the combined HUD display for a player.
register(InspectionAddon) - Static method in class io.hymods.lib.inspection.InspectionAddonRegistry
 
removeEntity(Ref, Store) - Static method in class io.hymods.lib.utils.EntityUtils
Removes an entity from the world
removeNPC(Ref, Store) - Static method in class io.hymods.lib.utils.NPCUtils
Removes an NPC from the world
rotateAroundY(Vector3d, double) - Static method in class io.hymods.lib.utils.MathUtils
Rotates a vector around the Y axis

S

searchEntities(World, Vector3d, double) - Static method in class io.hymods.lib.utils.EntityUtils
Searches for entities within a radius
searchEntities(World, SearchParameters) - Static method in class io.hymods.lib.utils.EntityUtils
Searches for entities with specific parameters
searchParameters() - Method in record class io.hymods.lib.data.EntitySearchResult
Returns the value of the searchParameters record component.
SearchParameters - Record Class in io.hymods.lib.data
 
SearchParameters(Vector3d, double) - Constructor for record class io.hymods.lib.data.SearchParameters
Default constructor including all entity types and no filter.
SearchParameters(Vector3d, double, boolean, boolean, boolean, String) - Constructor for record class io.hymods.lib.data.SearchParameters
Full constructor allowing customization of entity types and filter.
sendFormattedMessage(Ref, Store, String, Object...) - Static method in class io.hymods.lib.utils.PlayerUtils
Sends a formatted message to a player
sendMessage(Ref, Store, String) - Static method in class io.hymods.lib.utils.PlayerUtils
Sends a message to a player
setBlock(World, int, int, int, BlockType) - Static method in class io.hymods.lib.utils.WorldUtils
Sets a block at a specific position Note: Block setting requires chunk access via world.getChunk(index).setBlock()
setCustomHud(Player, PlayerRef, String, CustomUIHud) - Static method in class io.hymods.lib.hud.HudManager
Sets or updates a custom HUD for a player with the given identifier.
setNPCDisplayName(Ref, Store, String) - Static method in class io.hymods.lib.utils.NPCUtils
Sets the display name of an NPC
setNPCLeashPoint(Ref, Store, Vector3d) - Static method in class io.hymods.lib.utils.NPCUtils
Sets the leash point for an NPC
setNPCState(Ref, Store, String, String) - Static method in class io.hymods.lib.utils.NPCUtils
Sets the state of an NPC
setNPCTarget(Ref, Store, String, Ref) - Static method in class io.hymods.lib.utils.NPCUtils
Sets a marked target for an NPC
setTilePixelSize(int) - Method in class io.hymods.lib.tiles.TileGridManager
Set the tile pixel size (determined after generation).
setup() - Method in class io.hymods.lib.HymodsLib
Deprecated.
showBenchInfo() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showBenchInfo record component.
showBlockEntityInfo() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showBlockEntityInfo record component.
showEntityHealth() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showEntityHealth record component.
showFarmingInfo() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showFarmingInfo record component.
showIcon() - Method in record class io.hymods.lib.data.InspectionResult
Returns the value of the showIcon record component.
showId() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showId record component.
showMiningInfo() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showMiningInfo record component.
showModName() - Method in record class io.hymods.lib.data.InspectionOptions
Returns the value of the showModName record component.
slotAssignments() - Method in record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
Returns the value of the slotAssignments record component.
spawnCustomNPC(World, String, Vector3d, Vector3f, BiConsumer) - Static method in class io.hymods.lib.utils.NPCUtils
Creates a custom NPC with a callback for customization
spawnNPC(World, String, Vector3d, Vector3f) - Static method in class io.hymods.lib.utils.NPCUtils
Spawns an NPC at a location
spawnNPCWithFlock(World, String, String, Vector3d, Vector3f) - Static method in class io.hymods.lib.utils.NPCUtils
Spawns an NPC with a flock type

T

targetId() - Method in record class io.hymods.lib.data.InspectionResult
Returns the value of the targetId record component.
targetType() - Method in record class io.hymods.lib.data.InspectionResult
Returns the value of the targetType record component.
TileCoord - Record Class in io.hymods.lib.tiles
Represents a tile coordinate in world space.
TileCoord(int, int) - Constructor for record class io.hymods.lib.tiles.TileCoord
Creates an instance of a TileCoord record class.
TileGridManager - Class in io.hymods.lib.tiles
Manages a 3x3 grid of map tiles with wrapping support.
TileGridManager(int) - Constructor for class io.hymods.lib.tiles.TileGridManager
 
TileGridManager.GridUpdateResult - Record Class in io.hymods.lib.tiles
Result of a grid update operation.
tilesToGenerate() - Method in record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
Returns the value of the tilesToGenerate record component.
toString() - Method in record class io.hymods.lib.data.BlockInfo
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.EntityInfo
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.EntitySearchResult
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.InspectionLine
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.InspectionOptions
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.InspectionResult
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.RaycastResult
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.data.SearchParameters
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.tiles.TileCoord
Returns a string representation of this record class.
toString() - Method in record class io.hymods.lib.tiles.TileGridManager.GridUpdateResult
Returns a string representation of this record class.
TOTAL_SLOTS - Static variable in class io.hymods.lib.tiles.TileGridManager
 
truncate(String, int) - Static method in class io.hymods.lib.utils.InspectionUtils
 
type() - Method in record class io.hymods.lib.data.BlockInfo
Returns the value of the type record component.
type() - Method in record class io.hymods.lib.data.EntityInfo
Returns the value of the type record component.

U

updateCenter(TileCoord) - Method in class io.hymods.lib.tiles.TileGridManager
Initialize or update the grid centered on a new tile.

V

value() - Method in record class io.hymods.lib.data.InspectionLine
Returns the value of the value record component.
valueOf(String) - Static method in enum class io.hymods.lib.data.InspectionTargetType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.hymods.lib.data.RaycastResult.HitType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.hymods.lib.data.InspectionTargetType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.hymods.lib.data.RaycastResult.HitType
Returns an array containing the constants of this enum class, in the order they are declared.

W

WorldUtils - Class in io.hymods.lib.utils
Utility class for world and block operations

X

x() - Method in record class io.hymods.lib.tiles.TileCoord
Returns the value of the x record component.

Z

z() - Method in record class io.hymods.lib.tiles.TileCoord
Returns the value of the z record component.
A B C D E F G H I L M N O P R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values