mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 07:35:47 +00:00
Fix up Hive Generation
This commit is contained in:
1 parent
6d00d35ae5
commit
fed1994838
16 files changed
+146
-131
No files matched your search
@@ -10,6 +10,7 @@
|
||||
******************************************************************************/
|
||||
package forestry.apiculture.blocks;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
@@ -70,6 +71,10 @@ public class BlockBeeHives extends BlockContainer implements IItemModelRegister,
|
||||
return getDefaultState().withProperty(HIVE_TYPES, HiveType.VALUES[meta]);
|
||||
}
|
||||
|
||||
public IBlockState getStateForType(@Nonnull HiveType type) {
|
||||
return getDefaultState().withProperty(HIVE_TYPES, type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World world, int meta) {
|
||||
return new TileHive();
|
||||
|
||||
Reference in new issue
Block a user