mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Add charcoal pile
This commit is contained in:
1 parent
939d35661b
commit
c1e414b8f7
64 files changed
+2599
-83
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/*******************************************************************************
|
||||
* Copyright 2011-2014 SirSengir
|
||||
*
|
||||
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
||||
******************************************************************************/
|
||||
package forestry.api.multiblock;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
import forestry.api.arboriculture.EnumPileType;
|
||||
import forestry.api.arboriculture.ITree;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
/**
|
||||
* Needs to be implemented by TileEntities that want to be part of an charcoal pile.
|
||||
* The sub-interfaces can be implemented to alter the operation of the charcoal pile.
|
||||
* They are automatically detected and handled by the charcoal pile when they join its structure.
|
||||
*/
|
||||
public interface ICharcoalPileComponent<T extends IMultiblockLogicCharcoalPile> extends IMultiblockComponent {
|
||||
|
||||
@Override
|
||||
T getMultiblockLogic();
|
||||
|
||||
@Nonnull
|
||||
ITree getTree();
|
||||
|
||||
void setTree(@Nonnull ITree tree);
|
||||
|
||||
@Override
|
||||
@Nonnull
|
||||
GameProfile getOwner();
|
||||
|
||||
void setOwner(@Nonnull GameProfile owner);
|
||||
|
||||
EnumPileType getPileType();
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
ITree getNextWoodPile();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user