ByteArrayData
Questa classe è stata aggiunta da una mod con ID crafttweaker
. Perciò, è necessario avere questa mod installata per poter utilizzare questa funzione.
Importing the class
Potrebbe essere necessario importare il pacchetto, se si incontrano dei problemi (come castare un vettore), quindi meglio essere sicuri e aggiungere la direttiva di importazione.
Interfacce Implementate
ByteArrayData implements the following interfaces. Ciò significa che ogni metodo presente nell'interfaccia può essere usato anche per questa classe.
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