List operation

Helpers that build a minecraft:list_operation object, one for each of its types. Where a field takes one, write the helper's call; its name is the type it makes. Click a type to see what it accepts.

Append

Append
Append(values)
values
list of FloatNumberProviderRef

Insert

Insert
Insert(values, offset?)
values
list of FloatNumberProviderRef
offsetoptional
int 0..

The offset in the list to insert into. Defaults to 0.

ReplaceAll

ReplaceAll
ReplaceAll(values)
values
list of FloatNumberProviderRef

ReplaceSection

ReplaceSection
ReplaceSection(values, offset?, size?)
values
list of FloatNumberProviderRef
offsetoptional
int 0..

The offset of the section to replace. Defaults to 0.

sizeoptional
int 0..

The size of the section to replace. Defaults to size of the new list.