mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Fix camouflage and add agriculture tab
This commit is contained in:
1 parent
86a93b29c0
commit
3eaf9d4d30
15 files changed
+158
-30
No files matched your search
@@ -41,6 +41,8 @@ import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
import forestry.api.core.IModelManager;
|
||||
import forestry.api.core.Tabs;
|
||||
import forestry.core.CreativeTabForestry;
|
||||
import forestry.core.blocks.BlockStructure;
|
||||
import forestry.core.blocks.propertys.UnlistedBlockAccess;
|
||||
import forestry.core.blocks.propertys.UnlistedBlockPos;
|
||||
@@ -63,6 +65,7 @@ public class BlockFarm extends BlockStructure {
|
||||
setHardness(1.0f);
|
||||
setHarvestLevel("pickaxe", 0);
|
||||
setDefaultState(blockState.getBaseState().withProperty(META, EnumFarmBlockType.PLAIN));
|
||||
setCreativeTab(Tabs.tabAgriculture);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user