mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 01:04:29 +00:00
Give the modded native reference repair test a pack without modules, which the generation policy now asks, and keep IrisValues' conversions to its package
This commit is contained in:
1 parent
621e0e65bc
commit
5cb83a4232
2 files changed
+18
-4
No files matched your search
@@ -55,12 +55,12 @@ public final class IrisValues {
|
||||
}
|
||||
|
||||
/** The IrisApi value types and the Iris classes that read the same JSON. */
|
||||
public static Map<String, Class<?>> irisClasses() {
|
||||
static Map<String, Class<?>> irisClasses() {
|
||||
return IRIS_CLASSES;
|
||||
}
|
||||
|
||||
/** {@code spec} as the block data Iris resolves: its block, properties, weight, backup and tile data. */
|
||||
public static IrisBlockData blockData(BlockSpec spec) {
|
||||
static IrisBlockData blockData(BlockSpec spec) {
|
||||
IrisBlockData block = new IrisBlockData(spec.block());
|
||||
block.setData(irisMap(spec.data()));
|
||||
block.setWeight(spec.weight());
|
||||
@@ -81,7 +81,7 @@ public final class IrisValues {
|
||||
}
|
||||
|
||||
/** {@code style} as the generator style Iris builds noise from; a style name Iris does not know is flat. */
|
||||
public static IrisGeneratorStyle generatorStyle(com.volmit.noise.NoiseStyle style) {
|
||||
static IrisGeneratorStyle generatorStyle(com.volmit.noise.NoiseStyle style) {
|
||||
IrisGeneratorStyle iris = new IrisGeneratorStyle(irisStyle(style.style()));
|
||||
iris.setCellularFrequency(style.cellularFrequency());
|
||||
iris.setCellularZoom(style.cellularZoom());
|
||||
|
||||
Reference in new issue
Block a user