DirectionAxis
Represents a direction axis (X, Y, Z)
Этот класс был добавлен модом с mod-id crafttweaker
. Так что если вы хотите использовать эту функцию, вам нужно установить этот мод.
Импорт класса
Вам может потребоваться импортировать пакет, если вы столкнетесь с какими-либо проблемами (например, с заливкой массива), так что лучше быть в безопасности, чем извиняться и добавлять импорт.
Implemented Interfaces
DirectionAxis implements the following interfaces. That means any method available to them can also be used on this class.
Methods
getCoordinate
Gets the coordinate of this axis based on the given values, if this axis is "X", then it will return the value of the "x" parameter
Возвращает int