mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Generalized ItemSoilBlock to ItemTypedBlock
This commit is contained in:
1 parent
235ead5011
commit
7e6b68a504
5 files changed
+40
-25
No files matched your search
@@ -64,7 +64,7 @@ import forestry.core.items.ItemAssemblyKit;
|
||||
import forestry.core.items.ItemCrated;
|
||||
import forestry.core.items.ItemForestry;
|
||||
import forestry.core.items.ItemForestryBlock;
|
||||
import forestry.core.items.ItemSoilBlock;
|
||||
import forestry.core.items.ItemTypedBlock;
|
||||
import forestry.core.items.ItemForestryPickaxe;
|
||||
import forestry.core.items.ItemForestryShovel;
|
||||
import forestry.core.items.ItemFruit;
|
||||
@@ -112,7 +112,7 @@ public class PluginCore extends NativePlugin implements IFuelHandler {
|
||||
definitionEscritoire = ((BlockBase) ForestryBlock.core.block()).addDefinition(new MachineDefinition(Defaults.DEFINITION_ESCRITOIRE_META, "forestry.Escritoire", TileEscritoire.class,
|
||||
Proxies.render.getRenderEscritoire()));
|
||||
|
||||
ForestryBlock.soil.registerBlock(new BlockSoil(), ItemSoilBlock.class, "soil");
|
||||
ForestryBlock.soil.registerBlock(new BlockSoil(), ItemTypedBlock.class, "soil");
|
||||
ForestryBlock.soil.block().setHarvestLevel("shovel", 0, 0);
|
||||
ForestryBlock.soil.block().setHarvestLevel("shovel", 0, 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user