Play sound on placing blocks.

This commit is contained in:
James McKay committed 2015-10-08 09:30:58 +11:00
1 parent 138d08252c
commit 9b720ff498
8 files changed
+32 -4

No files matched your search

@@ -1,7 +1,10 @@
package portablejim.bbw.shims;
import cpw.mods.fml.common.FMLCommonHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import portablejim.bbw.basics.Point3d;
/**
* Wrap a player to provide basic functions.
@@ -49,4 +52,9 @@ public class BasicPlayerShim implements IPlayerShim {
}
return false;
}
@Override
public Point3d getPlayerPosition() {
return new Point3d((int)player.posX, (int)player.posY, (int)player.posZ);
}
}