Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ******************************************************************************
- * Copyright 2011-2015 CovertJaguar
- *
- * This work (the API) is licensed under the "MIT" License, see LICENSE.md for details.
- * ***************************************************************************
- */
- package mods.railcraft.api.carts.bore;
- import net.minecraft.util.ResourceLocation;
- /**
- * This interface it used to define an item that can
- * be used as a bore head for the Tunnel Bore.
- * @author CovertJaguar <http://www.railcraft.info>
- */
- public interface IBoreHead
- {
- /**
- * Return the texture file used for this bore head.
- * @return The texture file path
- */
- ResourceLocation getBoreTexture();
- /**
- * Return the harvest level of this bore head.
- *
- * This value is compared against the tool classes
- * "pickaxe", "axe", and "shovel" to determine if the
- * block is harvestable by the bore head.
- *
- * @return The harvest level
- */
- int getHarvestLevel();
- /**
- * Return the dig speed modifier of this bore head.
- *
- * This value controls how much faster or slow this bore head
- * mines each layer compared to the default time.
- *
- * @return The dig speed modifier
- */
- float getDigModifier();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement