mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 00:07:37 +00:00
Start NEI handling. Unfinished.
This commit is contained in:
1 parent
6ea5b7c453
commit
0e47131155
3 files changed
+15
-4
No files matched your search
@@ -2514,19 +2514,19 @@ public enum Features {
|
||||
|
||||
private String requiredMod;
|
||||
|
||||
Features() {
|
||||
private Features() {
|
||||
this(null, null);
|
||||
}
|
||||
|
||||
Features(Features parent) {
|
||||
private Features(Features parent) {
|
||||
this(null, parent);
|
||||
}
|
||||
|
||||
Features(String requiredMod) {
|
||||
private Features(String requiredMod) {
|
||||
this(requiredMod, null);
|
||||
}
|
||||
|
||||
Features(String requriedMod, Features parent) {
|
||||
private Features(String requriedMod, Features parent) {
|
||||
this.requiredMod = requriedMod;
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.cricketcraft.chisel.carving;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
|
||||
@@ -179,4 +180,8 @@ public class Carving {
|
||||
|
||||
return blockGroup.sound;
|
||||
}
|
||||
|
||||
public Collection<CarvingGroup> getGroups() {
|
||||
return carvingGroupsByVariation.values();
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,8 @@ package com.cricketcraft.chisel.carving;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
||||
public class CarvingGroup {
|
||||
|
||||
public CarvingGroup(String n) {
|
||||
@@ -15,4 +17,8 @@ public class CarvingGroup {
|
||||
String oreName;
|
||||
|
||||
List<CarvingVariation> variations = new ArrayList<CarvingVariation>();
|
||||
|
||||
public List<CarvingVariation> getVariations() {
|
||||
return ImmutableList.copyOf(variations);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user