mirror of
https://github.com/GTNewHorizons/BetterBuildersWands.git
synced 2026-11-25 14:34:43 +00:00
Play sound on placing blocks.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user