mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 23:33:00 +00:00
Minor Cleanup
This commit is contained in:
1 parent
e23a38e1f1
commit
f5a73db68d
3 files changed
+2
-10
No files matched your search
@@ -41,6 +41,7 @@ public class BlockBeehives extends BlockContainer {
|
||||
setLightLevel(0.8f);
|
||||
setHardness(1.0f);
|
||||
setCreativeTab(Tabs.tabApiculture);
|
||||
setHarvestLevel("scoop", 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -237,15 +237,6 @@ public class PluginApiculture extends ForestryPlugin {
|
||||
PluginApiculture.proxy.getRendererAnalyzer(Defaults.TEXTURE_PATH_BLOCKS + "/analyzer_")));
|
||||
|
||||
ForestryBlock.beehives.registerBlock(new BlockBeehives(), ItemForestryBlock.class, "beehives");
|
||||
ForestryBlock.beehives.block().setHarvestLevel("pickaxe", 1, 0);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 1);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 2);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 3);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 4);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 5);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 6);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 7);
|
||||
ForestryBlock.beehives.block().setHarvestLevel("scoop", 0, 8);
|
||||
|
||||
createHives();
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import forestry.plugins.PluginStorage;
|
||||
|
||||
public class CrateRegistry implements ICrateRegistry {
|
||||
|
||||
public void registerCrate(ItemStack stack, String uid, boolean useOreDict) {
|
||||
private void registerCrate(ItemStack stack, String uid, boolean useOreDict) {
|
||||
if (!EnumSet.of(PluginManager.Stage.INIT).contains(PluginManager.getStage()))
|
||||
throw new RuntimeException("Tried to make a crate outside of Init");
|
||||
|
||||
|
||||
Reference in new issue
Block a user