Skip to content

WorldBorder

Hakan Kargın edited this page Apr 20, 2022 · 5 revisions

How To Use

WorldBorder System

With this feature you can easily create WorldBorders for players.

Example

HWorldBorder myBorder = HCore.createBorder(player.getLocation(), 20, 0, 0, 0, 0, HBorderColor.BLUE); // creates a blue worldborder at player's location
myBorder.show(player); //shows world border for player
System.out.println(myBorder.getCenter()); // prints the center location of border
Clone this wiki locally