mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
More porting to 1.9
This commit is contained in:
1 parent
73c2608848
commit
a0cdaf1e1a
143 files changed
+991
-835
No files matched your search
@@ -5,6 +5,7 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.apiculture.hives;
|
||||
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@@ -25,6 +26,6 @@ public interface IHiveGen {
|
||||
/**
|
||||
* returns true if the hive can safely replace the block at this location.
|
||||
*/
|
||||
boolean canReplace(World world, BlockPos pos);
|
||||
boolean canReplace(IBlockState blockState, World world, BlockPos pos);
|
||||
|
||||
}
|
||||
@@ -64,7 +64,7 @@ public enum EnumTemperature {
|
||||
if (BiomeHelper.isBiomeHellish(biomeGenBase)) {
|
||||
return HELLISH;
|
||||
}
|
||||
return getFromValue(biomeGenBase.temperature);
|
||||
return getFromValue(biomeGenBase.getTemperature());
|
||||
}
|
||||
|
||||
public static EnumTemperature getFromBiome(BiomeGenBase biomeGenBase, World world, BlockPos pos) {
|
||||
|
||||
Reference in new issue
Block a user