mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +00:00
29 lines
876 B
Java
29 lines
876 B
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under the
|
|
* Botania License: http://botaniamod.net/license.php
|
|
*
|
|
* File Created @ [Jan 22, 2014, 5:12:53 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.api.wand;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
/**
|
|
* Any block that implements this can be used with the Wand for the Forest for some purpose.
|
|
*/
|
|
public interface IWandable {
|
|
|
|
/**
|
|
* Called when the block is used by a wand. Note that the player parameter can be null
|
|
* if this function is called from a dispenser.
|
|
*/
|
|
public boolean onUsedByWand(EntityPlayer player, ItemStack stack, World world, int x, int y, int z, int side);
|
|
|
|
}
|