reformatted all src files (#141)

This commit is contained in:
YoungOnion
2022-09-17 05:08:02 -06:00
committed by GitHub
parent 3328bfcda2
commit 9011273229
1056 changed files with 88127 additions and 110597 deletions
@@ -19,64 +19,58 @@
package appeng.integration.modules.jei;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.item.ItemStack;
import mezz.jei.api.ingredients.IIngredients;
import mezz.jei.api.recipe.wrapper.IShapedCraftingRecipeWrapper;
import net.minecraft.item.ItemStack;
import java.util.ArrayList;
import java.util.List;
/**
* Acts as a fake facade recipe wrapper, created by {@link FacadeRegistryPlugin}.
*/
class FacadeRecipeWrapper implements IShapedCraftingRecipeWrapper
{
class FacadeRecipeWrapper implements IShapedCraftingRecipeWrapper {
private final ItemStack textureItem;
private final ItemStack textureItem;
private final ItemStack cableAnchor;
private final ItemStack cableAnchor;
private final ItemStack facade;
private final ItemStack facade;
FacadeRecipeWrapper( ItemStack textureItem, ItemStack cableAnchor, ItemStack facade )
{
this.textureItem = textureItem;
this.cableAnchor = cableAnchor;
this.facade = facade;
}
FacadeRecipeWrapper(ItemStack textureItem, ItemStack cableAnchor, ItemStack facade) {
this.textureItem = textureItem;
this.cableAnchor = cableAnchor;
this.facade = facade;
}
@Override
public int getWidth()
{
return 3;
}
@Override
public int getWidth() {
return 3;
}
@Override
public int getHeight()
{
return 3;
}
@Override
public int getHeight() {
return 3;
}
@Override
public void getIngredients( IIngredients ingredients )
{
List<ItemStack> input = new ArrayList<>( 9 );
@Override
public void getIngredients(IIngredients ingredients) {
List<ItemStack> input = new ArrayList<>(9);
input.add( ItemStack.EMPTY );
input.add( this.cableAnchor );
input.add( ItemStack.EMPTY );
input.add(ItemStack.EMPTY);
input.add(this.cableAnchor);
input.add(ItemStack.EMPTY);
input.add( this.cableAnchor );
input.add( this.textureItem );
input.add( this.cableAnchor );
input.add(this.cableAnchor);
input.add(this.textureItem);
input.add(this.cableAnchor);
input.add( ItemStack.EMPTY );
input.add( this.cableAnchor );
input.add( ItemStack.EMPTY );
input.add(ItemStack.EMPTY);
input.add(this.cableAnchor);
input.add(ItemStack.EMPTY);
ingredients.setInputs( ItemStack.class, input );
ingredients.setOutput( ItemStack.class, this.facade );
}
ingredients.setInputs(ItemStack.class, input);
ingredients.setOutput(ItemStack.class, this.facade);
}
}