Skip to content

NPCBlackboardCommand.ReserveCommand

Package: com.hypixel.hytale.server.npc.commands

public static class NPCBlackboardCommand.ReserveCommand extends AbstractPlayerCommand

Inner class of NPCBlackboardCommand. Adds or removes a player reservation on a target NPC. Reservations are tracked on the NPCEntity component using the player’s UUID. When reserve is true, calls npcEntity.addReservation(); when false, calls npcEntity.removeReservation().

ArgumentTypeRequiredDescription
reserveBooleanyestrue to add a reservation, false to remove
entityentity IDnoTarget NPC (defaults to player’s look-target)
public ReserveCommand()

Registers as sub-command "reserve" with translation key "server.commands.npc.blackboard.reserve.desc".

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.