-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change config records into classes to run on 1.19
- Loading branch information
Showing
4 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/main/java/io/github/maxencedc/sparsestructures/CustomSpreadFactors.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package io.github.maxencedc.sparsestructures; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import java.util.List; | ||
|
||
public class CustomSpreadFactors { | ||
public String structure; | ||
public double factor; | ||
|
||
public CustomSpreadFactors(String structure, double factor) { | ||
this.structure = structure; | ||
this.factor = factor; | ||
} | ||
|
||
public String structure() { | ||
return this.structure; | ||
} | ||
|
||
public double factor() { | ||
return this.factor; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,6 @@ | |
}, | ||
|
||
"depends": { | ||
"minecraft": "1.20.x" | ||
"minecraft": "1.19.x" | ||
} | ||
} |