mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 19:05:31 +00:00
22 lines
712 B
Java
22 lines
712 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.greenhouse;
|
|
|
|
import javax.annotation.Nullable;
|
|
import forestry.api.multiblock.IGreenhouseController;
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface IGreenhouseHelper {
|
|
|
|
/**
|
|
* @return A {@link IGreenhouseController} of a greenhouse, when the pos is a greenhouse
|
|
*/
|
|
@Nullable
|
|
IGreenhouseController getGreenhouseController(World world, BlockPos pos);
|
|
|
|
}
|