Refactor and import cleanup (Excluding network PR changed files)
This commit is contained in:
parent
a36a0e6f4a
commit
c4ef977f16
165 changed files with 1572 additions and 1625 deletions
|
@ -34,14 +34,13 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* @author drcrazy
|
||||
*
|
||||
*/
|
||||
public class ScrapboxRecipeCrafter extends RecipeCrafter {
|
||||
|
||||
/**
|
||||
* @param parent Tile having this crafter
|
||||
* @param inventory Inventory from parent blockEntity
|
||||
* @param inputSlots Slot IDs for input
|
||||
* @param parent Tile having this crafter
|
||||
* @param inventory Inventory from parent blockEntity
|
||||
* @param inputSlots Slot IDs for input
|
||||
* @param outputSlots Slot IDs for output
|
||||
*/
|
||||
public ScrapboxRecipeCrafter(BlockEntity parent, RebornInventory<?> inventory, int[] inputSlots, int[] outputSlots) {
|
||||
|
@ -49,9 +48,9 @@ public class ScrapboxRecipeCrafter extends RecipeCrafter {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void updateCurrentRecipe(){
|
||||
public void updateCurrentRecipe() {
|
||||
List<RebornRecipe> scrapboxRecipeList = ModRecipes.SCRAPBOX.getRecipes(blockEntity.getWorld());
|
||||
if(scrapboxRecipeList.isEmpty()){
|
||||
if (scrapboxRecipeList.isEmpty()) {
|
||||
setCurrentRecipe(null);
|
||||
return;
|
||||
}
|
||||
|
@ -62,4 +61,4 @@ public class ScrapboxRecipeCrafter extends RecipeCrafter {
|
|||
this.currentTickTime = 0;
|
||||
setIsActive();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue