OSDN Git Service

適当にコミット
[chemicraft/chemicraft.git] / common / chemicraft / debug / CompoundHandlerTest.java
1 package chemicraft.debug;
2
3 import net.minecraft.src.Entity;
4 import net.minecraft.src.EntityPlayer;
5 import net.minecraft.src.ItemStack;
6 import net.minecraft.src.World;
7 import chemicraft.util.ICompoundHandler;
8
9 public class CompoundHandlerTest implements ICompoundHandler {
10
11         @Override
12         public ItemStack onItemRightClickHandler(ItemStack par1ItemStack, World par2World,
13                         EntityPlayer par3EntityPlayer) {
14                 System.out.println("onRightClick");
15                 return par1ItemStack;
16         }
17
18         @Override
19         public boolean onItemUseHandler(ItemStack par1ItemStack,
20                         EntityPlayer par2EntityPlayer, World par3World, int par4, int par5,
21                         int par6, int par7, float par8, float par9, float par10) {
22                 System.out.println("onItemUse");
23                 return true;
24         }
25
26         @Override
27         public void onUpdateHandler(ItemStack par1ItemStack, World par2World,
28                         Entity par3Entity, int par4, boolean par5) {
29                 System.out.println("onUpdate");
30         }
31
32         @Override
33         public int getIconIndexHandler() {
34                 return 0;
35         }
36
37 }