More progress on converting patches from 1.2.5

This commit is contained in:
LexManos committed 2012-08-06 03:35:57 -07:00
1 parent 545b905f11
commit d286154997
47 files changed
+3170 -197

No files matched your search

@@ -0,0 +1,43 @@
package net.minecraftforge.event.entity;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.ItemStack;
import net.minecraft.src.World;
public class UseHoeEvent extends PlayerEvent
{
public final ItemStack current;
public final World world;
public final int x;
public final int y;
public final int z;
private boolean handeled = false;
public UseHoeEvent(EntityPlayer player, ItemStack current, World world, int x, int y, int z)
{
super(player);
this.current = current;
this.world = world;
this.x = x;
this.y = y;
this.z = z;
}
@Override
public boolean isCancelable()
{
return true;
}
public boolean isHandeled()
{
return handeled;
}
public void setHandeled()
{
handeled = true;
}
}