ByteArrayData
Этот класс был добавлен модом с mod-id crafttweaker
. Так что если вы хотите использовать эту функцию, вам нужно установить этот мод.
Импорт класса
Вам может потребоваться импортировать пакет, если вы столкнетесь с какими-либо проблемами (например, с заливкой массива), так что лучше быть в безопасности, чем извиняться и добавлять импорт.
Implemented Interfaces
ByteArrayData implements the following interfaces. That means any method available to them can also be used on this class.
Constructors
Methods
add
clear
Removes every element in the list
get
Retrieves the crafttweaker.api.data.IData stored at the given index.
Returns crafttweaker.api.data.IData
remove
Removes the crafttweaker.api.data.IData stored at the given index.
Returns crafttweaker.api.data.IData
set
Sets the item at the provided index to the given value
Returns crafttweaker.api.data.IData