Custom Model Loader

This commit is contained in:
Sebastian Hartte
2020-06-01 04:02:37 +02:00
parent 077ff17078
commit 5cdeff01be
202 changed files with 942 additions and 1017 deletions
@@ -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;
}