Merge branch 'master' into 1.16
# Conflicts: # src/main/java/carpet/helpers/FeatureGenerator.java
This commit is contained in:
commit
ad713f0220
6 files changed
+83
-45
No files matched your search
@@ -75,6 +75,18 @@ public class ListValue extends AbstractListValue implements ContainerValueInterf
|
||||
);
|
||||
}
|
||||
|
||||
public static Value fromTriple(double a, double b, double c)
|
||||
{
|
||||
return ListValue.of(new NumericValue(a), new NumericValue(b), new NumericValue(c));
|
||||
}
|
||||
|
||||
public static Value fromTriple(int a, int b, int c)
|
||||
{
|
||||
return fromTriple((double) a, b, c);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static ListValue wrap(List<Value> list)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user