forked from GregTechCEu/GregTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
807092a
commit 664bd32
Showing
5 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/java/gregtech/common/metatileentities/electric/MetaTileEntitySimpleOreWasher.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package gregtech.common.metatileentities.electric; | ||
|
||
import gregtech.api.metatileentity.MetaTileEntity; | ||
import gregtech.api.metatileentity.MetaTileEntityHolder; | ||
import gregtech.api.metatileentity.SimpleMachineMetaTileEntity; | ||
import gregtech.api.recipes.RecipeMap; | ||
import gregtech.api.render.OrientedOverlayRenderer; | ||
import net.minecraft.util.ResourceLocation; | ||
import net.minecraftforge.items.IItemHandlerModifiable; | ||
import net.minecraftforge.items.ItemStackHandler; | ||
public class MetaTileEntitySimpleOreWasher extends SimpleMachineMetaTileEntity { | ||
|
||
public MetaTileEntitySimpleOreWasher(ResourceLocation metaTileEntityId, RecipeMap<?> recipeMap, OrientedOverlayRenderer renderer, int tier) { | ||
super(metaTileEntityId, recipeMap, renderer, tier, true); | ||
initializeInventory(); | ||
} | ||
|
||
@Override | ||
protected IItemHandlerModifiable createExportItemHandler() { | ||
return new ItemStackHandler(1); | ||
} | ||
|
||
@Override | ||
public MetaTileEntity createMetaTileEntity(MetaTileEntityHolder holder) { | ||
return new MetaTileEntitySimpleOreWasher(metaTileEntityId, workable.recipeMap, renderer, getTier()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters