Revert using internal API

This commit is contained in:
yueh
2020-06-07 17:21:20 +02:00
parent 7715f605eb
commit 23b6e195ac
148 changed files with 472 additions and 498 deletions
@@ -34,7 +34,7 @@ public class GrinderHandler implements IAERecipeFactory
turns = JSONUtils.getInt( json, "turns" );
}
final IGrinderRegistry reg = Api.INSTANCE.registries().grinder();
final IGrinderRegistry reg = AEApi.instance().registries().grinder();
for( int i = 0; i < input.length; ++i )
{
final IGrinderRecipeBuilder builder = reg.builder();
@@ -44,7 +44,7 @@ public class InscriberHandler implements IAERecipeFactory
bottom = CraftingHelper.getIngredient( JSONUtils.getJsonObject( ingredients, "bottom" ), ctx ).getMatchingStacks();
}
final IInscriberRegistry reg = Api.INSTANCE.registries().inscriber();
final IInscriberRegistry reg = AEApi.instance().registries().inscriber();
for( int i = 0; i < top.length; ++i )
{
for( int j = 0; j < bottom.length; ++j )