Uses of Class
com.cryptomorin.xseries.XWorldBorder
Packages that use XWorldBorder
-
Uses of XWorldBorder in com.cryptomorin.xseries
Methods in com.cryptomorin.xseries that return XWorldBorderModifier and TypeMethodDescriptionabstract XWorldBorderXWorldBorder.copy()static XWorldBorderXWorldBorder.create()static XWorldBorderXWorldBorder.from(org.bukkit.WorldBorder bukkitWb) static @Nullable XWorldBorderXWorldBorder.get(org.bukkit.entity.Player player) static XWorldBorderXWorldBorder.getOrCreate(org.bukkit.entity.Player player) static @Nullable XWorldBorderXWorldBorder.remove(org.bukkit.entity.Player player) XWorldBorder.setCenter(double x, double z) abstract XWorldBorderXWorldBorder.setCenter(org.bukkit.Location location) abstract XWorldBorderXWorldBorder.setDamageBuffer(double blocks) XWorldBorder.setSize(double newSize) XWorldBorder.setSizeLerpTarget(double sizeLerpTarget) The old size in which the border shrinking starts from.abstract XWorldBorderXWorldBorder.setWarningDistance(int blocks) Sets the warning distance that causes the screen to be tinted red when the player is within the specified number of blocks from the border.abstract XWorldBorderXWorldBorder.setWarningTime(Duration time) XWorldBorder.update(org.bukkit.entity.Player... players) Updates may be instant without needing this method, but it's always recommended to call this method after you're done to ensure changes are sent to the players.