コード例 #1
0
 protected void spawnDispenseParticles(IBlockSource source, EnumFacing facingIn) {
   source.getWorld().playAuxSFX(2000, source.getBlockPos(), this.func_82488_a(facingIn));
 }
コード例 #2
0
 protected void playDispenseSound(IBlockSource source) {
   source.getWorld().playAuxSFX(1000, source.getBlockPos(), 0);
 }