use of org.jnbt.FloatTag in project WorldPainter by Captain-Chaos.
the class AbstractNBTItem method setFloatList.
protected final void setFloatList(String name, float[] values) {
List<Tag> list = new ArrayList<>(values.length);
for (float value : values) {
list.add(new FloatTag(null, value));
}
tag.setTag(name, new ListTag(name, FloatTag.class, list));
}
Aggregations