Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weaken recipe logic type in WorkableTieredMetaTileEntity #2342

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
package gregtech.api.metatileentity;

import gregtech.api.GTValues;
import gregtech.api.capability.impl.*;
import gregtech.api.capability.impl.AbstractRecipeLogic;
import gregtech.api.capability.impl.EnergyContainerHandler;
import gregtech.api.capability.impl.FluidTankList;
import gregtech.api.capability.impl.NotifiableFluidTank;
import gregtech.api.capability.impl.NotifiableItemStackHandler;
import gregtech.api.capability.impl.RecipeLogicEnergy;
import gregtech.api.items.itemhandlers.GTItemStackHandler;
import gregtech.api.metatileentity.multiblock.ICleanroomProvider;
import gregtech.api.metatileentity.multiblock.ICleanroomReceiver;
Expand Down Expand Up @@ -34,7 +39,7 @@
public abstract class WorkableTieredMetaTileEntity extends TieredMetaTileEntity
implements IDataInfoProvider, ICleanroomReceiver {

protected final RecipeLogicEnergy workable;
protected final AbstractRecipeLogic workable;
protected final RecipeMap<?> recipeMap;
protected final ICubeRenderer renderer;

Expand Down Expand Up @@ -63,7 +68,7 @@ public WorkableTieredMetaTileEntity(ResourceLocation metaTileEntityId, RecipeMap
reinitializeEnergyContainer();
}

protected RecipeLogicEnergy createWorkable(RecipeMap<?> recipeMap) {
protected AbstractRecipeLogic createWorkable(RecipeMap<?> recipeMap) {
return new RecipeLogicEnergy(this, recipeMap, () -> energyContainer);
}

Expand Down
Loading