Custom Model Loader
This commit is contained in:
@@ -91,7 +91,7 @@ public class TileGrinder extends AEBaseInvTile implements ICrankable
|
||||
continue;
|
||||
}
|
||||
|
||||
final IGrinderRecipe r = AEApi.instance().registries().grinder().getRecipeForInput( item );
|
||||
final IGrinderRecipe r = Api.INSTANCE.registries().grinder().getRecipeForInput( item );
|
||||
if( r != null )
|
||||
{
|
||||
if( item.getCount() >= r.getInput().getCount() )
|
||||
@@ -127,7 +127,7 @@ public class TileGrinder extends AEBaseInvTile implements ICrankable
|
||||
this.points++;
|
||||
|
||||
final ItemStack processing = this.inv.getStackInSlot( 6 );
|
||||
final IGrinderRecipe r = AEApi.instance().registries().grinder().getRecipeForInput( processing );
|
||||
final IGrinderRecipe r = Api.INSTANCE.registries().grinder().getRecipeForInput( processing );
|
||||
if( r != null )
|
||||
{
|
||||
if( r.getRequiredTurns() > this.points )
|
||||
@@ -198,7 +198,7 @@ public class TileGrinder extends AEBaseInvTile implements ICrankable
|
||||
@Override
|
||||
public boolean allowInsert( IItemHandler inv, int slotIndex, ItemStack stack )
|
||||
{
|
||||
if( AEApi.instance().registries().grinder().getRecipeForInput( stack ) == null )
|
||||
if( Api.INSTANCE.registries().grinder().getRecipeForInput( stack ) == null )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user