mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-19 03:59:08 +00:00
Fix compilation against CT's API
This commit is contained in:
1 parent
478c09ad76
commit
ada9e706f3
3 files changed
+13
-2
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
dependencies {
|
||||
api("com.github.GTNewHorizons:CraftTweaker:3.2.10:dev")
|
||||
api("com.github.GTNewHorizons:CraftTweaker:3.2.11:dev")
|
||||
|
||||
compileOnly("com.azanor:Thaumcraft:1.7.10-4.2.3.5:deobf") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-72-GTNH:dev") { transitive = false }
|
||||
|
||||
@@ -107,6 +107,12 @@ public class MCGasStack implements IGasStack {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matchesExact(IItemStack item) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(ILiquidStack arg0) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
@@ -99,7 +99,7 @@ public class MCAspectStack implements IAspectStack {
|
||||
if (internal != null) {
|
||||
AspectList itemAspectList = new AspectList(internal);
|
||||
|
||||
if (itemAspectList.aspects.keySet().contains(stack.aspect.getTag())) {
|
||||
if (itemAspectList.aspects.containsKey(stack.aspect)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -126,6 +126,11 @@ public class MCAspectStack implements IAspectStack {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matchesExact(IItemStack item) {
|
||||
return matches(item);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIngredient only(IItemCondition arg0) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
Reference in new issue
Block a user