Skip to content

Commit

Permalink
weaken recipe logic type in WorkableTieredMetaTileEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 committed Jan 10, 2024
1 parent 7d9f90c commit 3e7570c
Showing 1 changed file with 8 additions and 3 deletions.
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

0 comments on commit 3e7570c

Please sign in to comment.